depot-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@depot-mcpGet the datasheet for Space Marine Intercessors"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
depot-mcp
An MCP server that gives LLMs structured access to Warhammer 40,000 (10th edition) game data: faction lists, unit datasheets, stratagems, detachments and enhancements. The data comes from a depot instance, which in turn builds it from Wahapedia's CSV exports.
Models answering rules questions from memory get stats wrong constantly. Giving them lookup tools instead of trivia recall fixes that: the model calls get_datasheet("tyranids", "Barbgaunts") and quotes the actual sheet.
Tools
Tool | What it does |
| Every faction with its slug, datasheet count, detachment count and data version. |
| Find units by name substring, optionally within one faction. Capped at |
| Search detachment enhancements by name or rules text. Capped at |
| Full unit rules: model stats, abilities, wargear profiles, composition, points, keywords, options, leader attachments. |
| Search core and detachment stratagems by name, type, phase, or rules text. Capped at |
| Detachment abilities, enhancements and stratagems. Omit |
All tools are read-only. HTML in the source data is flattened to plain text before it reaches the model.
Related MCP server: Pokemon Showdown MCP Server
Getting the data
The server reads depot's generated JSON (index.json, per-faction faction.json, per-unit datasheet files). Point it at either:
A running depot instance (
DEPOT_DATA_URL): any depot deployment serves its data under/data/. If you self-host depot, use that URL.A local directory (
DEPOT_DATA_DIR): generate the JSON yourself with depot's CLI, no web app needed:
git clone https://github.com/fjlaubscher/depot
cd depot
pnpm install
pnpm --filter @depot/core build && pnpm --filter @depot/cli build
pnpm --filter @depot/cli start # downloads Wahapedia CSVs, writes JSON
# data is now in packages/cli/dist/dataSet exactly one of the two variables. Data is loaded lazily on the first tool call and cached. Restart the server to pick up refreshed data.
Running
With uv:
DEPOT_DATA_DIR=/path/to/depot/packages/cli/dist/data uv run depot-mcpWith Docker:
docker build -t depot-mcp .
docker run -p 11437:11437 \
-e MCP_HOST=0.0.0.0 \
-e DEPOT_DATA_URL=https://your-depot-instance.example \
depot-mcpConfiguration
Variable | Default | Purpose |
| Base URL of a depot instance. Set this or | |
| Path to depot CLI output (the directory containing | |
|
| Bind address. Use |
|
| Listen port. |
|
| Max results returned by |
| empty | Static bearer token. Either this or a valid OIDC JWT grants access. |
| empty | OIDC issuer URL. When set, bearer JWTs are validated against the issuer's JWKS (discovered via its openid-configuration). Enables OAuth clients such as claude.ai custom connectors. |
| empty | Explicit JWKS URL, overriding discovery. |
| empty | When set, the JWT |
| empty | Externally visible |
|
| Python log level. |
Transport is streamable HTTP at /mcp. With both MCP_AUTH_TOKEN and MCP_OIDC_ISSUER empty the server runs unauthenticated. Only do that on a trusted network, and don't expose it to the internet without one of the auth modes configured.
Prometheus metrics
The server exposes a /metrics endpoint in Prometheus exposition format (unauthenticated, for internal scraping). Metrics include request counts and latency per tool, OIDC verification timing, data load duration, and datasheet cache hit/miss rates.
Connecting clients
Claude Code:
claude mcp add depot \
--transport http \
--url http://localhost:11437/mcp \
--header "Authorization: Bearer $MCP_AUTH_TOKEN"Open WebUI: Admin Settings → External Tools → add an MCP connection with URL http://<host>:11437/mcp, auth type Bearer, and your token.
Any other MCP client: standard streamable-http endpoint, JSON-RPC over POST:
curl -X POST http://localhost:11437/mcp \
-H "Authorization: Bearer $MCP_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Development
uv sync
uv run pytest
uv run mypy
uv run ruff check
uv run ruff format --checkTests run against a committed subset of real depot output in tests/data, so they need no network and no running depot.
License
MIT. This is a fan project: not affiliated with, endorsed by, or sponsored by Games Workshop Limited. Game data comes from Wahapedia's public exports via depot; the underlying game rules are Games Workshop's intellectual property.
This server cannot be deployed
Maintenance
Related MCP Connectors
Machine-readable utilities and datasets for AI agents.
Agent-native SEC filing data: statements assembled, filings read and synthesized. No API key.
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Live data gateway for AI — 3,300+ tools across 750+ sources, with citations
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with access to authentic World of Tanks Blitz game data including tank statistics, armor values, map terrain features, equipment, crew skills, and camouflages parsed directly from local game files.1MIT
- AlicenseAqualityCmaintenanceProvides Pokemon Showdown competitive battle data to AI assistants, enabling lookup of Pokemon stats, moves, abilities, items, type matchups, and strategic information through natural language queries.85MIT
- AlicenseAqualityBmaintenanceWarhammer 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.14183 npm10MIT
- AlicenseAqualityBmaintenanceGives LLMs live, accurate access to Team Fortress Wiki content, enabling search, page retrieval, structured weapon stats, patch notes, and other TF2-specific information.10MIT