Warhammer Oracle
向您的 AI 助手询问数据表、策略、分遣队、强化、关键词、阶段顺序、伤口计算等信息。涵盖《战锤 40,000》、《战斗巡逻队》和《杀戮小队》。
安装
npx warhammer-oracle或者全局安装:
npm install -g warhammer-oracleRelated MCP server: dnd-oracle
配置
Claude Desktop
添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"warhammer-oracle": {
"command": "npx",
"args": ["-y", "warhammer-oracle"]
}
}
}Claude Code
claude mcp add warhammer-oracle -- npx -y warhammer-oracle工具
lookup_unit
按名称查找单位数据表。返回属性配置、远程和近战武器、能力以及关键词。
"Look up the Intercessor Squad datasheet"
"What are the stats for a Leman Russ Battle Tank?"参数: unit_name(必填),faction(可选),game_mode(可选:40k, combat_patrol, kill_team)
lookup_keyword
查找关键词或规则。返回官方定义、通俗易懂的解释、示例以及适用的游戏模式。
"What does Devastating Wounds do?"
"Explain the Feel No Pain keyword"参数: keyword(必填),game_mode(可选)
lookup_phase
按名称查找游戏阶段。返回分步说明和提示。
"Walk me through the Shooting phase"
"How does the Firefight phase work in Kill Team?"参数: phase_name(必填),game_mode(可选,默认:40k)
search_units
按名称、阵营或关键词搜索单位。返回一个紧凑的列表(最多 10 个结果),包含阵营、点数和关键词。
"Find all Necron units under 100 points"
"Search for units with the Fly keyword"参数: query(必填),faction(可选),max_points(可选),game_mode(可选)
compare_units
并排比较 2-4 个单位。在单次回复中显示每个单位的完整数据表。
"Compare Intercessors vs Tactical Marines"
"Compare the Leman Russ, Predator, and Hammerhead side by side"参数: units(必填,2-4 个单位名称的数组)
game_flow
显示游戏模式的完整回合顺序,或突出显示您当前所处的阶段以及接下来要做什么。
"Show me the 40K turn sequence"
"I'm in the Shooting phase — what's next?"
"Show the Kill Team turn sequence"参数: current_phase(可选),game_mode(可选,默认:40k)
lookup_stratagem
按名称查找《战锤 40,000》策略。返回 CP 消耗、阶段时机、目标和效果。
"What does Fire Overwatch do?"
"Show me the Command Re-roll stratagem"参数: name(必填),faction(可选),phase(可选),detachment(可选)
search_stratagems
按名称、阵营、阶段或分遣队搜索策略。返回一个紧凑的列表(最多 10 个)。
"What stratagems can I use in the Fight phase?"
"Show me Gladius Task Force stratagems"参数: query(必填),faction(可选),phase(可选),detachment(可选)
lookup_detachment
按名称查找分遣队。返回分遣队能力、可用强化和相关策略。
"Show me the Gladius Task Force detachment"
"What does the Warhost detachment do for Aeldari?"参数: name(必填),faction(可选)
lookup_enhancement
按名称查找角色强化。返回点数消耗、分遣队和效果。
"What does Adept of the Codex do?"
"Show me Aeldari enhancements"参数: name(必填),faction(可选),detachment(可选)
lookup_ploy
按名称查找《杀戮小队》计谋。返回类型(战略/战术)、CP 消耗、时机和效果。
"What does the Bolster ploy do in Kill Team?"
"Show me Legionaries ploys"参数: name(必填),faction(可选),type(可选:strategic, tactical)
wound_calculator
计算攻击配置对目标的预期伤害输出。处理重投、武器关键词(致命命中、毁灭性伤口、持续命中、洪流)、无视护甲保存和无视痛苦。
"Calculate damage: 10 attacks, BS3+, S5 AP-1 D2 vs T4 Sv3+"
"How much damage does a lascannon do to a Leman Russ?"参数: attacks, hit_skill, strength, toughness, armour_save, damage(均为必填);armour_penetration, invulnerable_save, feel_no_pain, reroll_hits, reroll_wounds, weapon_keywords, wounds_per_model, game_mode(均为可选)
数据
所有数据均在构建时嵌入——运行时无网络调用。
类别 | 数量 | 来源 |
40K 单位数据表 | 2,642 | |
杀戮小队特工 | 506 | |
分遣队 | 991 | BSData (自动提取) |
强化 | 3,908 | BSData (自动提取) |
策略 | 17 | 手工整理 (核心 + 示例) |
杀戮小队计谋 | 14 | 手工整理 (通用 + 热门阵营) |
共享规则 | 33 (40K) + 22 (KT) | BSData |
整理的关键词 | 25 | 手写,通俗英语 |
游戏模式顺序 | 3 | 手工整理 (40K, 战斗巡逻队, 杀戮小队) |
游戏模式
战锤 40,000 (40k) — 全规模战斗
战斗巡逻队 (combat_patrol) — 更小、适合新手的格式
杀戮小队 (kill_team) — 小队级遭遇战游戏
开发
npm install
npm run build
npm test从 BSData 刷新单位数据:
npm run fetch-data
npm run build许可证
MIT(针对 MCP 服务器代码)。
单位数据来源于 BSData 社区项目。游戏规则和军队规则是 Games Workshop 的知识产权。此工具仅提供游戏过程中的个人参考数据。
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