Open Data

ONS Census Data MCP Server

Chat with AI and run tools instantly — no API key or third-party login needed.

Office for National Statistics (ONS) dataset API. Search and browse UK census datasets, population statistics, economic indicators, and other official government statistics. Access dataset metadata, editions, and versions.

Managed
3 tools
Agent guide included

No API key or third-party login needed. Chat with AI and run tools instantly.

Browse all tools

AI Skill
SKILL.md

Domain knowledge for ONS Census Data — workflow patterns, data models, and gotchas for your AI agent.

ONS Census Data

The Office for National Statistics (ONS) API provides access to UK government statistics datasets. No authentication required.

Data Model

  • Dataset — A named statistical dataset (e.g. "wellbeing-quarterly", "cpih01"). Has a title, description, contacts, and methodology links.
  • Edition — A version track for a dataset (e.g. "time-series"). Datasets may have multiple editions.
  • Version — A specific data release within an edition. Each version has download links (CSV, XLSX, etc.) and dimension metadata.

Key Fields in Dataset Results

  • id — Dataset identifier used in API paths
  • title — Human-readable dataset title
  • description — Full description of the dataset
  • contacts — List of ONS contact details
  • release_frequency — How often new versions are published
  • national_statistic — Whether this is a National Statistic (quality assured)
  • state — Publication state (usually "published")
  • keywords — Topic keywords for discovery

Discovery modes

  • Site search returns mixed ONS content (articles, datasets, bulletins). Useful when you know a topic but not the dataset id.
  • Dataset directory returns datasets only, each with full metadata—better for browsing the full catalog.

Pagination

  • Use limit and offset query parameters
  • Response includes count, total_count, offset, limit

Tools in this Server (3)

Ons Get Dataset

Get detailed metadata for a specific ONS dataset by its ID. Returns title, description, contacts, methodology links, release frequency, and links to e...

Ons List Editions

List available editions for a specific ONS dataset. Each edition represents a version track (e.g. 'time-series'). Returns edition names with links to ...

Ons Search Datasets

Search the Office for National Statistics for datasets and content by keyword. Returns matching datasets, articles, and bulletins with titles, descrip...

Frequently Asked Questions

What is the ONS Census Data MCP server?

Office for National Statistics (ONS) dataset API. Search and browse UK census datasets, population statistics, economic indicators, and other official government statistics. Access dataset metadata, editions, and versions. It provides 3 tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect ONS Census Data to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/ons-census. Authentication is handled automatically.

How many tools does ONS Census Data provide?

ONS Census Data provides 3 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.

What authentication does ONS Census Data require?

ONS Census Data uses open data APIs — no authentication required.

Setup Instructions

Connect ONS Census Data to any MCP client in minutes

https://mcp.mcpbundles.com/bundle/ons-census

One-click install:

The link prefills the Add custom connector dialog — you still review the values and click Add, then Connect to complete OAuth.

Or add manually

  1. Open claude.ai → Settings → Connectors.
  2. Click the + button and choose Add custom connector.
  3. Set Name to ONS Census Data and paste the MCP URL into Remote MCP server URL.
  4. Click Add. ONS Census Data will appear under Not connected — select it and click Connect to complete OAuth.
Name: ONS Census Data
Remote MCP server URL: https://mcp.mcpbundles.com/bundle/ons-census
Authentication: OAuth

Custom connectors at claude.ai require a paid Claude plan (Pro, Max, Team, or Enterprise).

Try ONS Census Data now

No API key or third-party login required. Chat with AI and run tools instantly.

ONS Census Data MCP Server & Skill — 3 Tools