Open Data

ONS Census Data MCP Server

Use Studio chat to drive this server — credentials stay in your workspace.

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.

3 tools
Agent guide included
No auth required
Start Chatting

Opens MCPBundles Studio with this server selected. After sign-in, chat and run tools from the same thread.

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

What is MCP?

Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.

Use this bundle in 3 steps

  1. Copy the MCP URL above
  2. Open your AI tool and add a new MCP/connector
  3. Paste the URL and follow any auth prompts

Claude Desktop Users

Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.

Pick your tool tab for exact steps

Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.

Ready to chat with ONS Census Data?

Same flow: Studio opens on this server after sign-in. Keep chatting to call tools from the conversation.

ONS Census Data MCP Server & Skill — 3 Tools