D&D 5e
liveGamesEntertainmentBrowse spells, monsters, and classes from the D&D 5th Edition SRD API
4tools
0msauth
free tier50 calls/day
Tools
get_spellrequired: indexGet full details for a D&D 5e spell by its index name (e.g. "fireball", "magic-missile", "cure-wounds").
Parameters
NameTypeDescription
indexreqstringSpell index name in kebab-case (e.g. "fireball", "magic-missile").Try it
Response
get_monsterrequired: indexGet full details for a D&D 5e monster by its index name (e.g. "aboleth", "dragon-red-adult", "goblin").
Parameters
NameTypeDescription
indexreqstringMonster index name in kebab-case (e.g. "goblin", "dragon-red-adult").Try it
Response
get_classrequired: indexGet details for a D&D 5e character class by its index name (e.g. "barbarian", "wizard", "rogue").
Parameters
NameTypeDescription
indexreqstringClass index name in lowercase (e.g. "wizard", "fighter", "cleric").Try it
Response
list_spellsList all available D&D 5e spells with their index names.
No parameters required.
Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/dnd5e/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Call a tool
bash
curl -X POST https://gateway.pipeworx.io/dnd5e/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_spell","arguments":{"index": "fireball"}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("get_spell", {"index":"example"});ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("browse spells, monsters, and classes from the d&d 5th edition srd api");