Ons Uk

Official registry Archived Data and databases

UK Office for National Statistics dataset catalogue + Beta JSON API

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http ons-uk 'https://gateway.pipeworx.io/ons-uk/mcp'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "ons-uk": {
            "type": "http",
            "url": "https://gateway.pipeworx.io/ons-uk/mcp"
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. mcp-ons-uk
  2. Tools
  3. Quick Start
  4. Using with ask_pipeworx
  5. More
  6. License

mcp-ons-uk

ONS UK MCP.

Part of Pipeworx — an MCP gateway connecting AI agents to 673+ live data sources.

Tools

ToolDescription
datasetsList publicly available datasets.
datasetSingle dataset metadata.
editionsEditions of a dataset.
latest_observationsLatest observation data file metadata.
seriesTime series by ONS uri.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "ons-uk": {
      "url": "https://gateway.pipeworx.io/ons-uk/mcp"
    }
  }
}

Or connect to the full Pipeworx gateway for access to all 673+ data sources:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English:

ask_pipeworx({ question: "your question about Ons Uk data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

Frequently asked questions

What is Ons Uk?

UK Office for National Statistics dataset catalogue + Beta JSON API

How do I install Ons Uk?

It runs as a remote server. In Claude Code: claude mcp add --transport http ons-uk 'https://gateway.pipeworx.io/ons-uk/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Ons Uk need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is Ons Uk open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Ons Uk?

It is published by pipeworx-io. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.