Skip to main content
Glama

Спрашивайте своего ИИ-ассистента о листах данных (datasheets), стратагемах, детачментах, улучшениях, ключевых словах, последовательности фаз, расчете ран и многом другом. Охватывает Warhammer 40,000, Combat Patrol и Kill Team.

warhammer-oracle MCP server

Установка

npx warhammer-oracle

Или установите глобально:

npm install -g warhammer-oracle

Related 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

Поиск стратагемы Warhammer 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

Поиск уловки (ploy) Kill Team по названию. Возвращает тип (стратегическая/тактическая), стоимость в CP, время применения и эффект.

"What does the Bolster ploy do in Kill Team?"
"Show me Legionaries ploys"

Параметры: name (обязательно), faction (опционально), type (опционально: strategic, tactical)

wound_calculator

Расчет ожидаемого урона для профиля атаки против цели. Учитывает перебросы, ключевые слова оружия (Lethal Hits, Devastating Wounds, Sustained Hits, Torrent), инвульнерабельные спасброски и 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?"

Параметры: 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

BSData/wh40k-10e

Оперативники Kill Team

506

BSData/wh40k-killteam

Детачменты

991

BSData (автоматически извлечено)

Улучшения

3,908

BSData (автоматически извлечено)

Стратагемы

17

Курируемые вручную (основные + примеры)

Уловки Kill Team

14

Курируемые вручную (универсальные + популярные фракции)

Общие правила

33 (40K) + 22 (KT)

BSData

Курируемые ключевые слова

25

Написаны вручную, простым языком

Последовательности игровых режимов

3

Курируемые вручную (40K, Combat Patrol, Kill Team)

Игровые режимы

  • Warhammer 40,000 (40k) — полномасштабные сражения

  • Combat Patrol (combat_patrol) — меньший, дружелюбный к новичкам формат

  • Kill Team (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 tools
compare_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

    A3.9/5.0

    Scored across 14 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityActive
    ResponsivenessLimited data

    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.
      4
      97
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Comprehensive 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.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server + Foundry VTT module for WFRP4e that lets AI clients interact with a Foundry world via tools for managing characters, journals, rolltables, and more.
      1
      MIT