Warhammer Oracle logo

Warhammer Oracle

by gregario

Reference Warhammer 40,000, Combat Patrol, and Kill Team rules, datasheets, stratagems, and game calculations through MCP.

Install Warhammer Oracle

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gregario-warhammer-oracle": {
      "command": "npx",
      "args": [
        "-y",
        "warhammer-oracle"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

gregario/warhammer-oracle provides MCP tools for querying Warhammer 40,000, Combat Patrol, and Kill Team rules and game data. It covers unit datasheets, keywords, phases, turn flow, stratagems, detachments, enhancements, ploys, Crusade content, wound calculations, and matched-play mission determination. Data is embedded at build time, so lookups run without network calls; reach for it when an AI assistant needs structured rules references or quick tabletop calculations. 40K lookups default to 11th Edition, with 10th Edition available through the game mode parameter.

Use cases

  • Look up a unit datasheet during list building
  • Compare several units before choosing an army option
  • Check a stratagem, keyword, or phase sequence during a game
  • Calculate expected damage against a target profile
  • Determine paired Primary Missions from Force Dispositions

Key features

  • Embedded Warhammer 40,000, Combat Patrol, and Kill Team reference data
  • 10th and 11th Edition 40K lookup support
  • Unit, stratagem, detachment, enhancement, ploy, and Crusade searches
  • Side-by-side comparison for two to four units
  • Wound calculation with re-rolls and defensive rules
  • Turn-flow and phase guidance

Tools14

What Warhammer Oracle lets your agent do. Expand a tool for its parameters.

Self-reported~489 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

19/19 checks healthy over the last 79d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · warhammer-oracle (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars11Stargazers on the source repository.
npm downloads1kPackage downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Tools exposed14Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Warhammer Oracle works

What gregario/warhammer-oracle MCP server does

gregario/warhammer-oracle exposes Warhammer rules and reference data through the Model Context Protocol. It covers Warhammer 40,000 10th and 11th Edition, Combat Patrol, and Kill Team, including unit datasheets, rules keywords, phase procedures, game sequences, stratagems, detachments, enhancements, Kill Team ploys, and Crusade material.

The server also provides game-specific calculations and lookups. Its wound calculator estimates expected attack damage while accounting for hit and wound re-rolls, weapon keywords, invulnerable saves, and Feel No Pain. A separate mission tool maps two Force Dispositions to the players’ Primary Missions for 11th Edition Matched Play.

How it works

All reference data is embedded during the build process, so runtime queries do not require network access. Data is synchronized daily from BSData through GitHub Actions. The 11th Edition 40K dataset is the default for unit, detachment, and enhancement queries; callers can request 10th Edition data with game_mode: "40k_10e".

Game-flow and phase references are hand-curated from the 11th Edition Core Rules. Detachment-specific stratagem data combines faction pack material with the applicable Codex baseline. Search results are deliberately compact, with unit and stratagem searches returning no more than 10 results.

Setup and configuration

The package requires Node.js 18 or later. Run it directly with:

Terminal
npx warhammer-oracle

Alternatively, install it globally:

Terminal
npm install -g warhammer-oracle

For Claude Desktop, add an MCP entry that launches npx -y warhammer-oracle:

config.json
{
  "mcpServers": {
    "warhammer-oracle": {
      "command": "npx",
      "args": ["-y", "warhammer-oracle"]
    }
  }
}

Claude Code can register the same stdio server with:

Terminal
claude mcp add warhammer-oracle -- npx -y warhammer-oracle

Tools and capabilities

  • Find a unit by name and retrieve its profiles, model count, weapons, abilities, and keywords. Faction and datasheet identifiers help select between variants.
  • Search units by name, faction, keywords, ability text, or maximum points, then compare two to four units side by side.
  • Retrieve keyword definitions with plain-language explanations, examples, and applicable game modes.
  • Walk through a 40K, Combat Patrol, or Kill Team phase, or inspect the full turn sequence and the next step from a current phase.
  • Look up and search stratagems by name, faction, phase, or detachment, including CP cost, timing, target, and effect.
  • Inspect detachments and enhancements, including abilities, available enhancements, associated stratagems, points, and effects.
  • Retrieve Kill Team ploys with their type, CP cost, timing, and effect.
  • Calculate expected attack damage and account for common re-rolls, weapon keywords, saves, and Feel No Pain.
  • Determine paired Primary Missions from two 11th Edition Force Dispositions.
  • Search Crusade rules, relics, battle traits, and upgrades.

Limitations and notes

Search endpoints return compact results capped at 10 items. The Primary Mission tool returns mission names rather than complete scoring or objective text. The server’s 40K unit, detachment, and enhancement lookups default to 11th Edition; use the relevant game mode when working with 10th Edition data. Kill Team-specific references use the Kill Team game mode or the dedicated ploy lookup where applicable.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Warhammer Oracle

gregario/warhammer-oracle is an MCP server that connects AI assistants to embedded Warhammer 40,000, Combat Patrol, and Kill Team reference data. Its main tools look up units, keywords, phases, stratagems, detachments, enhancements, ploys, and Crusade content, while also comparing units, calculating wounds, and showing game flow.

Install it with `npx warhammer-oracle` or globally with `npm install -g warhammer-oracle`. The package requires Node.js 18 or later. Claude Desktop can launch it with `npx -y warhammer-oracle`, and Claude Code can add it with `claude mcp add warhammer-oracle -- npx -y warhammer-oracle`.

Yes, gregario/warhammer-oracle works with Claude Desktop through a standard stdio configuration. Add a `warhammer-oracle` entry using `npx` as the command and `-y warhammer-oracle` as its arguments in `claude_desktop_config.json`.

Pass `game_mode: "40k_10e"` to supported 40K lookup tools. Unit, detachment, and enhancement queries default to 11th Edition, while the game mode parameter selects the 10th Edition dataset.

Yes, use `wound_calculator` with the required attack count, hit skill, strength, toughness, armour save, and damage. Optional inputs cover armour penetration, invulnerable saves, Feel No Pain, re-rolls, weapon keywords, and wounds per model.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWarhammer Oracle AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gregario-warhammer-oracle?style=directory)](https://allmcps.com/mcp/gregario-warhammer-oracle)
HTML Embed
<a href="https://allmcps.com/mcp/gregario-warhammer-oracle"><img src="https://allmcps.com/api/badge/gregario-warhammer-oracle?style=directory" alt="Warhammer Oracle on AllMCPs" /></a>