What is D&D Knowledge Navigator?
A Python-based server implementing the Model Context Protocol (MCP) that connects Claude and other AI assistants to Dungeons & Dragons 5e game information. It uses FastMCP to create a structured bridge between AI assistants and the D&D 5e API, intended for players, game masters, and D&D enthusiasts.
How to use D&D Knowledge Navigator?
Install with Python 3.10+, clone the repo, install dependencies (e.g., uv pip install -r requirements.txt), and configure Claude Desktop by adding the server to claude_desktop_config.json. Run the server with uv run python dnd_mcp_server.py. Once connected, AI assistants can call tools like search_all_categories, verify_with_api, and check_api_health.
Key features of D&D Knowledge Navigator
- FastMCP Integration for AI tool access
- Complete D&D 5e API integration (spells, monsters, equipment)
- Efficient local caching for faster responses
- Structured data access with well-defined resources
- Source attribution with confidence levels
- Visual formatting with Markdown templates
- Query enhancement with synonym handling and fuzzy matching
Use cases of D&D Knowledge Navigator
- Querying D&D 5e spells, monsters, and equipment during game prep
- Verifying D&D rule statements against official API data
- Searching across all D&D resource categories for specific terms
- Integrating D&D lore and mechanics into AI-assisted storytelling
コメント