New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

dnd5e-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnd5e-mcp

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

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

dnd5e mcp

MCP server for the D&D 5e SRD (dnd5eapi.co), monsters, spells, classes, equipment.

Tools

ToolWhat it does
get_monsterFull stat block by index slug (adult-red-dragon, goblin…)
get_spellSpell by index slug (fireball, wish…), full text + components
list_monstersA, Z monster list to find valid slugs
get_classClass overview, hit die, skill choices, starting equipment

Usage

npm run build && node dist/index.js

Example:

get_monster { index: "adult-red-dragon" }
get_spell { index: "fireball" }

Keyless (community hosted SRD endpoint). Stat blocks include AC/HP/speed, all six ability scores, actions, and special abilities.

Quick start

npm install
npm run build
node dist/index.js

The server uses stdio, so it can be connected to Claude Desktop, Cursor, VS Code, MCP Inspector, or another compatible MCP client.

Tools at a glance

  • get_monster: Get a D&D 5e monster by index slug (e.g.
  • get_spell: Get a D&D 5e spell by index slug (e.g.
  • list_monsters: List D&D 5e SRD monsters by name (a-z), useful for finding valid slugs.
  • get_class: Get a D&D 5e class overview - hit die, proficiencies, starting equipment.

Limits and privacy

This project is intentionally narrow. It should be treated as a practical helper, not a complete certification or security audit. Check the implementation and the returned data before using it with sensitive material. No credentials are required unless the project explicitly says otherwise.

Try it

After building, connect the server through your MCP client. The repository root also contains smoke-test.mjs for projects covered by the shared harness. A typical tool call starts with get_monster.

Keywords

mcp

FAQs

Package last updated on 21 Sep 2026

Related posts