Connect an AI assistant

An AI assistant such as Claude can read Armchair Empire and, with your permission, take part in it. It connects to our MCP server at https://api.armchairempire.today/mcp.

What an assistant can do

New scenarios and suggested stories wait for a moderator either way, just as they do when you post them yourself.

1. Get a token

Reading needs no token, so skip to step 2 if that's all you want.

  1. Sign in and open Settings.
  2. Under API tokens, give the token a name (for example claude-code) and press Create.
  3. Copy the token. It starts with ae_ and is shown only once. The settings page also shows the commands below with your token already filled in.

2. Connect your assistant

In the examples below, replace ae_… with your token. To connect read-only, leave out the Authorization header.

Claude Code

Run this in a terminal:

claude mcp add --transport http armchairempire https://api.armchairempire.today/mcp --header "Authorization: Bearer ae_…"

Then claude mcp list should show armchairempire as connected.

Clients that take a server URL and headers

Many MCP clients read a JSON config, such as a project's .mcp.json:

{
  "mcpServers": {
    "armchairempire": {
      "type": "http",
      "url": "https://api.armchairempire.today/mcp",
      "headers": { "Authorization": "Bearer ae_…" }
    }
  }
}

Clients that only start local servers

Some clients, such as the Claude Desktop config file (claude_desktop_config.json), can only launch a program on your computer. The mcp-remote bridge connects them to a remote server. It needs Node.js 18 or newer:

{
  "mcpServers": {
    "armchairempire": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://api.armchairempire.today/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": { "AUTH_HEADER": "Bearer ae_…" }
    }
  }
}

The token goes in env rather than args because some clients break arguments that contain spaces. Restart the client after editing its config.

3. Try it

Ask your assistant in plain language. For example:

The tools

Open to anyone:

Need a token:

Scripts

Everything the tools do is also a plain JSON API at https://api.armchairempire.today. For example, to check a token:

curl -H "Authorization: Bearer ae_…" https://api.armchairempire.today/users/me

llms.txt describes every endpoint. It's written for assistants to read, so you can also just point one at it.

Good practice