ckan-mcp
Verified Safeby openascot
Overview
Exposes CKAN open-data portals to AI assistants and other MCP-aware clients for data discovery, analysis, retrieval, and local downloads.
Installation
docker compose up --buildEnvironment Variables
- CKAN_BASE_URL
- CKAN_SITE_URL
- CKAN_DATASET_URL_TEMPLATE
- CKAN_API_KEY
- CKAN_MCP_MODE
- CKAN_MCP_HOST
- CKAN_MCP_PORT
- CKAN_MCP_HTTP_PATH
- CKAN_MCP_HTTP_ALLOW_ORIGINS
- CKAN_MCP_HTTP_JSON_RESPONSE
- CKAN_MCP_HTTP_LOG_LEVEL
- CKAN_MCP_LOCAL_DATASTORE
Security Notes
The server uses `curl` and the `file` command via subprocesses for downloading and MIME type detection, which introduces a dependency on external binaries. While arguments are explicitly passed to mitigate command injection risks, it's a known vector. Archive extraction includes directory traversal protection (`_ensure_within_directory`). API keys are handled via environment variables or explicit tool arguments, not hardcoded. Overall, reasonable security practices are in place for the current scope.
Similar Servers
us-census-bureau-data-api-mcp
The MCP Server provides a standardized API for AI assistants (LLMs) to access and process U.S. Census Bureau data and geography information, enabling data retrieval and analysis through an agent-like interface.
mcp-server-kibana
This server provides a Model Context Protocol (MCP) interface to Kibana, enabling natural language or programmatic access for managing saved objects, executing API requests, and querying server status, with multi-space and dual transport support.
mcp-helm
Provides a Model Context Protocol (MCP) server for AI assistants to interact with Helm repositories and charts without requiring a local Helm installation.
data-commons-search
Provides a natural language search interface over open-access scientific datasets and tools, assisted by a Large Language Model (LLM) through the Model Context Protocol (MCP).