# CKAN MCP Server

> Explore CKAN open data portals in natural language.

- **URL**: https://followmcp.com/en/servers/ckan-mcp-server
- **Category**: Other
- **Origin**: Community
- **Stars**: 85
- **FMRS Score**: 64/100 (Grade C)
- **Source**: https://github.com/ondata/ckan-mcp-server
- **Transports**: stdio (local process), Streamable HTTP
- **Runtimes**: Node.js, Hosted (no local runtime)
- **Auth**: No credential needed

## 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.

## 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
- 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.

## Client config (JSON)
```json
{"mcpServers":{"ckan":{"command":"npx","args":["@aborruso/ckan-mcp-server@latest"]}}}
```

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