MCP Hub
Back to servers

fio-mcp

A Model Context Protocol server for FIO / Prosperous Universe

npm124/wk
Updated
Apr 6, 2026

Quick Install

npx -y fio-mcp

fio-mcp

A Model Context Protocol (MCP) server for the FIO community API, giving LLMs access to game data from Prosperous Universe.

Prerequisites

Quick Start

npx (no install)

{
  "mcpServers": {
    "fio": {
      "command": "npx",
      "args": ["-y", "fio-mcp"],
      "env": {
        "FIO_API_KEY": "your_api_key",
        "FIO_USERNAME": "YourIngameName"
      }
    }
  }
}

Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "fio": {
      "command": "npx",
      "args": ["-y", "fio-mcp"],
      "env": {
        "FIO_API_KEY": "your_api_key",
        "FIO_USERNAME": "YourIngameName"
      }
    }
  }
}

From source

git clone https://github.com/themanwithanrx7/fio-mcp.git
cd fio-mcp
pnpm install
pnpm build

Then point your MCP client at the built output:

{
  "mcpServers": {
    "fio": {
      "command": "node",
      "args": ["/path/to/fio-mcp/dist/index.js"],
      "env": {
        "FIO_API_KEY": "your_api_key",
        "FIO_USERNAME": "YourIngameName"
      }
    }
  }
}

Environment Variables

VariableRequiredDescription
FIO_API_KEYYesFIO API key or AuthToken
FIO_USERNAMENoProsperous Universe username (used as default for user-specific tools)

Available Tools

Market & Exchange

ToolDescription
fio_get_exchangeCommodity exchange data for a ticker (e.g. CU.NC1)
fio_get_all_exchangesSummary of all commodity exchanges
fio_get_exchange_fullPrice snapshot for all active materials across all exchanges
fio_get_price_historyHistorical daily price data for a ticker
fio_get_exchange_ordersOpen exchange orders for a company
fio_get_exchange_tradesExchange trade history for a user
fio_get_exchange_trades_csvExchange trade history as CSV
fio_get_local_marketLocal market ads for a planet
fio_search_local_marketSearch local markets for a material
fio_get_company_local_marketLocal market ads by company

Planets & Navigation

ToolDescription
fio_get_all_planetsList all planets (minimal data)
fio_get_planetFull planet details
fio_search_planetsSearch planets by criteria
fio_get_planet_sitesPlayer-built sites on a planet
fio_get_all_systemsAll star systems
fio_get_systemStar system details
fio_get_infrastructurePlanet infrastructure details
fio_get_jump_countJump count between two systems
fio_get_jump_routeFull jump route between two systems

Production & Materials

ToolDescription
fio_get_all_buildingsAll buildings with costs and workforce
fio_get_buildingBuilding details by ticker
fio_get_all_materialsAll materials with categories and weights
fio_get_materialMaterial details by ticker
fio_get_materials_by_categoryMaterials in a category
fio_get_all_recipesAll production recipes
fio_get_workforce_needsWorkforce consumption rates by tier
fio_get_productionUser's production lines (all planets)
fio_get_production_on_planetUser's production lines on a planet

Account & Logistics

ToolDescription
fio_get_storageUser's storage across all bases
fio_get_storage_on_planetUser's storage on a planet
fio_get_shipsUser's ships
fio_get_ship_flightsShip flight data (location, destination, ETA)
fio_get_ship_fuelShip fuel stores
fio_get_sitesAll base sites in the game
fio_get_workforceUser's workforce across all bases
fio_get_workforce_on_planetUser's workforce on a planet
fio_get_contractsUser's contracts (filterable by status/days/limit)
fio_get_contract_concernsContracts needing attention
fio_get_contract_shipmentsShipment location tracking
fio_get_burn_rateConsumable supply burn rate per base
fio_get_userUser public profile

User-specific tools accept an optional userName parameter and default to FIO_USERNAME.

Development

pnpm install
pnpm dev          # Run with tsx (no build needed)
pnpm build        # Compile TypeScript
pnpm test         # Run tests
pnpm lint         # Lint with oxlint
pnpm fmt          # Format with oxfmt
pnpm fmt:check    # Check formatting
pnpm check        # fmt:check + lint + build

License

MIT

Reviews

No reviews yet

Sign in to write a review