# Dnd5e MCP

> Dnd5e MCP is an open-source MCP server. Use this MCP server to the D&D 5e SRD, monsters, spells, classes, and equipment. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mrfentmen/dnd5e-mcp
- **MCP Registry name:** io.github.mrfentmen/dnd5e-mcp
- **Listing updated:** 2026-11-13

## About

Use this MCP server to the D&D 5e SRD, monsters, spells, classes, and equipment. Tools include...

## Install

### Claude Code (Terminal)

```sh
claude mcp add dnd5e-mcp -- npx -y dnd5e-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "dnd5e-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dnd5e-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "dnd5e-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dnd5e-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "dnd5e-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dnd5e-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "dnd5e-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dnd5e-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "dnd5e-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dnd5e-mcp"
      ]
    }
  }
}
```

## FAQ

### Is Dnd5e MCP free?

Yes. Dnd5e MCP is open source, so you can use and self-host it for free.

### How do I add Dnd5e MCP to Claude Code?

Run this command in your terminal: claude mcp add dnd5e-mcp -- npx -y dnd5e-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/dnd5e-mcp
