x4mcp

gallowaysoftware/x4mcp
★ 0 stars Go AI/LLM Updated today
MCP server for X4: Foundations — streaming savegame parser + game-data tools so an LLM can plan your empire
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "x4mcp": {
      "command": "go",
      "args": [
        "run",
        "github.com/gallowaysoftware/x4mcp@latest"
      ]
    }
  }
}

README Excerpt

An [MCP](https://modelcontextprotocol.io) server that lets an LLM assistant (Claude Code, Claude Desktop, Open WebUI, or any MCP client) help you plan and play through **X4: Foundations**. It reads your savegame, distils the player-relevant galaxy state, and exposes it as tools so the model can reason

Tools (20)

X4MCP_CACHE_DIRX4MCP_PLAN_FILEadd_journal_entryadd_objectivefind_energy_sitesfind_mining_sectorsfind_supply_gapsfind_trade_offersget_moduleget_planget_player_overviewget_recipeget_stationlist_blueprintslist_known_sectorslist_playthroughslist_saveslist_shipslist_stationsplan_production