1. Conduid
  2. Gaming
  3. X4mcp
MCP server · Gaming

X4mcp

MCP server for X4: Foundations — streaming savegame parser + game-data tools so an LLM can plan your empire

Unclaimed gaming
44Fair

Scored 23 hours ago · breakdown

About X4mcp

X4mcp is an MCP server published by pequalsnp in the Gaming category: mCP server for X4: Foundations — streaming savegame parser + game-data tools so an LLM can plan your empire. Conduid read 22 tools from its source: analyze_plan, estimate_ship_cost, find_energy_sites, find_mining_sectors, find_supply_gaps, find_trade_offers and 16 more. No package is published for it, so it installs from a source checkout.

The repository has 1 stars and 0 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include gaming.

Install

From source
git clone https://github.com/pequalsnp/x4mcp

Tools (22)

analyze_planAudit one of those plans for ratios: per-ware production vs internal consumption, which intermediates run a **deficit** (and the fractional module count that would close it), mined inputs to supply, sellable surplus, workforce jobs vs housing, storage. The inverse of `plan_production`/`plan_complex` — those design a station, this checks one you already drew. `sunlight`/`sector` scales the solar side, which can flip an energy deficit into a surplus.
estimate_ship_costWhat a ship costs **fitted**, not the bare hull. Reads the hull's real slot list (L/M weapons, turrets, shields, engines) from the install and prices each — equipment is usually most of the bill, so a hull quote understates a warship by ~3x. Returns a min/avg/max band (component prices float with the economy), a total at **live** prices from discovered stations, and an explicit `markup` for wharf pricing the game data does not expose.
find_energy_sitesRank sectors for a solar (Energy Cells) factory by sunlight + local demand + safety
find_mining_sectorsRank sectors by abundance of a minable solid (field weight) or gas (presence)
find_supply_gapsAggregate NPC buy-demand across discovered space → what's profitable to produce/sell
find_trade_offersSearch discovered NPC stations' live trade offers by ware; rank by best buy (cheapest) or sell (highest) price. Prices normalized to credits.
get_moduleStation-module hardware DB by macro/name/produced-ware/class: production (produced ware + workforce employed), habitation (workforce housed), storage (m³ + cargo type). Complements `get_recipe` (module build costs are the `module_*` wares).
get_player_overviewCredits, in-game hours, version/DLCs, fleet & station counts, role breakdown, faction relations. **Start here.**
get_recipeA ware's production recipe (inputs/cycle/output) and price band, from the game DB
get_stationFull detail for one station by code (e.g. `SRC-496`) or id
list_blueprintsBlueprints the player owns + which wares are currently producible (you can only build modules you own)
list_known_sectorsGalaxy map: sectors with controlling faction, contested/owned status (filter by owner)
list_plansThe player's OWN construction plans — every layout saved in the build menu, plus any Exported single-plan files.
list_savesAll savegames, newest first, with path/size/mtime
list_shipsPlayer ships filtered by role/size/sector; each with current order, captain, location, account
list_stationsStations with what they produce, workforce, storage fill, subordinate count
plan_complexThe multi-target form of `plan_production`: design ONE station supplying MANY wares. `preset: wharf\
plan_mining_supplySite an industrial complex: for a TARGET sector, find the reachable mining sectors per resource (abundance against gate distance) and whether to refine at the complex or beside the field
plan_productionDesign a factory: output/hr, input rates, margin, exact vertical module ratios **and a whole-module buildable plan** (ceil'd so nothing starves, with per-ware surplus + the bottleneck module) + raw needs. Pass `build_sector` (or `sunlight`) to scale the Energy-Cells module count by 1/sunlight for that site.
plan_workforceSize a station's food + medical supply: give a habitat race + workforce (or production modules to sum it from) → authoritative per-hour food/medical consumption, food/medical module counts, and habitats needed. Teladi is the tightest self-sufficient chain.
refresh_saveForce a re-parse after you save the game again
sector_distanceGate-jump distance between two sectors (logistics)

Security checks

6 checks have not been run yet.

Questions

About X4mcp

How do I install X4mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is X4mcp safe to use with an AI agent?

Its trust score is 44 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is X4mcp still maintained?

Yes — the last commit was 11 hours ago. The repository has 1 stars and 0 forks.

What tools does X4mcp provide?

Conduid read 22 tools from the source: analyze_plan, estimate_ship_cost, find_energy_sites, find_mining_sectors, find_supply_gaps, find_trade_offers, get_module, get_player_overview and 14 more.