← Back to directory
C

CKAN MCP Server

Community
Explore CKAN open data portals in natural language.
Category
Other #29 of 678
Stars
★ 85 Popular
Transport
stdio (local process) · Streamable HTTP
Runtime
Node.js · Hosted (no local runtime)
Credentials
No credential needed
License
MIT
Last commit
Tools
19
64FMRS · C

This MCP server is for exploring CKAN open data portals, with dataset search, organization and group browsing, DataStore queries, and portal discovery. The README identifies the MIT license and onData as the project maintainer; it does not indicate maintenance by the CKAN upstream. It suits interactive exploration, while bulk catalog work should use a local installation or the CKAN API directly.

Strongest · Documentation 17/20 Weakest · Reliability 9/20

Reliability
9/20
Security and permissions
13/20
Maintenance
11/20
Documentation
17/20
Setup experience
14/20
Why each score
Reliability 9/20
The README lists several CKAN query tools, response caps, truncation behavior, and some HTTP security constraints, suggesting that common paths and some failure boundaries were considered. However, the supplied material is only the README and manifest, so startup, MCP initialization and tool-list handshake, actual tool behavior, dependency control, and error handling cannot be verified. There is also no reviewable CI or test evidence, so uncertainty is substantial and the static-review score stays at or below 12.
Security and permissions 13/20
The documentation discloses that queries reach user-specified portals, that the public hosted endpoint logs tool arguments, and that Cloudflare retains IP addresses and request headers. It also says HTTP transport requires a domain allowlist by default, blocks private address ranges, and supports configurable audit logging. These are useful boundary disclosures, but stdio can query arbitrary portals by default, the hosted endpoint has no authentication and uses a shared quota, and the README alone cannot verify the implementation. No red-line evidence is present, so the score is not reduced to 0–4.
Maintenance 11/20
The project is not archived, has an MIT license, identifies an npm package version, and provides a GitHub support channel, indicating release and issue-reporting paths. The supplied material has no commit history, recent release cadence, issue response evidence, dependency update policy, or security response process, so sustained maintenance cannot be established and the score is reduced accordingly.
Documentation 17/20
The README covers local installation, configuration for several clients, tool categories and examples, quotas and response limits, HTTP security settings, privacy disclosures, and troubleshooting. This is unusually actionable documentation. Points are deducted because the material does not provide complete parameter definitions for every tool, a dependency inventory, or implementation evidence, and its examples and claims cannot be verified in this static review.
Setup experience 14/20
The documentation gives npm/npx, local build, and Docker paths, along with client configuration examples for ChatGPT, Claude, Gemini, VS Code, and Codex. The instructions outline connection steps for mainstream clients. Points are deducted because setup depends on a runtime and third-party client configuration, and there is no verifiable execution evidence; under the static calibration rule, the score remains at or below 15 without CI and key-path test evidence.

Static review · not runReviewed 2026-11-30

Read the FMRS scoring method →

Fit and risk

What it can accessUses the network

Best for

  • Journalists, researchers, public servants, and developers exploring CKAN public data catalogs.
  • People who want an AI assistant to search datasets or query DataStore-enabled resources.

Not for

  • Bulk downloads, whole-catalog crawls, or parallel automated calls to the hosted demo; the README recommends local installation or direct CKAN API calls for bulk work.
  • Users whose target portal is not CKAN, or whose resource lacks DataStore when they need to query its tabular data directly.

Required permissions

  • The tools send searches, metadata requests, or DataStore queries to the CKAN portal specified by the user; the SPARQL tool targets public endpoints.
  • The hosted demo logs tool-call arguments. Local audit logs go to standard error by default and can be set to minimal or off with CKAN_AUDIT_LOG.

Risks and side effects

  • The hosted endpoint has a shared daily quota and a per-address per-minute request limit; excess use can receive HTTP 429, and free Workers resource limits can cause high-load requests to fail.
  • The hosted demo logs tool-call arguments, which may include search text and query parameters; do not include personal information in queries.
  • A self-hosted HTTP transport is unauthenticated. The README requires a domain allowlist and describes request-proxying risks when exposing the service or permitting access to private hosts.

Setup

Before you start

Runtime:Node.js · Hosted (no local runtime)

