dnd-mcp
If you are the rightful owner of dnd-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An MCP server providing access to D&D 5th Edition content via the Open5e REST API.
The D&D 5E MCP Server is a comprehensive tool designed to provide AI assistants and other MCP clients with access to a wide range of Dungeons & Dragons 5th Edition content. By leveraging the Open5e REST API, this server offers detailed information on spells, classes, races, monsters, and equipment. It is built with intelligent caching, rate limiting, and error handling to ensure efficient and reliable data retrieval. The server is implemented in TypeScript, ensuring a robust development experience, and complies fully with the Model Context Protocol specifications. With a suite of over 40 tools, it caters to both players and dungeon masters, offering features like encounter building, character optimization, and unified search across all content types. The server's architecture integrates seamlessly with the Open5e API, providing structured JSON responses and minimizing API requests through intelligent caching.
Features
- Intelligent Caching: 1-hour TTL cache to minimize requests to source website.
- Rate Limiting: 1-second delays between requests to respect server resources.
- Comprehensive Tool Suite: Over 40 tools covering all D&D 5E content types.
- Unified Search: Intelligent search across all content with fuzzy matching.
- DM Tools: Encounter building, difficulty calculation, and party balancing.
Tools
unified_search
Search across all D&D content types with intelligent ranking.
search_spells
Search for spells by name or retrieve all spells.
get_spell_details
Get comprehensive details about a specific spell.
build_encounter
Build balanced encounters for specified party.
generate_character_build
Generate optimized character builds.