Warhammer Oracle
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.
README
<!-- mcp-name: io.github.gregario/warhammer-oracle --> <p align="center"> <h1 align="center">Warhammer Oracle</h1> <p align="center">Warhammer 40K rules, unit stats, and game flow. An MCP server.</p> </p>
<p align="center"> <a href="https://www.npmjs.com/package/warhammer-oracle"><img src="https://img.shields.io/npm/v/warhammer-oracle.svg" alt="npm version"></a> <a href="https://www.npmjs.com/package/warhammer-oracle"><img src="https://img.shields.io/npm/dm/warhammer-oracle.svg" alt="npm downloads"></a> <a href="https://github.com/gregario/warhammer-oracle/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT Licence"></a> <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg" alt="Node.js 18+"></a> <a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-compatible-purple.svg" alt="MCP Compatible"></a> </p>
Ask your AI assistant about datasheets, keywords, phase sequences, and more. Covers Warhammer 40,000, Combat Patrol, and Kill Team.
Installation
npx warhammer-oracle
Or install globally:
npm install -g warhammer-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-oracle
Tools
lookup_unit
Look up a unit datasheet by name. Returns stat profiles, ranged and melee weapons, abilities, and keywords.
"Look up the Intercessor Squad datasheet"
"What are the stats for a Leman Russ Battle Tank?"
Parameters: unit_name (required), faction (optional), game_mode (optional: 40k, 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, or keywords. 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"
Parameters: query (required), faction (optional), max_points (optional), game_mode (optional)
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_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)
Data
All data is embedded at build time — no network calls at runtime.
| Category | Count | Source |
|---|---|---|
| 40K unit datasheets | 2,642 | BSData/wh40k-10e |
| Kill Team operatives | 506 | BSData/wh40k-killteam |
| Shared rules | 33 (40K) + 22 (KT) | BSData |
| Curated keywords | 25 | Hand-written, plain English |
| Game mode sequences | 3 | Hand-curated (40K, Combat Patrol, Kill Team) |
Game modes
- Warhammer 40,000 (40k) — full-scale battles
- Combat Patrol (combat_patrol) — smaller, starter-friendly format
- Kill Team (kill_team) — squad-level skirmish game
Development
npm install
npm run build
npm test
To refresh unit data from BSData:
npm run fetch-data
npm run build
License
MIT (for the MCP server code).
Unit data sourced from the BSData community project. Game rules and army rules are the intellectual property of Games Workshop. This tool provides reference data for personal use during gameplay.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。