Skip to main content
Glama

dnd-oracle

D&D 5e SRD MCP server — monster search, spell lookup, encounter building, and character tools powered by ground-truth SRD data.

What It Does

Search, browse, and analyze D&D 5e System Reference Document content — no internet required, no hallucination risk. All 20 tools operate on ground-truth SRD data bundled as a SQLite database.

1,207 entities: 334 monsters, 319 spells, 237 equipment items, 239 magic items, 12 classes, 9 races, 15 conditions, 33 rule sections, 9 rollable tables.

Related MCP server: Warhammer Oracle

Tools

Reference (6)

Tool

Description

search_monsters

Full-text search with CR, type, size, alignment filters. Returns full stat blocks.

search_spells

Search by level, school, class, concentration, ritual, damage type, save type.

search_equipment

Search weapons, armor, gear, and magic items. Filter by properties, rarity.

browse_classes

View class features at any level. Multiclass feature combination calculator.

browse_races

View race traits, ability bonuses, subraces.

search_rules

Search rules text and condition references.

Analytical (14)

Tool

Description

build_encounter

Calculate XP budgets by difficulty. Suggests monster combinations within budget.

suggest_encounter

Tactically interesting encounters with monster role inference and synergy notes.

plan_spells

Available spells for class/level. Slot tracking, concentration flags, ritual highlights, component costs.

compare_monsters

Side-by-side stat comparison of 2-3 monsters.

check_resistances

Consolidated resistance/immunity matrix for a group of monsters. Party damage gap warnings.

analyze_loadout

Total weight, cost, AC breakdown, encumbrance status from equipment list.

magic_item_attunement

Attunement slot analysis with over-limit warnings and restriction checks.

build_character

Full character sheet from race + class + level + ability scores. HP, saves, DC, features.

analyze_party

Party composition audit: saving throw coverage, role balance, darkvision, languages.

simulate_damage

Average DPR calculator with hit probability, crit math, AC sensitivity, turns-to-kill.

rest_calculator

What recovers on short vs. long rest for any class at any level.

travel_calculator

Overland travel time with pace, terrain, mounts, and forced march rules.

plan_adventuring_day

Daily XP budget, encounter sequencing, resource pacing, rest placement.

roll_table

Roll on SRD random tables: madness, poisons, diseases, Acolyte personality traits.

Install

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "dnd-oracle": {
      "command": "npx",
      "args": ["-y", "dnd-oracle"]
    }
  }
}

Claude Code

claude mcp add dnd-oracle -- npx -y dnd-oracle

Data Source

This product includes material from the System Reference Document 5.1, Copyright 2016, Wizards of the Coast, Inc. Licensed under CC-BY-4.0.

Data sourced from 5e-bits/5e-database.

License

MIT

Available Tools

20 tools
analyze_loadoutB

Analyze a D&D 5e equipment loadout. Calculates total weight, total cost, AC from armor/shield, and encumbrance status based on Strength score.

Inputs: items (required), strength_score.

analyze_partyA

Analyze a D&D 5e party composition. Identifies saving throw coverage, role balance, skill gaps, and darkvision/language spread.

Inputs: members (required).

browse_classesA

Browse D&D 5e SRD classes. List all classes, view a specific class's features at any level, or calculate multiclass feature combinations.

Inputs: level, class_name, multiclass.

browse_racesA

Browse D&D 5e SRD races. List all races or view a specific race's traits, ability bonuses, and subraces.

Inputs: race_name.

build_characterB

Build a D&D 5e character summary. Given race, class, level, and ability scores, computes HP, proficiency bonus, saving throws, attack bonuses, spell save DC, and lists features gained.

Inputs: level (required), race_name (required), class_name (required), ability_scores (required).

build_encounterA

Build balanced D&D 5e encounters. Given party size and level, calculates XP budgets for each difficulty and suggests monster combinations.

Inputs: party_size (required), party_level (required), difficulty, monster_cr_max, +1 more.

check_resistancesA

Check resistances, immunities, and vulnerabilities for a group of monsters. Produces a consolidated defense matrix and warns about party damage type coverage gaps.

Inputs: monster_names (required), party_damage_types.

compare_monstersA

Compare 2-3 D&D 5e monsters side by side. Shows AC, HP, ability scores, speeds, resistances, immunities, actions, and special abilities.

Inputs: monster_names (required).

magic_item_attunementB

