loading…
Search for a command to run...
loading…
Enables Claude to access real-time Civilization VI game data for strategic analysis, diplomatic intelligence, military assessments, and more via MCP.
Enables Claude to access real-time Civilization VI game data for strategic analysis, diplomatic intelligence, military assessments, and more via MCP.
An MCP (Model Context Protocol) server that provides Claude with real-time access to your Civilization VI game data. Get strategic analysis, diplomatic intelligence, military assessments, and more by connecting Claude to your active game.
Important: You must enable game logging in Civilization VI for the MCP server to access game data. See Enable Game Logging below.
Clone the repository:
git clone https://github.com/lowrykun/civ6mcp.git
cd civ6mcp
Install dependencies:
npm install
Build the project:
npm run build
The MCP server reads data from Civilization VI's log files. You need to enable logging:
Find your UserOptions.txt file:
~/Library/Application Support/Sid Meier's Civilization VI/UserOptions.txt~/Documents/My Games/Sid Meier's Civilization VI/UserOptions.txtAdd or modify this line:
GameHistoryLogLevel=1
Start Civilization VI and play at least one turn to generate log data.
Add this to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"civ6": {
"command": "node",
"args": ["/path/to/civ6mcp/dist/index.js"]
}
}
}
Replace /path/to/civ6mcp with the actual path to where you cloned the repository.
For the best experience, create a Claude Project with the strategic advisor instructions:
This gives Claude context about all the available tools and how to provide strategic advice.
| Tool | Description |
|---|---|
get_strategic_overview |
Comprehensive briefing: threats, opportunities, victory race |
get_yield_comparison |
Compare all civs' science, culture, gold, faith, military |
get_victory_progress |
Who's leading each victory type |
get_civ_statistics |
Detailed per-civ stats (specify turn number optional) |
get_score_breakdown |
Score breakdown by category (Empire, Tech, Wonders, etc.) |
get_trend_analysis |
Track changes over time, identify rising/declining powers |
get_diplomatic_status |
Relationships: allied, friendly, denounced, war |
get_diplomatic_modifiers |
Specific reasons for +/- relations |
get_military_intelligence |
Strength, combat desire, threat levels |
get_combat_log |
Recent battles, units, damage |
get_city_production |
What every city is building |
get_city_status |
City growth potential based on food advantage at founding |
get_tech_status |
Technology progress by civilization |
get_world_congress |
Voting records and resolution outcomes |
get_great_people |
Great People claimed and available |
get_great_people_culture |
Track Artists, Writers, Musicians for cultural victory |
list_saves |
Find save files |
read_game_state |
Parse save file for basic game info |
get_strategy_brief |
Formatted briefing from save file |
See TOOLS.md for detailed documentation.
Ask Claude things like:
The MCP server reads from two sources:
.Civ6Save) - Basic game info like leader, turn, map settingsLog files provide much richer data including:
"No game data available"
GameHistoryLogLevel=1 is set in UserOptions.txtData seems outdated
MIT License - see LICENSE for details.
Выполни в терминале:
claude mcp add civ6mcp -- npx Web content fetching and conversion for efficient LLM usage.
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolProvides auto-configuration for setting up an MCP server in Spring Boot applications.
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzНе уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai