Skip to main content
Glama

govdata-mcp 🗃️

mcp-name: io.github.mohammad-abbasi-sh/govdata-mcp

Unofficial read-only MCP server for govdata.de — Germany's national open-data portal govdata.de via its official CKAN API: search 163,000+ datasets, dataset details, publishers, recent datasets and resource details. No key, no login. No key, no login.

Built by Mohammad Abbasi as part of the "Germany MCP factory". Not affiliated with govdata.de.

For AI agents

Add to your MCP client config (stdio):

{
  "mcpServers": {
    "govdata": {
      "command": "uvx",
      "args": ["govdata-mcp==0.1.0"]
    }
  }
}

Or run locally: python -m govdata_mcp.server (needs mcp<2, httpx).

Related MCP server: Ontario Data Catalogue MCP Server

Tools

Tool

Description

govdata_search_datasets

Search govdata.de datasets — query, limit 1..50, sort (relevance/recent)

govdata_get_dataset

Full details of one dataset — dataset_id (id or name, e.g. "wohnatlas-berlin")

govdata_list_publishers

Publishing organisations on govdata.de, most datasets first — limit 1..50

govdata_recent_datasets

Most recently updated datasets — limit 1..50

govdata_get_resource

Details of one dataset resource (file/API link) — resource_id

govdata_health

Reachability probe (ok / blocked / error) — one polite request

Notes

  • All data comes from the govdata.de CKAN API (free, no key, no login) — 163,247 datasets at last check.

  • Competition note: pipeworx-io/mcp-govdata-de (★0, 2026-11-09) covers the same portal but only ships 2 tools (list_organizations, list_groups) behind a commercial gateway and has no dataset search; this server adds search, dataset/resource details, recency and tests.

Tests: 19/19 green (13 offline + 6 live, 2026-11-10).

Development

python3 -m venv .venv && .venv/bin/pip install "mcp<2" httpx pytest
.venv/bin/pip install -e .
.venv/bin/python -m pytest tests/ -q

License

PolyForm Noncommercial 1.0.0 — free for personal and non-commercial use; commercial use needs a separate license (see LICENSE).


Built by Mohammad Abbasi — Almanibama · mabbasi.ir

Available Tools

6 tools
govdata_get_datasetB

Full details of one dataset. dataset_id: the dataset id (UUID) or name, e.g. "wohnatlas-berlin".

Inputs: dataset_id (required). Returns: result

govdata_get_resourceC

Details of one dataset resource (file/API download link). resource_id: the resource UUID, shown on dataset resources.

Inputs: resource_id (required). Returns: result

govdata_healthA

Check whether govdata.de is reachable right now.

Returns status ok (HTTP 200), blocked (HTTP 403/429 — bot wall or rate limit) or error, plus the HTTP status and the probed URL. One polite request; it does not fetch any listings.

Inputs: no named parameters. Returns: result

govdata_list_publishersB

Publishing organisations on govdata.de, most datasets first. limit: 1..50 (default 10).

Inputs: limit. Returns: result

govdata_recent_datasetsB

Most recently updated datasets on govdata.de. limit: 1..50 (default 10).

Inputs: limit. Returns: result

govdata_search_datasetsB

Search govdata.de datasets. query: keyword or phrase, e.g. "berlin". limit: 1..50 (default 10). sort: "relevance" or "recent".

Inputs: query (required), sort, limit. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 6 tools

    Disambiguation4/5

    Each tool targets a distinct operation: search, fetch dataset, fetch resource, list publishers, list recent, and a health probe. The only real overlap is between govdata_search_datasets (with sort=recent) and govdata_recent_datasets, which an agent could easily confuse since one can emulate the other via a sort parameter.

    Naming Consistency5/5

    Every tool follows a uniform govdata_<verb>_<noun> pattern (search_datasets, get_dataset, list_publishers, get_resource), with the single-word govdata_health as a natural exception. Consistent snake_case and verb-first phrasing throughout.

    Tool Count5/5

    Six tools is well-scoped for a read-only CKAN-style dataset catalog: enough to cover discovery, detail lookup, and diagnostics without redundancy. Nothing feels padded, and the health probe is a sensible inclusion for a public API.

    Completeness3/5

    Read access is well covered (search, detail, resources, recency, status), but list_publishers is a dead end — there is no way to fetch datasets filtered by a publisher, and search only accepts a free-text query, so agents cannot follow the publisher link. Resource discovery is also limited to IDs obtained from dataset details.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching and retrieving Australian open government data from data.gov.au via CKAN API, including datasets, organizations, groups, tags, and resources.
      58 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching and exploring New Zealand government data via CKAN API, including full-text search, organizations, groups, tags, and recent changes.
      65 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables querying and exploring public data from Chile's datos.gob.cl CKAN portal, including full-text search, faceted search, and listing organizations and tags.
      53 npm
      MIT