Analyze attunement requirements for a set of magic items. Reports which items require attunement, any class/alignment restrictions, and warns if the total exceeds the 3-slot limit.

Inputs: item_names (required), current_attunement.

plan_adventuring_dayA

Plan a full D&D 5e adventuring day. Calculates the daily XP budget, suggests encounter difficulty distribution, and recommends short rest placement.

Inputs: party_size (required), party_level (required), difficulty_mix, num_encounters.

plan_spellsA

Plan spells for a D&D 5e character. Shows available spells for a class at a given level, tracks spell slots, flags concentration conflicts, highlights rituals, and sums material component costs.

Inputs: level (required), class_name (required), prepared_spells, remaining_slots.

rest_calculatorB

Show what recovers on a short rest vs. long rest for a D&D 5e character. Lists all class-specific resources and their recovery cadence.

Inputs: level (required), class_name (required).

roll_tableA

Roll on or browse D&D 5e SRD random tables (madness, poisons, diseases, personality traits). Use table_name "list" to see all available tables, or provide a specific table name with an optional roll result.

Inputs: table_name (required), roll.

search_equipmentA

Search D&D 5e SRD equipment, weapons, armor, and magic items. Filter by category, cost, weight, weapon properties, armor type, or rarity.

Inputs: limit, query, offset, rarity, +6 more.

search_monstersA

Search D&D 5e SRD monsters by name, CR, type, size, or alignment. Returns full stat blocks.

Inputs: cr, size, type, limit, +5 more.

search_rulesA

Search D&D 5e SRD rules and conditions. Look up specific conditions or search rules text.

Inputs: query, condition_name.

search_spellsB

Search D&D 5e SRD spells by name, level, school, class, concentration, ritual, components, damage type, or save type.

Inputs: level, limit, query, offset, +7 more.

simulate_damageA

Calculate average damage per round (DPR) for an attack routine. Computes hit probability, critical hit chance, average damage, and turns to kill.

Inputs: target_ac (required), damage_dice (required), attack_bonus (required), advantage, +4 more.

suggest_encounterA

Suggest tactically interesting D&D 5e encounter compositions. Goes beyond XP math to recommend monster synergies, role combinations, and tactical notes.

Inputs: party_size (required), party_level (required), theme, difficulty, +1 more.

travel_calculatorA

Calculate D&D 5e overland travel time, pace effects, and forced march consequences. Uses SRD travel rules for pace, terrain, and exhaustion.

Inputs: distance_miles (required), pace, mounted, terrain, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 20 tools

    Disambiguation5/5

    Each tool targets a distinct D&D 5e subsystem (character building, encounters, spells, monsters, equipment, rules, etc.) with clear, non-overlapping purposes. Even closely related tools like 'build_encounter' and 'suggest_encounter' are differentiated by focus on XP math vs. tactical synergies.

    Naming Consistency4/5

    Most tools follow a consistent verb_noun snake_case pattern (e.g., build_character, search_spells), but a few use noun-first or compound noun names (magic_item_attunement, rest_calculator), representing a minor deviation from the dominant pattern.

    Tool Count4/5

    With 20 tools, the server covers a broad range of D&D 5e mechanics comprehensively. The count is slightly above the typical 3-15 range but each tool earns its place, covering everything from character building to encounter planning and rule lookups.

    Completeness4/5

    The tool surface covers core D&D activities: character creation, spell/equipment/monster search, encounter building, adventuring day planning, and rule lookups. Minor gaps like treasure generation or condition search are partially addressed (search_rules includes conditions), but the set is very thorough for a reference oracle.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A comprehensive MCP server for managing AI-assisted Dungeons & Dragons campaigns, featuring tools for character sheets, combat tracking, and world-building. It enables players and DMs to interact with 5e game mechanics and query personal PDF rulebooks using RAG capabilities.
      64
      97
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Warhammer Oracle is an MCP server that gives AI assistants accurate Warhammer 40K, Combat Patrol, and Kill Team rules, unit stats, and game flow - so they stop hallucinating rules mid-game. It contains 6 tools (lookup, search, compare units, keywords, phases) covering 2,642 40K units and 506 Kill Team operatives across 48 factions.
      14
      211 npm
      13
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Self-hosted MCP server for D&D 5e rules reference, answering rule questions, providing character summaries, and assisting with character creation, based on imported sources with proper attribution.
      -