ti4-mcp
Click on "Install 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., "@ti4-mcpget the faction guide for the Yssaril Tribes"
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.
ti4-mcp
MCP server for Twilight Imperium 4 — provides game data, rules lookup, faction strategy guides, and setup assistance through the Model Context Protocol.
Supported Content
Base game (17 factions)
Prophecy of Kings (7 factions)
Codex I–IV (errata, updated components, Council Keleres)
Thunder's Edge (5 factions, breakthroughs, galactic events)
Related MCP server: OSRS MCP Server
Installation
npm install
npm run buildRequires Node.js 18+.
Usage
Claude Code
From GitHub:
claude mcp add ti4 -- npx --yes github:surewht/ti4-mcpFrom a local clone:
claude mcp add ti4 node /path/to/ti4-mcp/dist/index.jsClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"ti4": {
"command": "npx",
"args": ["--yes", "github:surewht/ti4-mcp"]
}
}
}Inspector
npm run inspectTools (27)
Game Context
Tool | Description |
| Set game session context (expansions, player count, factions, slices) — subsequent tools auto-apply it |
| View current game context |
| Clear game context |
Factions
Tool | Description |
| List factions for active expansions |
| Detailed faction info (abilities, starting tech, units, leaders, promissory note) |
| Strategy guide — strengths, weaknesses, tips, tech paths |
| List all available faction guides |
Technologies
Tool | Description |
| Look up a technology by ID |
| Get recommended tech path for a faction |
Objectives
Tool | Description |
| List objectives, filter by type (public/secret) and stage (1/2) |
| Look up a specific objective |
Agendas
Tool | Description |
| List agenda cards, filter by type (law/directive) or election type |
| Look up a specific agenda |
Action Cards
Tool | Description |
| List action cards, filter by play timing keyword |
| Look up a specific action card |
Relics & Exploration
Tool | Description |
| List all relics |
| Look up a specific relic |
| List exploration cards, filter by trait |
Planets & Systems
Tool | Description |
| List planets, filter by trait or tech specialty |
| Look up a specific planet |
| Look up a system tile by number (planets, wormholes, anomalies) |
Strategy & Setup
Tool | Description |
| Strategic analysis for a faction given the game state |
| Generate a complete game setup (draft pool, strategy card order, etc.) |
| Suggest a balanced map layout for the player count |
| Analyze map slices for balance (resources, influence, tech specialties) |
Rules & Search
Tool | Description |
| Look up rules by keyword |
| Full-text search across all game data categories |
Game Context
Set your game setup once, and all tools auto-apply it:
"Set game context: 6 players, base + PoK + Codex 3"The AI calls set_game_context with your expansions and player count. After that, tools like list_factions, list_objectives, suggest_map, etc. automatically use those expansions without you specifying them each time.
You can still override expansions per-call if needed.
Data
All game data lives in data/ as JSON files:
File | Content |
| 30 factions with abilities, starting tech, units, leaders |
| All technologies across expansions |
| Public stage I/II and secret objectives |
| Law and directive agenda cards |
| Action cards with play timing |
| Strategy cards with primary/secondary abilities |
| System tiles with planets, wormholes, anomalies |
| Individual planet data |
| Unit stats (cost, combat, move, capacity, abilities) |
| Faction and generic promissory notes |
| Relics (PoK) |
| Exploration cards (PoK) |
| Agents, commanders, heroes |
| Breakthroughs (Thunder's Edge) |
| Galactic events (Thunder's Edge) |
| Rules reference with subsections |
| Tile quality tiers for map balancing |
| 30 faction strategy guides from competitive community sources |
Expansions
Tools accept an expansions parameter to control which content is included:
base— Base gamepok— Prophecy of Kingscodex-1throughcodex-4— Codex volumes (includes omega replacements)thunders-edge— Thunder's Edge expansion
When expansions include codex volumes, updated components automatically replace their older base/PoK versions.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/surewht/ti4-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server