MCP Server implementation of the DnD 5e API using resources, tools, and prompts.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"dnd-mcp": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Python-based server implementing the Model Context Protocol (MCP) that connects Claude and other AI assistants to Dungeons & Dragons 5e game information.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in entertainment
The official MCP Server for the Mux API
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Unity MCP Server — 268 tools for AI-assisted game development. Connect Claude, Cursor, or any MCP client to Unity Editor & Unity Hub. Scene management, GameObjects, components, builds, profiling, Shader Graph, Amplify, terrain, physics, NavMesh, animation, MPPM multiplayer & more. Free & open source by AnkleBreaker Studio.
A Model Context Protocol (MCP) server that gives Claude direct control over Strudel.cc for AI-assisted music generation and live coding.
MCP Security Weekly
Get CVE alerts and security updates for Dnd Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Python-based server implementing the Model Context Protocol (MCP) that connects Claude and other AI assistants to Dungeons & Dragons 5e game information.
The Model Context Protocol (MCP) is a framework developed by Anthropic that enables AI assistants like Claude to communicate with external tools and services. This server leverages FastMCP, Anthropic's Python implementation of the protocol, to create a structured bridge between AI assistants and the D&D 5e API.
For a detailed explanation of MCP and how this project implements it, check out our blog article.
Clone this repository:
git clone https://github.com/yourusername/dnd-knowledge-navigator.git
cd dnd-knowledge-navigator
Install dependencies:
uv pip install -r requirements.txt
or
pip install .
Configure Claude Desktop (if using with Claude):
claude_desktop_config.json file in your Claude Desktop configuration directory{
"mcpServers": {
"dnd": {
"command": "/path/to/uv",
"args": [
"--directory",
"/path/to/dnd-knowledge-navigator",
"run",
"dnd_mcp_server.py"
]
}
}
}
Run the server:
uv run python dnd_mcp_server.py
When connected to an AI assistant, the following tools are available:
search_all_categories: Search across all D&D resources for specific termsverify_with_api: Verify D&D statements against official API datacheck_api_health: Check the health and status of the D&D 5e APIThe server includes a comprehensive source attribution system that:
The server includes a template system for formatting D&D content:
To disable templates, set TEMPLATES_ENABLED = False in src/templates/config.py.
The server includes a query enhancement system that improves search results:
To disable query enhancement, set parameters in the enhance_query function to False.
Comprehensive documentation is available in the docs/ directory: