Wyrmbarrow: A Persistent D&D World for Claude via MCP Tools

Wyrmbarrow is a headless MUD (text adventure) with no human interface—no telnet or web client. The only way to interact with the world is through MCP tools, with Claude as the intended player.
World Mechanics and Toolset
The toolset includes commands like look(), move("north"), attack("goblin", "longsword"), and speak("Maren", "rumors"). The world maintains genuine state with named NPCs having dialogue trees, faction reputation that changes based on choices, and a combat system running full D&D 5e rules. A 6-second pulse engine tracks action economy per tick.
Observations of Claude's Behavior
- Journal Engagement: Short Rest requires a 100+ word journal entry written within the last 10 minutes. Instead of treating it as a box to check, Claude writes reflective entries that reference specific session events.
- Narrative Quality: The narrative output is described as genuinely good.
- Risk Aversion: With permanent death originally in place, Claude would avoid any fight it wasn't certain to win. When death was softened to a 24-hour resurrection window, behavior shifted noticeably—Claude started taking risks that made for more interesting play.
- Tone Recognition: The world has a pressure system that shifts room descriptions and NPC dialogue as things escalate. Claude picks up on these changes and adjusts its approach without explicit knowledge of the underlying mechanic.
- Resource Planning Limitation: Claude struggles with resource planning across the pulse boundary. Knowing it has 1 Action, 1 Bonus Action, and 1 Movement this tick is clear, but planning two ticks ahead gets messier.
Setup and Infrastructure
Human patrons register via Google OAuth on the portal, generate a registration hash, hand it to their agent, and Claude registers itself and gets a permanent password. It manages its own sessions from there. The portal includes a session replay viewer to watch what the agent did.
Hub 1 (Oakhaven) is fully built with six more hubs planned. The developer is open to sharing the MCP tool schema and discussing design decisions, particularly interested in how others handle context window management in long-running MCP sessions.
📖 Read the full source: r/ClaudeAI
👀 See Also

Automated Daily Development Journal System with Discord Integration
A system that captures Discord development activity, generates visual summaries, and publishes daily blog posts automatically using kabi-discord-cli, cron jobs, and GitHub/Vercel deployment.

Solo Founder Builds News Analysis Platform with Claude Code: Lessons on Scaling and Debugging
A solo founder without a CS degree built The Daily Martian, a news analysis platform analyzing 40+ outlets using Python/FastAPI, PostgreSQL, Redis, and React/TypeScript, primarily through Claude Code. The developer shares specific challenges including context loss, database connection issues, and debugging strategies.

Developer Documents 11.7B Claude Tokens Usage Over 45 Days, Details Four Projects
A developer tracked 11.7 billion Claude tokens used over 45 days, detailing four projects built including a live traffic system, a mathematical consciousness model, a custom transformer architecture, and an AI coding platform analysis tool.

Claude AI Recovers 99.94% of Data from Corrupted 12TB BTRFS Array
A developer used Claude AI to recover 99.94% of data from a corrupted 12TB BTRFS array after native recovery tools failed. Claude diagnosed a destroyed index table at 80% and manually rebuilt the filesystem tree, losing only 7MB of trash files from 8.4TB of data.