dndbeyond-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., "@dndbeyond-mcpshow my character Vex's current HP"
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.
dndbeyond-mcp
A TypeScript MCP (Model Context Protocol) server for D&D Beyond. Gives Claude (and other MCP-compatible AI assistants) access to your D&D Beyond characters, campaigns, spells, monsters, items, and more.
Disclaimer: This project uses unofficial, reverse-engineered D&D Beyond endpoints. It is not affiliated with, endorsed by, or supported by D&D Beyond or Wizards of the Coast. Endpoints may change without notice.
Features
Character Management — Read character sheets, update HP, spell slots, death saves, currency
Campaign Access — List campaigns, view party rosters
Reference Lookups — Search and retrieve spells, monsters, magic items, feats, conditions, classes
Workflow Prompts — Session prep, encounter building, level-up guidance, spell recommendations
Browser-Based Auth — Playwright-powered login flow (no manual cookie extraction)
Related MCP server: D&D Knowledge Navigator
Installation
You can run this server without installing via npx:
npx dndbeyond-mcpOr install globally:
npm install -g dndbeyond-mcpSetup
Before using the server, authenticate with D&D Beyond:
npx dndbeyond-mcp setupThis opens a browser window where you log into D&D Beyond normally. The server captures your session cookie automatically and saves it to ~/.dndbeyond-mcp/config.json.
By default the login flow launches your installed Chrome. To use a specific browser binary (e.g. on NixOS), set DNDBEYOND_MCP_BROWSER_PATH to its path:
DNDBEYOND_MCP_BROWSER_PATH=/run/current-system/sw/bin/chromium npx dndbeyond-mcp setupClaude Desktop Configuration
Add this to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"dndbeyond": {
"command": "npx",
"args": ["-y", "dndbeyond-mcp"]
}
}
}After adding the configuration, restart Claude Desktop.
Tools
Character
get_character— Full character sheet by ID or nameget_character_choices— Inspect builder choices: resolved values, options, and the ids to change themlist_characters— All your charactersupdate_hp— Apply damage or healingupdate_spell_slots— Use or restore spell slotsupdate_death_saves— Record death savesupdate_currency— Modify gold/silver/copperuse_ability— Decrement limited-use features
Campaign
list_campaigns— Your active campaignsget_campaign_characters— All characters in a campaign
Reference
search_spells/get_spell— Spell lookup with filterssearch_monsters/get_monster— Monster stat blockssearch_items/get_item— Magic item catalogsearch_feats— Feat discoveryget_condition— Condition rulessearch_classes— Class/subclass info
Utility
setup_auth— Re-run login flowcheck_auth— Verify session is valid
Resources
URI | Description |
| Your character list |
| Character sheet |
| Spell list |
| Inventory |
| Your campaigns |
| Party roster |
Prompts
Prompt | Purpose |
| Full character rundown |
| DM session preparation |
| Balanced encounter design |
| Spell recommendations |
| Level-up walkthrough |
| Rules clarification |
Security
This server stores your D&D Beyond session cookie locally at ~/.dndbeyond-mcp/config.json. The cookie provides full access to your D&D Beyond account. Never share this file. The server only communicates with dndbeyond.com domains.
Credits
Originally created by Alex Worland (@AlexWorland) — original repository: https://github.com/AlexWorland/dndbeyond-mcp
This fork, maintained by Dennis Konrad, adds to the character builder:
Entity IDs in
search_races/search_classes/search_backgrounds/search_feats/search_itemsoutput (required by the write tools)New tools:
search_subclasses,set_max_hp,add_custom_proficiency,add_custom_item,equip_itemFixed
update_currency(the deprecated endpoint was replaced with the working one)Corrected
set_ability_scoredocs (base vs. bonus vs. override) and aresolve_choicescaveatTest fixes after the character-list / race-shape refactor
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect any AI to your Foundry VTT world: actors, combat, dice, journals, tokens, compendiums.
Campaign manager for D&D and TTRPG GMs: your AI reads and writes a live typed campaign database.
- mcpOAuthcom.vibgrate
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Query your Twitch streams, events, supporters, raids & rankings from an AI assistant via OAuth.
Related MCP Servers
- FlicenseBqualityDmaintenanceProvides comprehensive access to Dungeons & Dragons 5th Edition content through the Open5e API. It enables users to search for game mechanics, generate character builds, and create balanced encounters via natural language.3722-
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to Dungeons & Dragons 5e game information via the Model Context Protocol, enabling queries for spells, monsters, equipment, and more.48MIT
- AlicenseNot gradedqualityBmaintenanceConnects AI assistants to TTRPG campaign data for managing characters, sessions, locations, factions, items, quests, and more.3MIT
- AlicenseAqualityBmaintenanceEnables D&D Beyond integrations through MCP by reading character sheets, monster statblocks, and campaign rosters, plus streaming live game-log dice rolls with optional write tools for HP and conditions.10MIT