D&D 5e

live Games

Browse spells, monsters, and classes from the D&D 5th Edition SRD API

4 tools
0ms auth
free tier 50 calls/day

Tools

get_spell required: index

Get full details for a D&D 5e spell by its index name (e.g. "fireball", "magic-missile", "cure-wounds").

Parameters
Name Type Description
index req string Spell index name in kebab-case (e.g. "fireball", "magic-missile").
Try it
get_monster required: index

Get full details for a D&D 5e monster by its index name (e.g. "aboleth", "dragon-red-adult", "goblin").

Parameters
Name Type Description
index req string Monster index name in kebab-case (e.g. "goblin", "dragon-red-adult").
Try it
get_class required: index

Get details for a D&D 5e character class by its index name (e.g. "barbarian", "wizard", "rogue").

Parameters
Name Type Description
index req string Class index name in lowercase (e.g. "wizard", "fighter", "cleric").
Try it
list_spells

List all available D&D 5e spells with their index names.

No parameters required.

Try it

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");

Related packs

Other Pipeworx packs in the same categories (Games):