Skip to content

Ckan MCP Server

MCP server for querying CKAN open data portals (package search, DataStore SQL, organizations, groups, tags)

Install: claude mcp add -s user -t http ckan https://ckan-mcp-server.andy-pr.workers.dev/mcp

Works with Claude Code · 61 GitHub stars

Install

One-click install

Remote server
Claude Code (no install link, copy and run)
$claude mcp add --transport http ckan https://ckan-mcp-server.andy-pr.workers.dev/mcp

Buttons open the app on your computer and ask you to confirm before anything is added.

$claude mcp add -s user -t http ckan https://ckan-mcp-server.andy-pr.workers.dev/mcp
mcp.json (Cursor, Claude Desktop, Windsurf)
{
  "mcpServers": {
    "ckan": {
      "url": "https://ckan-mcp-server.andy-pr.workers.dev/mcp"
    }
  }
}

Install command taken from the project's README or registry entry. Always review code before running it.

CKAN MCP Server

Turn any (CKAN) open data portal into a conversation.

Give your AI assistant direct access to any CKAN open data portal — search datasets, explore organizations, query tabular data, and read metadata, all through natural language.

CKAN is the open-source platform behind most public open data portals worldwide (Italy's dati.gov.it, the US data.gov, Canada's open.canada.ca, and many more). Navigating these portals usually requires knowing their structure, APIs, and search syntax. This MCP server removes that barrier: once connected, your AI tool can do it all for you.

This is possible because of open standards and open source. CKAN exposes a fully documented, public API. Metadata follows DCAT, an open W3C standard for describing datasets. Both are free to use, free to build on, and maintained by open communities. This server stands on that foundation.

Who is this for? Everyone. Journalists looking for data to verify a story. Researchers exploring public datasets. Public servants checking what data their administration publishes. Developers building data pipelines. No CKAN knowledge required.

Adopted by AgID — This project has been reused by AgID, Italy's Agency for Digital Italy, as part of its effort to make public open data more accessible, immediate, and easier to consult through AI.

Two ways to use it — pick the one that suits you:

Option A: Install locally Option B: No install
How npm install -g @aborruso/ckan-mcp-server Point your tool to the hosted HTTP endpoint
Best for Runs on your machine, works with any local tool Quick start, zero setup
Request quota No shared quota 100k requests/day shared quota

Hosted endpoint: https://ckan-mcp-server.andy-pr.workers.dev/mcp

Recommendation: Option B is a great way to get started and try things out without any setup. Once you're familiar with what the server can do, switching to Option A (local install) gives you unlimited usage with no shared quotas.

👉 Want to explore the codebase? The AI-generated DeepWiki is a great starting point.

License: MIT — see LICENSE for complete details. Third-party notices: NOTICE.md.


⚖️ Limits

The local and hosted server use the same tool and output caps. The hosted endpoint also has the shared request quota shown above.

Area Default Maximum or configuration
Tool output 50,000 characters Fixed server-wide cap
ckan_datastore_search rows 100 32,000 (0 returns column names only)
ckan_package_search results per page 10 1,000
ckan_find_relevant_datasets results 10 50
Injected sparql_query rows 25 1,000 when injected; a query that supplies its own LIMIT is not capped
ckan_tag_list results 100 1,000
ckan_find_portals results 10 50
HTTP response body 32 MiB CKAN_MAX_RESPONSE_BYTES for local Node.js deployments
Decompressed response body 64 MiB CKAN_MAX_DECOMPRESSED_BYTES for local Node.js deployments

Similar plugs

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu, one CLI, zero API fees.

The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph, average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer…

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini…

Explore related