Skip to content
MCP server

Civilization V Harness (Linux)

Play Sid Meier's Civilization V (native Linux) as a human seat, by the game's own rules.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
2.17.0
Listing updated
4 days ago

About Civilization V Harness (Linux)

Civilization V Harness (Linux) is an open-source MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add civ-v-llm-harness --env CIV5_TUNERD_SOCK='<CIV5_TUNERD_SOCK>' --env CIV5_TUNERD_TOKEN='<CIV5_TUNERD_TOKEN>' -- uvx civ-v-llm-harness

Add to claude_desktop_config.json

{
  "mcpServers": {
    "civ-v-llm-harness": {
      "command": "uvx",
      "args": [
        "civ-v-llm-harness"
      ],
      "env": {
        "CIV5_TUNERD_SOCK": "<CIV5_TUNERD_SOCK>",
        "CIV5_TUNERD_TOKEN": "<CIV5_TUNERD_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "civ-v-llm-harness": {
      "command": "uvx",
      "args": [
        "civ-v-llm-harness"
      ],
      "env": {
        "CIV5_TUNERD_SOCK": "<CIV5_TUNERD_SOCK>",
        "CIV5_TUNERD_TOKEN": "<CIV5_TUNERD_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "civ-v-llm-harness": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "civ-v-llm-harness"
      ],
      "env": {
        "CIV5_TUNERD_SOCK": "<CIV5_TUNERD_SOCK>",
        "CIV5_TUNERD_TOKEN": "<CIV5_TUNERD_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "civ-v-llm-harness": {
      "command": "uvx",
      "args": [
        "civ-v-llm-harness"
      ],
      "env": {
        "CIV5_TUNERD_SOCK": "<CIV5_TUNERD_SOCK>",
        "CIV5_TUNERD_TOKEN": "<CIV5_TUNERD_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "civ-v-llm-harness": {
      "command": "uvx",
      "args": [
        "civ-v-llm-harness"
      ],
      "env": {
        "CIV5_TUNERD_SOCK": "<CIV5_TUNERD_SOCK>",
        "CIV5_TUNERD_TOKEN": "<CIV5_TUNERD_TOKEN>"
      }
    }
  }
}

Configuration

  • CIV5_TUNERD_SOCKPath of the Unix socket of the running tuner daemon (python -m harness.tunerd), usually $XDG_RUNTIME_DIR/civ5-tuner.sock. The game and the daemon must be running first; see the install guide.Required
  • CIV5_TUNERD_TOKENThis agent's seat token, when the daemon runs with a seat table (--seats). Not needed for a solo game.
  • CIV5_CALL_LOGOptional path of a JSON-lines file that receives one line per tool call. Off when unset.

Pricing

Open source

Civilization V Harness (Linux) FAQ

Is Civilization V Harness (Linux) free?

Yes. Civilization V Harness (Linux) is open source, so you can use and self-host it for free.

How do I add Civilization V Harness (Linux) to Claude Code?

Run this command in your terminal: claude mcp add civ-v-llm-harness --env CIV5_TUNERD_SOCK='<CIV5_TUNERD_SOCK>' --env CIV5_TUNERD_TOKEN='<CIV5_TUNERD_TOKEN>' -- uvx civ-v-llm-harness

What are the best alternatives to Civilization V Harness (Linux)?

The closest alternatives to Civilization V Harness (Linux) are Claude Code Ultimate Guide, signafAIde, Toolkien, Lugh and HypePaper.

Alternatives to Civilization V Harness (Linux)

  1. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  2. signafAIde

    MCP server

    Local MCP server to set up, verify and check coverage of signed agent action records

    Runs locally
    • 5 tools
    • Freemium
    • Security
  3. Toolkien

    MCP server

    One MCP gateway for all your MCP servers, with code mode, permissions and audit

    Not checked yet
    • 3 tools
    • Remote
    • Open source
    • AI models and LLM tooling
  4. Lugh

    MCP server

    Write, check and dry-run Lugh agent programs with policy, budgets and approvals

    Runs locally
    • 5 tools
    • Open source
    • AI models and LLM tooling
  5. HypePaper

    MCP server

    Research papers, benchmarks, citations and topic experts for AI assistants

    • 58 tools
    • Remote
    • Freemium
    • AI models and LLM tooling