1. Conduid
  2. AI
  3. Ckan MCP Server
MCP server · AI

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.

Unclaimed MPL-2.0 ai
39Low

Scored 5 days ago · breakdown

About Ckan MCP Server

Ckan MCP Server is an MCP server published by ondics in the AI category: a Model Context Protocol (MCP) server for the CKAN API that enables browsing and managing CKAN data portals through MCP-compatible clients.

The repository has 15 stars and 8 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

uvx
uvx ckan-mcp-server
pip
pip install ckan-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Ckan MCP Server

Powered by Claude · Grounded in docs

I know everything about Ckan MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

Releases

1.1.21.1.2 · 27 Apr 2026What's Changed Deps Update; Log Level Change, Docker Restart/CTRL+C Signal Fix, SSE Reconnect Fix by @ff-ondics in https://github.com/ondics/ckan-mcp-server/pull/6 Full Changelog:…
1.1.11.1.1 · 20 Apr 2026What's Changed fix missing session initialization in stdio transport mode by @jjsantos01 in https://github.com/ondics/ckan-mcp-server/pull/5 New Contributors @jjsantos01 made their first contribution in…
1.1.01.1.0 · 12 Nov 2025What's Changed Add Datastore Search Functionality Updates, MCP SSE Server Transport, Logging Configurable CLI Params, Basic Auth Full Changelog: https://github.com/ondics/ckan-mcp-server/compare/1.0.0...1.1.0
1.0.01.0.0 · 11 Jun 2025added tests, works. have fun!
0.0.10.0.1 · 27 May 2025initial release

README

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.

Requirements

  • Python 3.13 or higher
  • pip (Python package installer)

Installation

  1. Install Python dependencies:
pip install -r requirements.txt

Configuration

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

Using 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-server

Using Docker Compose

# Copy environment file and configure
cp .env.example .env
# Edit .env with your settings

# Run the server
docker-compose up

Tools

The MCP server provides the following tools:

Packages/Datasets

  • ckan_package_list: List all packages
  • ckan_package_show: Show details of a specific package
  • ckan_package_search: Search for packages

Organizations

  • ckan_organization_list: List all organizations
  • ckan_organization_show: Show organization details

DataStore

  • ckan_datastore_search Search DataStore Tables by Resource

Groups and Tags

  • ckan_group_list: List all groups
  • ckan_tag_list: List all tags

Resources

  • ckan_resource_show: Show resource details

System

  • ckan_site_read: Site information
  • ckan_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 documentation
  • ckan://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

README fetched from the repository 3 days ago. The original is authoritative.

Questions

About Ckan MCP Server

How do I install Ckan MCP Server?

Run uvx ckan-mcp-server, then add the server to your MCP client's configuration.

Is Ckan MCP Server safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 4 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Ckan MCP Server still maintained?

Yes — the latest release is 1.1.2 (27 Apr 2026), and the last commit was a month ago. The repository has 15 stars.