Open Data

Data.gov.uk MCP Server

Chat with AI and run tools instantly.

Search and explore the UK's official open data portal (data.gov.uk). Find and access over 50,000 datasets from central and local government, NHS, police, and other public bodies. Powered by CKAN.

Managed
2 tools
Agent guide included

Chat with AI and run tools instantly.

Browse all tools

AI Skill
SKILL.md

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

Data.gov.uk (CKAN)

The UK's official open data portal powered by CKAN. Over 50,000 datasets from government bodies.

Data Model

  • Package (dataset) — A collection of resources (files) with metadata: title, notes (description), organisation, licence, tags, and extras.
  • Resource — An individual file or API endpoint within a dataset: URL, format (CSV, JSON, XLS, API, etc.), description.
  • Organisation — The publishing body (e.g. 'department-for-education', 'nhs-england').
  • Tag — Keyword labels applied to datasets for discovery.

Key Fields

  • name — URL-safe slug of the dataset (e.g. 'superconnected-cities-broadband')
  • title — Human-readable dataset title
  • notes — Full description (may be markdown)
  • organization.title — Publishing body name
  • license_title — Licence type (usually UK Open Government Licence)
  • resources[] — Array of downloadable files with url, format, name, description
  • num_resources — Count of files/resources in the dataset
  • metadata_modified — Last updated timestamp

Gotchas

  • CKAN API prefix: All endpoints under /api/3/action/.
  • Search: package_search supports Solr query syntax. Use q for free text, fq for field queries.
  • Organisation filter in search: Use fq=organization:slug (not filter_organisations).
  • Rows/start: Use rows (page size) and start (offset) for pagination.
  • ID or name: package_show accepts either the UUID id or the URL slug name.

Tools in this Server (2)

Datagov Get Dataset

Get full details of a specific dataset from Data.gov.uk by its slug or UUID. Returns the dataset title, full description, publishing organisation, lic...

Datagov Search Datasets

Search the Data.gov.uk open data catalog for UK government datasets. Find over 50,000 datasets from central government, local authorities, NHS, police...

Frequently Asked Questions

What is the Data.gov.uk MCP server?

Search and explore the UK's official open data portal (data.gov.uk). Find and access over 50,000 datasets from central and local government, NHS, police, and other public bodies. Powered by CKAN. It provides 2 tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect Data.gov.uk 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/data-gov-uk. Authentication is handled automatically.

How many tools does Data.gov.uk provide?

Data.gov.uk provides 2 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 Data.gov.uk require?

Data.gov.uk uses open data APIs — no authentication required.

Setup Instructions

Connect Data.gov.uk to any MCP client in minutes

MCP URLhttps://mcp.mcpbundles.com/bundle/data-gov-uk

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 Data.gov.uk and paste the MCP URL into Remote MCP server URL.
  4. Click Add. Data.gov.uk will appear under Not connected — select it and click Connect to complete OAuth.
Name: Data.gov.uk
Remote MCP server URL: https://mcp.mcpbundles.com/bundle/data-gov-uk
Authentication: OAuth

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

Try Data.gov.uk now

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