Other optional settings (11)
CKAN_ALLOWED_DOMAINS optional Set the comma-separated CKAN hostnames the server may query; required for HTTP transport. Use the hostnames of the portals you want to access.
CKAN_PRIVATE_HOSTS optional Set hostnames allowed to resolve to private network addresses; use only when connecting to a local or intranet CKAN portal.
CKAN_AUDIT_LOG optional Set to full, minimal, or off to control audit logging to standard error; no external value is needed.
CKAN_MAX_RESPONSE_BYTES optional Set the HTTP response body limit for local Node.js deployments, in bytes, as needed.
CKAN_MAX_DECOMPRESSED_BYTES optional Set the decompressed response body limit for local Node.js deployments, in bytes, as needed.
TRANSPORT optional Select the transport; the HTTP example uses http and the default is stdio.
CKAN_HTTP_ALLOW_ALL optional Set to true to enable HTTP transport without an allowlist; no external value is needed.
CKAN_HTTP_HOST optional Set the interface for the HTTP server to bind to; the default is 127.0.0.1.
CKAN_HTTP_ALLOWED_HOSTS optional Set extra Host header values accepted by the DNS rebinding guard; use the hostnames you need.
CKAN_HTTP_ALLOWED_ORIGINS optional Set Origin values allowed for browser clients; use the origins you need.
PORT optional Set the HTTP server port; the example uses 3001.

For local use, install with npm install -g @aborruso/ckan-mcp-server, or configure a client to launch it with npx. Claude Desktop example: {"mcpServers":{"ckan":{"command":"npx","args":["@aborruso/ckan-mcp-server@latest"]}}}. The README also documents the hosted HTTP endpoint at https://ckan-mcp-server.andy-pr.workers.dev/mcp for clients that support HTTP MCP connections.

claude_desktop_config.json
{"mcpServers":{"ckan":{"command":"npx","args":["@aborruso/ckan-mcp-server@latest"]}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "ckan": {
      "command": "npx",
      "args": [
        "@aborruso/ckan-mcp-server@latest"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.ckan]
command = "npx"
args = ["@aborruso/ckan-mcp-server@latest"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add ckan -- npx @aborruso/ckan-mcp-server@latest

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After connecting, check that ckan_status_show and ckan_package_search appear in the client’s tool list. Then ask it to search Italy’s open data portal for population datasets and confirm it returns results.

Troubleshooting

  1. Check that the CKAN portal URL is correct and reachable; use ckan_status_show to check the portal response.
  2. If searches return no results, broaden the query or inspect catalog contents with facets such as tags or organizations.
  3. Confirm that a resource has datastore_active enabled before querying it through DataStore.
  4. For local HTTP transport, configure CKAN_ALLOWED_DOMAINS and include redirect destinations in the allowlist.
  5. If the hosted endpoint is rate-limited, check for HTTP 429 responses and reduce the request rate.

Things to try

Once connected, you can ask your AI assistant things like:

  • Find air quality datasets on Italy’s national open data portal and summarize their time coverage and download formats.
  • List transportation datasets on Canada’s open data portal.
  • Count records by type in the road orders table on the City of Messina open data portal.

Tools 19

ckan_package_search read-only
Search datasets with Solr queries.
ckan_find_relevant_datasets read-only
Find datasets ranked by relevance.
ckan_package_show read-only
Retrieve full dataset details and metadata.
ckan_tag_list read-only
List tags and their counts.
ckan_organization_list read-only
List organizations.
ckan_organization_show read-only
Retrieve organization details.
ckan_organization_search read-only
Search organizations by name.
ckan_group_list read-only
List groups.
Show 11 more tools
ckan_group_show read-only
Retrieve group details.
ckan_group_search read-only
Search groups by name.
ckan_datastore_search read-only
Query tabular CKAN DataStore data.
ckan_datastore_search_sql read-only
Run SQL queries against CKAN DataStore.
ckan_get_mqa_quality read-only
Get the MQA quality score and score-improving failed metrics for dati.gov.it datasets.
ckan_get_mqa_quality_details read-only
List failed MQA metrics for dati.gov.it datasets, grouped by FAIR dimension.
ckan_find_portals read-only
Discover CKAN portals by country, language, or topic.
ckan_analyze_datasets read-only
Search datasets and inspect DataStore schemas of queryable resources.
ckan_catalog_stats read-only
Summarize catalog statistics for a portal.
sparql_query read-only
Execute SPARQL SELECT queries against public endpoints.
ckan_status_show read-only
Check server status.

Use cases

Find government or public datasets with natural-language requests.
Inspect dataset metadata, publishing organizations, and tags.
Filter, sort, or query with SQL tabular resources that have DataStore enabled.
Discover CKAN portals by country or language and review catalog statistics.

Supported clients

Claude Desktop
Claude Code
ChatGPT
Le Chat
Perplexity Pro
Gemini CLI
VS Code
Codex

Listed from the project's documentation, not tested by this site.

Overview

CKAN MCP Server connects to CKAN open data portals through MCP. It can search datasets, inspect organizations and groups, query tabular DataStore resources, and retrieve dataset metadata. Additional tools cover portal discovery, catalog statistics, and SPARQL queries. It supports local stdio use and the hosted HTTP service described in the README.

Similar servers

Source revision b2c86649cf6b Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/ckan-mcp-server.svg)](https://followmcp.com/en/servers/ckan-mcp-server)