Connects AI assistants to the D&D 5e API exposing D&D 5e game information as resources, tools and prompts.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add d-d-5e -- python -m venv .venv~/.codex/config.toml
[mcp_servers.d-d-5e]
command = "python"
args = ["-m", "venv", ".venv"]
# codex mcp add d-d-5e -- python -m venv .venv~/.cursor/mcp.json
{
"mcpServers": {
"d-d-5e": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}.vscode/mcp.json
{
"servers": {
"d-d-5e": {
"type": "stdio",
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"d-d-5e": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"d-d-5e": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"d-d-5e": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}