# CKAN MCP server

> Search open data portals, read dataset details and query data tables on CKAN portals by asking in plain English.

- Sign-in: See setup
- Connect in RevampKey: https://revampkey.com/marketplace/ckan-mcp-server

## Agent skills (4)

- [CKAN MCP Server Essentials: Using Open-Data Portals with AI](https://revampkey.com/marketplace/ckan-mcp-server/skills/essentials.md): Learn how to point the CKAN MCP Server at the right open-data portal and choose the right tool for each question. The agent confirms which portal it is querying and asks before switching to another one.
- [CKAN MCP Server Dataset Quality Audit with AI](https://revampkey.com/marketplace/ckan-mcp-server/skills/dataset-quality-audit.md): Scores a CKAN portal's or organisation's datasets with MQA quality data and direct metadata checks, then returns a prioritised fix list. It only reads the catalogue and asks before any change.
- [CKAN datastore data extraction with AI: verified rows from open data](https://revampkey.com/marketplace/ckan-mcp-server/skills/datastore-data-extraction.md): Pulls rows from a CKAN dataset's tabular resource, checks the schema and totals first, and returns a verified answer with the query shown. It only reads data and never changes the portal.
- [CKAN Portal Catalogue Report with AI: Size, Publishers, Themes and Gaps](https://revampkey.com/marketplace/ckan-mcp-server/skills/portal-catalog-report.md): Builds a stakeholder-ready overview of an open-data portal covering size, publishers, themes, freshness and coverage gaps. It reads the catalogue and does not change anything in the portal.

All skills: https://revampkey.com/marketplace/ckan-mcp-server/skills.md

CKAN MCP Server is an open source server by ondata. It lets an AI tool search and read any CKAN open data portal. CKAN is the open source platform behind many public open data portals, including Italy's dati.gov.it, the US data.gov and Canada's open.canada.ca. Journalists check data for stories, researchers explore public datasets, public servants review what their administration publishes, and developers build data pipelines. AgID, Italy's Agency for Digital Italy, has reused the project.

When you connect CKAN MCP Server to RevampKey, you ask in plain English and the agent calls its tools. It can search datasets and find relevant ones, read a dataset's metadata, and list its resources. It can browse organizations and groups, and read tags. For tabular data, it can run DataStore searches and DataStore SQL queries. It can also read quality scores and catalog stats for a portal.

Each tool response is capped at 50,000 characters. When a result is large, narrow your question or ask for one page at a time. The agent works with the portal data the server exposes and does not change anything without asking you first.

## What you can do

### Finding data for a news story

A journalist needs figures on public transport spending in one city. They ask the agent to find relevant datasets on a CKAN portal. The agent runs a relevant-dataset search, lists the matches, and shows each dataset's publishing organization and resources so the journalist can pick the right files.

### Reviewing what a public body publishes

A public servant wants to know what their administration has released. They ask the agent to show the organization's details and list its datasets. The agent reads the organization record, searches its datasets, and summarizes the titles and tags so the public servant can spot gaps.

### Pulling rows from a dataset table

A researcher wants the rows from a dataset's DataStore table where the year is 2023. They ask the agent for those rows. The agent runs a DataStore SQL query against that table, then summarizes the matching rows and the columns they contain.

## Things to ask

- Find datasets about air quality on the Italian open data portal and list their titles.
- Show me the organizations on this portal and what each one has published.
- Run a SQL query on the budget table and show the ten largest amounts with their years.
- Which tags are used most for transport datasets, and what do those tags cover?
- Which CKAN portals can you find that publish energy data?

## What the agent can do

### Dataset search and metadata

Search datasets with package search or find relevant datasets for a topic. Read a dataset's full metadata with package show, and list the resources attached to it.

`ckan_package_search`, `ckan_find_relevant_datasets`, `ckan_package_show`, `ckan_list_resources`

### Organizations and groups

List and search organizations and groups on a portal. Open one to read its details, so you can see who publishes which datasets.

`ckan_organization_list`, `ckan_organization_show`, `ckan_organization_search`, `ckan_group_list`, `ckan_group_show`, `ckan_group_search`

### Tabular data in DataStore

Search the rows of a dataset's DataStore table, or run a SQL query against it. Ask for the rows, columns or totals you need and the agent returns them.

`ckan_datastore_search`, `ckan_datastore_search_sql`

### Portal discovery and linked data queries

Find CKAN portals that match a topic. Run SPARQL queries when you need to query linked data with a SPARQL endpoint.

`ckan_find_portals`, `sparql_query`

### Quality scores and catalog stats

Read quality scores for a portal's datasets and the detailed breakdown behind them. Analyze datasets and pull catalog-wide statistics for a portal.

`ckan_get_mqa_quality`, `ckan_get_mqa_quality_details`, `ckan_analyze_datasets`, `ckan_catalog_stats`

### Tags and portal status

List the tags used on a portal to see how datasets are labeled. Check the portal's status to confirm it is responding.

`ckan_tag_list`, `ckan_status_show`

## FAQ

### What do I need to connect CKAN MCP Server to RevampKey?

Install RevampKey, which is free and runs on Mac, Windows and Linux. Open the Connectors tab in RevampKey and add CKAN MCP Server. After that, you can ask the agent questions about any CKAN open data portal in plain English.

### What can the agent do with CKAN MCP Server, and what can it not do?

The agent can search datasets, read metadata and resources, browse organizations and groups, query DataStore tables, and read quality scores and catalog stats. None of its 20 tools creates, edits or deletes data on a portal. It cannot do anything outside the tools listed for this connector.

### Does the agent change data on a portal, and does it ask first?

No tool in CKAN MCP Server writes to a portal. The agent asks before it changes anything. Check the agent's answers against the dataset itself before you rely on them.

### Which CKAN portals can I search with CKAN MCP Server?

You can search any CKAN open data portal. CKAN powers many public portals, including Italy's dati.gov.it, the US data.gov and Canada's open.canada.ca. Ask the agent to find portals on a topic if you do not know which one to use.

### Is the CKAN MCP server local or remote?

It runs on your own computer with npx (package @aborruso/ckan-mcp-server@0.4.129). Your client starts it as a local process; nothing is hosted.

### What can an AI agent do with the CKAN MCP server?

It exposes 20 tools: 20 that read and 0 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for CKAN?

Yes. 4 SKILL.md playbooks teach an agent how to do real CKAN work step by step. RevampKey installs them when you connect CKAN; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (20)

- `ckan_analyze_datasets`
- `ckan_catalog_stats`
- `ckan_datastore_search`
- `ckan_datastore_search_sql`
- `ckan_find_portals`
- `ckan_find_relevant_datasets`
- `ckan_get_mqa_quality`
- `ckan_get_mqa_quality_details`
- `ckan_group_list`
- `ckan_group_search`
- `ckan_group_show`
- `ckan_list_resources`
- `ckan_organization_list`
- `ckan_organization_search`
- `ckan_organization_show`
- `ckan_package_search`
- `ckan_package_show`
- `ckan_status_show`
- `ckan_tag_list`
- `sparql_query`

## Details

- Maker: ondata
- Setup: Connect from the app

Page: https://revampkey.com/marketplace/ckan-mcp-server
