get_class
Pack: dnd5e · Endpoint: https://gateway.pipeworx.io/dnd5e/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_class for the schema, then POST the same URL with its arguments for the data.
Get class features, hit dice, proficiencies, and advancement tables. Provide class index (e.g., “barbarian”, “wizard”, “rogue”). Returns feature progression, proficiency gains, and subclass options.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
index | string | yes | Class index name in lowercase (e.g. “wizard”, “fighter”, “cleric”). |
Example call
Arguments
{
"index": "wizard"
}
curl
curl -X POST https://gateway.pipeworx.io/dnd5e/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_class","arguments":{"index":"wizard"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_class', {
"index": "wizard"
});
More examples
{
"index": "barbarian"
}
Response shape
Always returns: index, name, hit_die, saving_throws, proficiencies, subclasses
| Field | Type | Description |
|---|---|---|
index | string | Class index identifier |
name | string | Class name |
hit_die | integer | Hit die value (d6, d8, d10, d12) |
saving_throws | array | Ability scores for saving throws |
proficiencies | array | Proficiencies granted by class |
subclasses | array | Available subclass options |
Full JSON Schema
{
"type": "object",
"properties": {
"index": {
"type": "string",
"description": "Class index identifier"
},
"name": {
"type": "string",
"description": "Class name"
},
"hit_die": {
"type": "integer",
"description": "Hit die value (d6, d8, d10, d12)"
},
"saving_throws": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ability scores for saving throws"
},
"proficiencies": {
"type": "array",
"items": {
"type": "string"
},
"description": "Proficiencies granted by class"
},
"subclasses": {
"type": "array",
"items": {
"type": "string"
},
"description": "Available subclass options"
}
},
"required": [
"index",
"name",
"hit_die",
"saving_throws",
"proficiencies",
"subclasses"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"dnd5e": {
"url": "https://gateway.pipeworx.io/dnd5e/mcp"
}
}
}
See Getting Started for client-specific install steps.