drio
Open app

D&D Knowledge Navigator

Source

MCP Server implementation of the DnD 5e API using resources, tools, and prompts.

Catalog onlyCatalog onlySTDIO

Overview

D&D Knowledge Navigator is a Python-based server that implements the Model Context Protocol (MCP) to connect AI assistants like Claude with Dungeons & Dragons 5e game information.

To use the D&D Knowledge Navigator, clone the repository, install the required dependencies, configure the Claude Desktop client, and run the server. You can then interact with the server through an AI assistant.

  • FastMCP integration for querying D&D game data - Complete access to D&D 5e API resources including spells, monsters, and equipment - Efficient caching for improved performance - Structured data access for consistent AI interactions - Comprehensive source attribution system - Visual formatting with Markdown templates - Intelligent query enhancement for better search results
  1. Querying D&D game data through AI assistants
  2. Verifying D&D statements against official API data
  3. Enhancing user experience with structured and formatted responses

Add to your AI client

Use these steps to connect D&D Knowledge Navigator in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "dnd-mcp-procload": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dnd-mcp-procload"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "dnd-mcp-procload": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dnd-mcp-procload"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "dnd-mcp-procload": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dnd-mcp-procload"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "dnd-mcp-procload": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dnd-mcp-procload"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "dnd-mcp-procload": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dnd-mcp-procload"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "dnd-mcp-procload": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dnd-mcp-procload"
      ]
    }
  }
}

FAQ

What is the Model Context Protocol (MCP)?

MCP is a framework that allows AI assistants to communicate with external tools and services.

Is D&D Knowledge Navigator free to use?

Yes! The project is open-source and free to use.

What are the prerequisites for running the server?

You need Python 3.10 or higher and the uv package manager.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2875,"uuid":"56932138-acf4-405b-b3da-3486f3a2e44d","name":"dnd-mcp","title":"D&D Knowledge Navigator","description":"MCP Server implementation of the DnD 5e API using resources, tools, and prompts.","avatar_url":"https://avatars.githubusercontent.com/u/49389?v=4","created_at":"2025-03-15T14:00:33.699Z","updated_at":"2025-03-15T14:14:51.667Z","status":"created","author_name":"procload","author_avatar_url":"https://avatars.githubusercontent.com/u/49389?v=4","tags":"dnd-mcp,dnd-knowledge-navigator,api-integration","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/procload/dnd-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-15 07:59:45\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]