ckan-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ckan-mcp-serversearch for datasets about air quality"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CKAN MCP Server
A Model Context Protocol (MCP) server for the CKAN API that enables browsing and managing CKAN data portals through MCP-compatible clients.
What is this?
This is an MCP server that provides access to CKAN (Comprehensive Knowledge Archive Network) APIs through the Model Context Protocol. It can be used with MCP-compatible clients like Claude Desktop, IDEs, or other AI applications to interact with CKAN data portals.
Related MCP server: geonetwork-mcp
Requirements
Python 3.13 or higher
pip (Python package installer)
Installation
Install Python dependencies:
pip install -r requirements.txtConfiguration
Set the following environment variables:
CKAN_URL: The base URL of your CKAN portal (e.g.https://demo.ckan.org)CKAN_API_KEY: (Optional) Your CKAN API key for write operations
Example:
export CKAN_URL="https://demo.ckan.org"
export CKAN_API_KEY="your-api-key-here"You can also copy .env.example to .env and set your configuration there.
Usage
Running the server directly
python mcp_ckan_server.pyUsing Docker
# Build the image
docker build -t ckan-mcp-server .
# Run with environment variables
docker run -e CKAN_URL="https://demo.ckan.org" -e CKAN_API_KEY="your-key" ckan-mcp-serverUsing Docker Compose
# Copy environment file and configure
cp .env.example .env
# Edit .env with your settings
# Run the server
docker-compose upAvailable Tools
The MCP server provides the following tools:
Packages/Datasets
ckan_package_list: List all packagesckan_package_show: Show details of a specific packageckan_package_search: Search for packages
Organizations
ckan_organization_list: List all organizationsckan_organization_show: Show organization details
DataStore
ckan_datastore_searchSearch DataStore Tables by Resource
Groups and Tags
ckan_group_list: List all groupsckan_tag_list: List all tags
Resources
ckan_resource_show: Show resource details
System
ckan_site_read: Site informationckan_status_show: Status and version information
Examples
Search packages
{
"tool": "ckan_package_search",
"arguments": {
"q": "climate data",
"rows": 5,
"sort": "score desc"
}
}Show organization
{
"tool": "ckan_organization_show",
"arguments": {
"id": "sample-organization",
"include_datasets": true
}
}List all tags
{
"tool": "ckan_tag_list",
"arguments": {}
}Resources
The server also provides the following resources:
ckan://api/docs: API documentationckan://config: Server configuration
Using with MCP Clients
Claude Desktop
Add this to your Claude Desktop configuration file:
{
"mcpServers": {
"ckan": {
"command": "python",
"args": ["/path/to/mcp_ckan_server.py"],
"env": {
"CKAN_URL": "https://demo.ckan.org",
"CKAN_API_KEY": "your-api-key-here"
}
}
}
}Other MCP Clients
The server communicates via stdio, so any MCP-compatible client can connect to it by running the Python script and communicating through standard input/output.
CKAN API Reference
This MCP server implements the main endpoints of the CKAN API v3. Complete documentation: https://docs.ckan.org/en/latest/api/
License
Mozilla Public License Version 2.0
Author
(C) 2025, Ondics GmbH, https://ondics.de
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceMCP server for the Moroccan Open Data portal (data.gov.ma) enabling search and retrieval of datasets, resources, organizations, and groups via CKAN API.Last updated1MIT
- Flicense-qualityDmaintenanceMCP server for discovering and accessing data from a GeoNetwork 4.x catalog. Enables an AI assistant to search metadata records, view details, and discover services (WMS, WFS, downloads, etc.) referenced in the catalog.Last updated3
- AlicenseAqualityDmaintenanceAn MCP server to find and fetch Norwegian open government data from data.norge.no. Enables search, metadata retrieval, and data download.Last updated53MIT
- Alicense-qualityBmaintenanceEnables querying open data platforms like CKAN via natural language. Provides a configurable MCP server with plugins for different data sources.Last updatedMIT
Related MCP Connectors
data.gov.uk MCP — UK national open-data portal (CKAN API).
Data.gov MCP — wraps Data.gov CKAN API (catalog.data.gov/api/3)
Netherlands Open Data (data.overheid.nl/data) CKAN MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ondics/ckan-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server