EU5 Advisor
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., "@EU5 AdvisorWhere is my economy leaking the most?"
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.
EU5 Advisor
Ask an AI about your Europa Universalis V save game.
"Where is my economy leaking?" "42% of your available tax is not being collected. 14 of your 19 locations have no road to the capital, and those are exactly the ones with the lowest control. Hoorn alone is losing 6.6."
Every number comes out of your own save file. Every building name, good and law comes out of your own game installation. Nothing about EU5 is hardcoded in this project, so the answers keep matching whatever patch you are playing.
Status
Early alpha. Reading and advising only: it never modifies your saves.
Related MCP server: ck3-strategy-advisor
How it works
your save.eu5
│
├─ rakaly decodes the packed binary save
├─ pyeu5 resolves names through your game's own files
│
▼
snapshot.sqlite a few MB, built once per save
│
▼
MCP server ──────────────► ClaudeDecoding a mid-game save costs a couple of minutes and around 2.4 GB of memory, which is not something you want sitting next to a running game. So that work happens once in a throwaway process, and everything after it is answered from a small database in milliseconds.
What it will not do
It will not guess. If a value is not in your save, the tools return
nullwith a reason instead of a plausible-looking number.It will not pretend to read a save it cannot decode. When the game patches ahead of rakaly, you get a clear message saying so.
It will not encode game rules. Thresholds used to rank problems are labelled as judgement calls; the measurements underneath them are read from the save.
It will not explain a mechanic from memory. Rules are looked up, not recalled, and every rule comes back with the source it came from.
Where the rules come from
Numbers are only half of an answer. Asked what raises control, the honest reply needs three different kinds of fact, and they live in three different places:
Source | What only it knows | Example |
Your save | your actual numbers | Hoorn sits at 21% control and loses 6.6 tax a month |
Your install | what your patch contains | a paved road grants +5 proximity; Paradox's own |
The EU5 wiki | engine logic that is in no readable file | +0.75% max control per proximity point |
That third row is the reason an assistant starts inventing things: the conversion from
proximity to control appears nowhere on your disk. So explain_mechanic fetches it,
cites it with a revision number, and then checks it by regressing control against
proximity across your own locations and comparing the measured slope to the wiki's
figure. On the reference save those two land within 10% of each other. When they do not,
the answer says so instead of picking one.
Wiki content is fetched at run time under CC BY-SA 3.0, cached in your own cache
directory and never bundled. Turn it off with EU5_WIKI=off or the installer checkbox;
rules that then cannot be verified are reported as unverified rather than guessed.
Install
Claude Desktop extension bundle (recommended)
Download eu5-advisor.mcpb from the releases page, then:
Open Claude Desktop and go to Settings → Extensions
Drag the
.mcpbfile onto that window, or use the install-from-file button thereLeave the settings fields empty, it finds your game and saves on its own
Double-clicking the file does nothing. Windows has no file association for
.mcpb, so it has to be dragged onto the Extensions window. That is a Claude Desktop limitation, not something this project can register around.
There is nothing else to install: no Python, no manual dependencies. It fetches what it needs on first use. The settings dialog has fields for the game folder, the save folder and whether to consult the wiki, but you only need them if autodetection fails or you want to work offline.
Build it yourself from a checkout with:
npx @anthropic-ai/mcpb pack . dist/eu5-advisor.mcpbFrom a checkout
For development, register the working tree instead so git pull is the whole update:
uv run eu5-advisor install # register with Claude Desktop and verify it works
uv run eu5-advisor status # show what is registered and where
uv run eu5-advisor uninstall # remove it againinstall resolves dependencies, detects your game and saves, starts the server and
completes a real MCP handshake before changing anything, then registers itself in
claude_desktop_config.json. It backs the file up first, touches only its own entry,
and leaves your other MCP servers and preferences alone. If verification fails, your
configuration is not modified at all.
Restart Claude Desktop afterwards.
Claude Code
claude mcp add eu5-advisor -- uv run --directory /path/to/eu5-advisor server.pyDevelopment
uv sync
uv run eu5-advisor doctor # shows what it detected
uv run eu5-advisor index # indexes your newest save
uv run --extra dev pytestdoctor finds your installation via Steam (including libraries on other drives), GOG,
or the EU5_GAME_PATH environment variable.
To build the installer:
uv run python bundle/make_icon.py
npx @anthropic-ai/mcpb validate manifest.json
npx @anthropic-ai/mcpb pack . dist/eu5-advisor.mcpbWhich install route to use
|
| |
Needs a checkout | no | yes |
Update procedure | drop in the new bundle |
|
Runs from | Claude Desktop's own copy | your working tree |
Verifies before installing | no | yes |
The bundle is what to hand to a player. Use the checkout route while developing: the
bundle runs from a copy under Claude Extensions/, so edits to this repo have no
effect until it is repacked and reinstalled.
Tools
Tool | Answers |
| Which saves exist, newest first |
| Pick one to work with (defaults to newest) |
| Treasury, income, stability, laws, estates, research |
| Income, expenses, trade, loans, uncollected tax |
| Every location with control, development and its tax gap |
| Ranked list of what is going wrong, with the numbers behind it |
| Which building where, what it returns, what it costs |
| The full assessment: standing, bottleneck, options, ordered plan |
| How a rule works, from all four sources, and whether they agree |
| The EU5 wiki, with revision and licence attached |
| Profit and upkeep per building type |
| Which goods are oversupplied or scarce |
| Rivals, relations, neighbours |
| What changed between two saves |
Licence
AGPL-3.0-or-later, inherited from pyeu5.
Credits
rakaly and pdx-tools by Nick Babcock, decodes the save format.
pyeu5 by Adrian Chaves, save model and game-file parsing.
This project downloads rakaly's official release binary at runtime. It does not bundle or reproduce rakaly's binary token table, which is deliberately not public.
Author
Built by Kevin Luijken. I build AI integrations and MCP servers for products and teams; if you want Claude or another assistant connected to your own data, get in touch via GitHub.
This server cannot be deployed
Maintenance
Related MCP Connectors
Ask your AI about your own accounts, debts, budgets and goals. OAuth sign-in, read-only by default.
Ask your Rent Manager portfolio anything: live, read-only financials, rent roll, leasing.
Ask questions in plain language, get answers from your business database. No SQL required.
Ask your AI about your Airbnb and VRBO listings, bookings, guest messages and reviews. Read-only.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceMCP server for inspecting and interacting with Europa Universalis V game installs and mods, including file browsing, entity queries, diplomacy and religion reports, and mod update workflows.MIT
- AlicenseAqualityCmaintenanceEnables Claude to read Crusader Kings III save files and retrieve strategic game information such as realm overview, military, succession, diplomacy, vassals, factions, and expansion options.113MIT
- AlicenseBqualityAmaintenanceEnables AI assistants to interact with a Pro Wrestling Sim save, allowing natural language queries about roster, contracts, shows, and more, with read-only analysis and validated booking actions.72Apache 2.0
- AlicenseAqualityCmaintenanceAn MCP server for Paradox Clausewitz/Jomini modding (EU5, EU4, Victoria 3, HOI4, CK3, Stellaris) that grounds AI assistants in the game's generated documentation and vanilla script tree, enabling accurate script lookup, parsing, and validation without running the game.133MIT