MCP directory
UN

UK National Archives Discovery

by github.com/ianderso · v0.1.0 · updated Oct 11, 2026

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

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx tna-discovery-mcp==0.1.0

Environment variables

  • TNA_DISCOVERY_TIMEOUT

    HTTP timeout in seconds for one request.

  • TNA_DISCOVERY_MIN_INTERVAL

    Least seconds between two requests. Never below 1, TNA's guideline.

  • TNA_DISCOVERY_DAILY_BUDGET

    Requests a day (UTC) before tools refuse. At most 3000, TNA's guideline.

  • TNA_DISCOVERY_CONTACT

    An email address or URL appended to the User-Agent, so The National Archives can reach whoever runs the server.

  • TNA_DISCOVERY_STATE_DIR

    Directory for the day's call count, the one file the server writes (a date and a number).

More from github.com/ianderso

More MCP servers