dnd-beyond-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dnd-beyond-mcp List my D&D Beyond characters"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dnd-beyond-mcp
A Model Context Protocol (MCP) server that lets Claude read your D&D Beyond characters and campaigns. It uses Playwright to authenticate with Wizards ID and access your account data.
Prerequisites
Node.js 18+
A D&D Beyond account
Related MCP server: Cloudflare Playwright MCP
Installation
git clone <repo>
cd dnd-beyond-mcp
npm install
npx playwright install chromium
npm run buildClaude Desktop setup
Add the following to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"dnd-beyond": {
"command": "node",
"args": ["/absolute/path/to/dnd-beyond-mcp/dist/index.js"]
}
}
}Restart Claude Desktop after editing the config.
First-time login
The first time you use the server, ask Claude to run ddb_login. A Chromium browser window will open — sign in with your Wizards ID account. Once complete, the session is saved to ~/.config/dnd-beyond-mcp/session.json and reused automatically in all future sessions.
Available tools
Tool | Description |
| Open browser and log in via Wizards ID |
| Check if the current session is active |
| List all characters on your account |
| Get a full character sheet (by ID or name) |
| Get campaign details and roster (by campaign ID) |
Example prompts
"List my D&D Beyond characters"
"Show me the character sheet for Aldric"
"What spells does my wizard have prepared?"
"Who's in campaign 12345678?"
Session persistence
The Playwright storage state (cookies + localStorage) is saved to ~/.config/dnd-beyond-mcp/session.json after a successful login. Subsequent sessions load this file automatically — no re-login needed unless the session expires.
Running in Cowork / remotely
This server runs locally and requires a real browser for the login flow. It is not directly compatible with Claude.ai's Cowork remote execution environment without additional infrastructure (an HTTP transport + ngrok tunnel, or a deployed server with pre-baked session cookies).
dnd-beyond-mcp
Available Tools
5 toolsddb_get_campaignA
Get campaign details and member roster for a D&D Beyond campaign.
Inputs: campaignId (required).
ddb_get_characterB
Get the full character sheet for a D&D Beyond character by ID or name.
Inputs: characterId, name.
ddb_list_charactersA
List all characters in your D&D Beyond account (name, ID, level, race, class).
Inputs: no named parameters.
ddb_loginA
Open a browser and log into D&D Beyond via Wizards ID. Run once — the session is saved to disk and reused automatically on all future calls.
Inputs: no named parameters.
ddb_statusA
Check whether the D&D Beyond session is active. Run ddb_login first if this reports not logged in.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clear, distinct purpose: login, status check, list characters, get character details, and get campaign details. There is no overlap or ambiguity between them.
All tools follow the consistent prefix 'ddb_' and verb_noun pattern (e.g., ddb_get_campaign, ddb_list_characters). Even login and status fit the pattern without underscore, maintaining uniformity.
With 5 tools covering authentication, status, listing, and detailed retrieval, the count is well-scoped for a focused D&D Beyond integration. It is neither too sparse nor overwhelming.
The tool set provides a solid read-only surface: login, session check, character listing, character details, and campaign details. Missing write operations (e.g., create/update character) but covers the core retrieval needs for the domain.
Maintenance
Related MCP Connectors
Playwright browser automation — navigate, click, fill forms, extract, screenshot — 17 agent tools.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables automation of browser tasks using Playwright by interacting via Claude Desktop for executing user-defined prompts and operations.1227 npm12MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to control a browser through Playwright automation tools, allowing them to perform web tasks like navigation, typing, clicking, and taking screenshots. Deployed on Cloudflare Workers and compatible with various AI platforms including Claude Desktop and VS Code.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables browser automation and web interaction control through Playwright, allowing Claude Code to navigate, click, fill forms, take screenshots, and manage sessions.68 npm9MIT
- AlicenseBqualityDmaintenanceEnables browser automation using Playwright, including navigation, screenshots, clicking, form filling, and JavaScript execution.8Apache 2.0