Skip to content
MCP server

UK National Archives Discovery

Search the UK National Archives' Discovery catalogue; find Chelsea pensioners' papers in…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
6 days ago

About UK National Archives Discovery

UK National Archives Discovery is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Search the UK National Archives' Discovery catalogue; find Chelsea pensioners' papers in WO 97.

Install

Run in a terminal

claude mcp add tna-discovery-mcp -- uvx tna-discovery-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "tna-discovery-mcp": {
      "command": "uvx",
      "args": [
        "tna-discovery-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "tna-discovery-mcp": {
      "command": "uvx",
      "args": [
        "tna-discovery-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "tna-discovery-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tna-discovery-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "tna-discovery-mcp": {
      "command": "uvx",
      "args": [
        "tna-discovery-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "tna-discovery-mcp": {
      "command": "uvx",
      "args": [
        "tna-discovery-mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • TNA_DISCOVERY_TIMEOUTHTTP timeout in seconds for one request.
  • TNA_DISCOVERY_MIN_INTERVALLeast seconds between two requests. Never below 1, TNA's guideline.
  • TNA_DISCOVERY_DAILY_BUDGETRequests a day (UTC) before tools refuse. At most 3000, TNA's guideline.
  • TNA_DISCOVERY_CONTACTAn email address or URL appended to the User-Agent, so The National Archives can reach whoever runs the server.
  • TNA_DISCOVERY_STATE_DIRDirectory for the day's call count, the one file the server writes (a date and a number).

Pricing

Open source

UK National Archives Discovery FAQ

Is UK National Archives Discovery free?

Yes. UK National Archives Discovery is open source, so you can use and self-host it for free.

How do I add UK National Archives Discovery to Claude Code?

Run this command in your terminal: claude mcp add tna-discovery-mcp -- uvx tna-discovery-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers