{"id":37083183,"url":"https://github.com/ondics/ckan-mcp-server","last_synced_at":"2026-01-14T10:04:28.362Z","repository":{"id":301671466,"uuid":"990036838","full_name":"ondics/ckan-mcp-server","owner":"ondics","description":"A Model Context Protocol (MCP) server for the CKAN API that enables browsing and managing CKAN data portals through MCP-compatible clients.","archived":false,"fork":false,"pushed_at":"2025-11-12T09:29:30.000Z","size":214,"stargazers_count":11,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-05T09:28:46.987Z","etag":null,"topics":["ckan","mcp-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ondics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-25T11:22:24.000Z","updated_at":"2025-12-03T10:58:26.000Z","dependencies_parsed_at":"2025-06-28T05:46:23.637Z","dependency_job_id":"1db29072-775e-41a6-bb5d-824e55099330","html_url":"https://github.com/ondics/ckan-mcp-server","commit_stats":null,"previous_names":["ondics/ckan-mcp-server"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ondics/ckan-mcp-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondics%2Fckan-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondics%2Fckan-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondics%2Fckan-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondics%2Fckan-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ondics","download_url":"https://codeload.github.com/ondics/ckan-mcp-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondics%2Fckan-mcp-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ckan","mcp-server"],"created_at":"2026-01-14T10:04:27.763Z","updated_at":"2026-01-14T10:04:28.356Z","avatar_url":"https://github.com/ondics.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# CKAN MCP Server\n\nA Model Context Protocol (MCP) server for the CKAN API that enables browsing and managing CKAN data portals through MCP-compatible clients.\n\n## What is this?\n\nThis 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.\n\n## Requirements\n\n- Python 3.13 or higher\n- pip (Python package installer)\n\n## Installation\n\n1. Install Python dependencies:\n```bash\npip install -r requirements.txt\n```\n\n## Configuration\n\nSet the following environment variables:\n\n- `CKAN_URL`: The base URL of your CKAN portal (e.g. `https://demo.ckan.org`)\n- `CKAN_API_KEY`: (Optional) Your CKAN API key for write operations\n\nExample:\n```bash\nexport CKAN_URL=\"https://demo.ckan.org\"\nexport CKAN_API_KEY=\"your-api-key-here\"\n```\n\nYou can also copy `.env.example` to `.env` and set your configuration there.\n\n## Usage\n\n### Running the server directly\n```bash\npython mcp_ckan_server.py\n```\n\n### Using Docker\n```bash\n# Build the image\ndocker build -t ckan-mcp-server .\n\n# Run with environment variables\ndocker run -e CKAN_URL=\"https://demo.ckan.org\" -e CKAN_API_KEY=\"your-key\" ckan-mcp-server\n```\n\n### Using Docker Compose\n```bash\n# Copy environment file and configure\ncp .env.example .env\n# Edit .env with your settings\n\n# Run the server\ndocker-compose up\n```\n\n## Available Tools\n\nThe MCP server provides the following tools:\n\n### Packages/Datasets\n- `ckan_package_list`: List all packages\n- `ckan_package_show`: Show details of a specific package\n- `ckan_package_search`: Search for packages\n\n### Organizations\n- `ckan_organization_list`: List all organizations\n- `ckan_organization_show`: Show organization details\n\n### DataStore\n- `ckan_datastore_search` Search DataStore Tables by Resource\n\n### Groups and Tags\n- `ckan_group_list`: List all groups\n- `ckan_tag_list`: List all tags\n\n### Resources\n- `ckan_resource_show`: Show resource details\n\n### System\n- `ckan_site_read`: Site information\n- `ckan_status_show`: Status and version information\n\n## Examples\n\n### Search packages\n```json\n{\n  \"tool\": \"ckan_package_search\",\n  \"arguments\": {\n    \"q\": \"climate data\",\n    \"rows\": 5,\n    \"sort\": \"score desc\"\n  }\n}\n```\n\n### Show organization\n```json\n{\n  \"tool\": \"ckan_organization_show\",\n  \"arguments\": {\n    \"id\": \"sample-organization\",\n    \"include_datasets\": true\n  }\n}\n```\n\n### List all tags\n```json\n{\n  \"tool\": \"ckan_tag_list\",\n  \"arguments\": {}\n}\n```\n\n## Resources\n\nThe server also provides the following resources:\n- `ckan://api/docs`: API documentation\n- `ckan://config`: Server configuration\n\n## Using with MCP Clients\n\n### Claude Desktop\n\nAdd this to your Claude Desktop configuration file:\n\n```json\n{\n  \"mcpServers\": {\n    \"ckan\": {\n      \"command\": \"python\",\n      \"args\": [\"/path/to/mcp_ckan_server.py\"],\n      \"env\": {\n        \"CKAN_URL\": \"https://demo.ckan.org\",\n        \"CKAN_API_KEY\": \"your-api-key-here\"\n      }\n    }\n  }\n}\n```\n\n### Other MCP Clients\n\nThe server communicates via stdio, so any MCP-compatible client can connect to it by running the Python script and communicating through standard input/output.\n\n## CKAN API Reference\n\nThis MCP server implements the main endpoints of the CKAN API v3. \nComplete documentation: https://docs.ckan.org/en/latest/api/\n\n## License\n\nMozilla Public License Version 2.0\n\n## Author\n\n(C) 2025, Ondics GmbH, https://ondics.de\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondics%2Fckan-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fondics%2Fckan-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondics%2Fckan-mcp-server/lists"}