Warhammer Oracle
The Warhammer Oracle MCP server gives your AI assistant access to Warhammer 40K rules, unit stats, and game flow information across three game modes: Warhammer 40,000, Combat Patrol, and Kill Team.
Look up unit datasheets – Retrieve stats, weapons, abilities, and keywords for any of 2,642 Warhammer 40K units or 506 Kill Team operatives, with optional faction and game mode filters.
Look up keywords/rules – Get official definitions, plain English explanations, and examples for game mechanics like "Devastating Wounds" or "Feel No Pain".
Look up game phases – Get step-by-step instructions and tips for specific phases (e.g. Shooting, Command, or Firefight phases) in a given game mode.
Search units – Find units by name, faction, or keyword, with optional points-cost filters (returns up to 10 results).
Compare units – Side-by-side comparison of 2–4 units or operatives, showing full datasheets including stats, weapons, abilities, and keywords.
View game flow – Display the full turn sequence for a game mode, or see what comes next based on your current phase.
All data is embedded locally (no network calls required), covering 2,642 unit datasheets, 506 Kill Team operatives, 55 shared rules, 25 curated keywords, and 3 game mode turn sequences.
Ask your AI assistant about datasheets, stratagems, detachments, enhancements, keywords, phase sequences, wound math, and more. Covers Warhammer 40,000 (10th and 11th Edition), Combat Patrol, and Kill Team.
Editions: 40K unit/detachment/enhancement lookups default to 11th Edition. Pass game_mode: "40k_10e" to any tool for 10th Edition data instead — 10th Edition support isn't going away. Turn sequences/phases, core keywords, and Core Stratagems are hand-curated from the 11th Edition Core Rules. Detachment-specific stratagems are hand-curated per faction, layered the same way the tabletop rules are layered: an 11th Edition Faction Pack detachment overrides the base Codex where the pack details it in full, and the unrevised Codex baseline applies everywhere else.
Installation
npx warhammer-oracleOr install globally:
npm install -g warhammer-oracleRelated MCP server: dnd-oracle
Configuration
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"warhammer-oracle": {
"command": "npx",
"args": ["-y", "warhammer-oracle"]
}
}
}Claude Code
claude mcp add warhammer-oracle -- npx -y warhammer-oracleTools
lookup_unit
Look up a unit datasheet by name. Returns stat profiles, unit size (model count), ranged and melee weapons, abilities, and keywords.
"Look up the Intercessor Squad datasheet"
"What are the stats for a Leman Russ Battle Tank?"When a name has different datasheets, the tool lists the matching factions. If a name and faction still have multiple datasheets, it also lists their IDs; pass the faction and one datasheet_id back to select it.
Parameters: unit_name (required), faction (optional), datasheet_id (optional, exact ID shown for same-faction variants), game_mode (optional: 40k/40k_11e (default, 11th Edition), 40k_10e, combat_patrol, kill_team)
lookup_keyword
Look up a keyword or rule. Returns the official definition, a plain English explanation, examples, and which game modes it applies to.
"What does Devastating Wounds do?"
"Explain the Feel No Pain keyword"Parameters: keyword (required), game_mode (optional)
lookup_phase
Look up a game phase by name. Returns step-by-step instructions and tips.
"Walk me through the Shooting phase"
"How does the Firefight phase work in Kill Team?"Parameters: phase_name (required), game_mode (optional, default: 40k)
search_units
Search units by name, faction, keywords, or ability text. Returns a compact list (max 10 results) with faction, points, and keywords.
"Find all Necron units under 100 points"
"Search for units with the Fly keyword"
"Show me units with Deep Strike"Parameters: query (required), faction (optional), ability (optional), max_points (optional), game_mode (optional: 40k/40k_11e (default), 40k_10e, combat_patrol, kill_team)
compare_units
Compare 2-4 units side by side. Shows full datasheets for each unit in a single response.
"Compare Intercessors vs Tactical Marines"
"Compare the Leman Russ, Predator, and Hammerhead side by side"Parameters: units (required, array of 2-4 unit names), game_mode (optional: 40k/40k_11e (default), 40k_10e, combat_patrol, kill_team)
game_flow
Show the full turn sequence for a game mode, or highlight where you are in the turn and what comes next.
"Show me the 40K turn sequence"
"I'm in the Shooting phase — what's next?"
"Show the Kill Team turn sequence"Parameters: current_phase (optional), game_mode (optional, default: 40k)
lookup_stratagem
Look up a Warhammer 40,000 stratagem by name. Returns CP cost, phase timing, target, and effect.
"What does Fire Overwatch do?"
"Show me the Command Re-roll stratagem"Parameters: name (required), faction (optional), phase (optional), detachment (optional)
search_stratagems
Search stratagems by name, faction, phase, or detachment. Returns a compact list (max 10).
"What stratagems can I use in the Fight phase?"
"Show me Gladius Task Force stratagems"Parameters: query (required), faction (optional), phase (optional), detachment (optional)
lookup_detachment
Look up a detachment by name. Returns the detachment ability, available enhancements, and associated stratagems.
"Show me the Gladius Task Force detachment"
"What does the Warhost detachment do for Aeldari?"Parameters: name (required), faction (optional), game_mode (optional: 40k/40k_11e (default), 40k_10e)
lookup_enhancement
Look up a character enhancement by name. Returns points cost, detachment, and effect.
"What does Adept of the Codex do?"
"Show me Aeldari enhancements"Parameters: name (required), faction (optional), detachment (optional), game_mode (optional: 40k/40k_11e (default), 40k_10e)
lookup_ploy
Look up a Kill Team ploy by name. Returns type (strategic/tactical), CP cost, timing, and effect.
"What does the Bolster ploy do in Kill Team?"
"Show me Legionaries ploys"Parameters: name (required), faction (optional), type (optional: strategic, tactical)
wound_calculator
Calculate expected damage output for an attack profile against a target. Handles re-rolls, weapon keywords (Lethal Hits, Devastating Wounds, Sustained Hits, Torrent), invulnerable saves, and Feel No Pain.
"Calculate damage: 10 attacks, BS3+, S5 AP-1 D2 vs T4 Sv3+"
"How much damage does a lascannon do to a Leman Russ?"Parameters: attacks, hit_skill, strength, toughness, armour_save, damage (all required); armour_penetration, invulnerable_save, feel_no_pain, reroll_hits, reroll_wounds, weapon_keywords, wounds_per_model, game_mode (all optional)
determine_primary_mission
Determine each player's Primary Mission from their Force Dispositions (11th Edition Matched Play). Each player's mission is looked up from their opponent's Force Disposition — in a non-mirror matchup, the two players get different missions. Returns mission names only, not full scoring/objective text.
"I picked Take and Hold, my opponent picked Purge the Foe — what are our missions?"
"What's my Primary Mission if I'm Reconnaissance and they're Priority Assets?"Parameters: your_disposition, opponent_disposition (both required, one of: Take and Hold, Purge the Foe, Reconnaissance, Priority Assets, Disruption)
lookup_crusade
Look up Crusade content (narrative play). Returns Crusade rules, relics, battle traits, and upgrades.
"What Crusade relics can Space Marines take?"
"Show me the Crusade battle traits"Parameters: query (required), faction (optional)
Data
All data is embedded at build time — no network calls at runtime. Data is synced daily from BSData via GitHub Actions.
Category | Count | Source |
40K unit datasheets (11th Edition, default) | 2,695 | |
40K unit datasheets (10th Edition) | 2,666 | |
Kill Team operatives | 519 | |
Detachments (11th / 10th Edition) | 259 / 208 | BSData (auto-extracted) |
Enhancements (11th / 10th Edition) | 895 / 827 | BSData (auto-extracted) |
Stratagems | 1,316 | Hand-curated (Core Rules + detachment-specific per faction) |
Kill Team ploys | 14 | Hand-curated (universal + popular factions) |
Shared rules (11th / 10th Edition) | 35 / 33 | BSData |
Shared rules (Kill Team) | 22 | BSData |
Curated keywords | 25 | Hand-written, plain English, 11th Edition Core Rules |
Game mode sequences | 3 | Hand-curated (40K, Combat Patrol, Kill Team) |
Force Disposition mission matchups | 15 | Hand-curated (5 dispositions, full grid) |
Game modes
Warhammer 40,000 (
40k/40k_11e, default) — full-scale battles, 11th Edition rulesWarhammer 40,000, 10th Edition (
40k_10e) — full-scale battles, 10th Edition rules (permanently supported)Combat Patrol (
combat_patrol) — smaller, starter-friendly formatKill Team (
kill_team) — squad-level skirmish game
10th Edition support isn't going away when a newer edition is added — every game_mode value, once added, keeps working.
Development
npm install
npm run build
npm testTo refresh unit data from BSData:
npm run fetch-data
npm run buildLicense
MIT (for the MCP server code).
Unit data sourced from the BSData community project — wh40k-10e, wh40k-11e, and wh40k-killteam. Game rules and army rules are the intellectual property of Games Workshop. This tool provides reference data for personal use during gameplay.
Available Tools
14 toolscompare_unitsA
Compare 2-4 Warhammer 40K units or Kill Team operatives side by side. Shows stats, weapons, abilities, and keywords for each.
Inputs: units (required), game_mode.
determine_primary_missionA
Determine each player's Primary Mission from their Force Dispositions, per Warhammer 40,000 11th Edition Matched Play. Each player's mission is looked up from their OPPONENT's Force Disposition — in a non-mirror matchup, the two players get different missions.
Inputs: your_disposition (required), opponent_disposition (required).
game_flowA
Show the full turn sequence for a game mode, or highlight the current phase and what comes next.
Inputs: game_mode, current_phase.
lookup_crusadeA
Look up Warhammer 40,000 Crusade content: Battle Traits, Crusade Relics, Battle Scars, and Boon tables. Covers all three tiers BSData tracks — generic/universal (e.g. Battle Scars), faction-specific (e.g. Chaos Space Marines' Codex Battle Traits), and campaign-specific (Tyrannic War, Pariah Nexus, Nachmund Gauntlet, Armageddon). 11th Edition only — this content isn't tracked in BSData for 10th Edition. Not merged into unit datasheets: pass faction to see everything a Crusade army of that faction can pick from (generic + that faction's own), and/or campaign to add a campaign's pool. At least one of faction, campaign, category, or name is required.
Inputs: name, faction, campaign, category.
lookup_detachmentA
Look up a Warhammer 40,000 detachment by name. Returns the detachment ability, available enhancements, associated stratagems, and (11th Edition only) its Detachment Points cost, eligible Force Disposition(s), and any other detachment(s) it's mutually exclusive with (e.g. Chaos Space Marines' Murdertalon Raiders and Nightmare Hunt cannot both be used in the same army).
Inputs: name (required), faction, game_mode.
lookup_enhancementA
Look up a Warhammer 40,000 enhancement by name. Returns the points cost, detachment, and effect.
Inputs: name (required), faction, game_mode, detachment.
lookup_keywordA
Look up a Warhammer 40K keyword or rule. Returns the official definition, a plain English explanation, examples, and applicable game modes.
Inputs: keyword (required), game_mode.
lookup_phaseA
Look up a game phase by name. Returns step-by-step instructions and tips for the phase in the specified game mode.
Inputs: phase_name (required), game_mode.
lookup_ployA
Look up a Kill Team ploy by name. Returns type (strategic/tactical), CP cost, timing, and effect. This is the Kill Team equivalent of stratagems — for Warhammer 40,000 stratagems, use lookup_stratagem instead.
Inputs: name (required), type, faction.
lookup_stratagemA
Look up a Warhammer 40,000 stratagem by name. Returns CP cost, phase, timing, target, and effect. For Kill Team ploys, use lookup_ploy instead.
Inputs: name (required), phase, faction, detachment.
lookup_unitB
Look up a Warhammer 40K unit or Kill Team operative datasheet by name. Returns stats, weapons, abilities, and keywords.
Inputs: unit_name (required), faction, game_mode, datasheet_id.
search_stratagemsA
Search Warhammer 40,000 stratagems by name, faction, phase, or detachment. Returns a compact list (max 10). For Kill Team ploys, use lookup_ploy instead.
Inputs: query (required), phase, faction, detachment.
search_unitsA
Search Warhammer 40K units or Kill Team operatives by name, faction, keywords, or ability text. Returns a compact list of matching results (max 10).
Inputs: query (required), ability, faction, game_mode, +1 more.
wound_calculatorA
Calculate expected wounds and damage for a Warhammer 40,000 attack sequence. Pure math — input an attack profile and target stats, get probabilities and expected results for hits, wounds, saves, and damage.
Inputs: damage (required), attacks (required), strength (required), hit_skill (required), +10 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools target distinct resources (unit, stratagem, ploy, detachment, enhancement, keyword) and the descriptions explicitly disambiguate cross-system lookups (stratagem vs ploy). The main overlap is between lookup_phase and game_flow, both of which concern turn/phase sequencing and could be confused, but descriptions help differentiate them.
A dominant verb_noun pattern is used throughout (lookup_*, search_*, compare_units, determine_primary_mission), which is predictable and readable. Minor deviations exist with noun_verb names (game_flow, wound_calculator), but the convention is largely consistent.
14 tools is well within the ideal 3-15 range for a rules-reference oracle. Each tool maps to a distinct content domain (lookup, search, compare, calculate), so every tool earns its place.
Coverage is broad: keywords, phases, units, stratagems, ploys, detachments, enhancements, crusade content, missions, and a wound calculator. Minor gaps exist—no search for detachments/enhancements (lookup by name only) and no standalone weapon or faction lookup—but agents can work around these.
Maintenance
Related MCP Connectors
Free, read-only MCP server to search and compare AI tools for making video games. No API key.
Meta Ads and Google Ads MCP server: 350+ tools for Claude, ChatGPT, Cursor and Codex.
Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.
AI tool directory MCP server, live since July 2026. Tools, agents, models, companies, services.
Related MCP Servers
- AlicenseBqualityDmaintenanceA 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.4972MIT
- AlicenseAqualityBmaintenanceD\&D 5e SRD MCP server - monster search, spell lookup, encounter building, and character tools powered by ground-truth SRD data2081 npm8MIT
- AlicenseNot gradedqualityDmaintenanceComprehensive Discord MCP server with 66 tools that provides rich message context including emoji reactions, thread indicators, and attachment metadata inline. Enables AI assistants to interact with Discord servers for messaging, moderation, roles, channels, and more.1MIT
- AlicenseNot gradedqualityBmaintenanceMCP server + Foundry VTT module for WFRP4e that lets AI clients interact with a Foundry world via tools for managing characters, journals, rolltables, and more.1MIT