Skip to main content

dutch-gov-mcp

Unofficial MCP server for Dutch government open data. Query thousands of public datasets, official statistics, and the business registry from data.overheid.nl, CBS (Statistics Netherlands), and KVK (Chamber of Commerce) directly through AI conversation.

Inspired by France's official MCP server for data.gouv.fr — the first government MCP server. This project brings the same playbook to the Netherlands.

No API key. No auth. 14 tools. Drop it into Claude Desktop and ask.

What you can do

Ask an AI things like:

  • "What datasets are available about housing prices in the Netherlands?"
  • "Show me CBS population statistics — what's the dataset identifier and what dimensions does it have?"
  • "Which Dutch government organizations publish environmental data?"
  • "Query CBS dataset 83765NED for the first 20 observations about Amsterdam neighborhoods."
  • "Find unemployment data on both data.overheid.nl and CBS and compare what's available."

The agent discovers datasets, inspects metadata, and queries rows — all through natural conversation.

Data sources

data.overheid.nl — National Open Data Portal (7 tools)

CKAN-based catalog of thousands of public datasets: tax, real estate, environment, transport, health. CC-0 licensed metadata.

Tool Purpose
search_datasets Full-text search with optional Solr filters
get_dataset Full metadata for one dataset
list_resources Files in a dataset
get_resource Details for a specific file
list_organizations Browse publishers
get_organization Details for one publisher
list_tags Browse available tags

CBS — Centraal Bureau voor de Statistiek (5 tools)

Official Dutch statistics via OData v4: population, economy, trade, housing, labor.

Tool Purpose
search_cbs_datasets Search the CBS catalog
get_cbs_dataset Dataset metadata + dimension list
get_cbs_dimensions Dimension definitions with sample values
query_cbs_data Query observations with $select, $filter, pagination
list_cbs_themes Browse statistical themes

CBS datasets can contain millions of rows. query_cbs_data returns one page at a time with a next_offset hint — ask for more when you need it.

KVK — Chamber of Commerce (2 tools)

Lookup basic company info and filed financial statements by KVK number. Uses KVK's free open-data endpoints.

Tool Purpose
lookup_company Basic company info by KVK number
lookup_company_finances Filed financial statement metadata by KVK number

Limitations (free dataset only):

  • Lookup by 8-digit KVK number only — no search by name, location, or SBI code (that requires a paid KVK subscription)
  • Only BV (private limited) and NV (public limited) companies included — no sole proprietorships, VOFs, etc.
  • Postal codes truncated to the first 2 digits (privacy)
  • Rate limit: 100 requests per 5 minutes

Installation

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "dutch-gov-mcp": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/dutch-gov-mcp", "run", "dutch-gov-mcp"]
    }
  }
}

Restart Claude Desktop. The tools appear in the MCP picker.

Local development

git clone https://github.com/<you>/dutch-gov-mcp
cd dutch-gov-mcp
uv sync
uv run dutch-gov-mcp         # stdio server
uv run pytest -m 'not integration'

Python 3.11+ required.

Examples

Search data.overheid.nl:

search_datasets(query="woningen", max_results=3)
→ {"count": 482, "results": [{"name": "...", "title": "Verkoop woningen", "organization": "...", "tags": [...]}]}

CBS — find, inspect, query:

search_cbs_datasets(query="bevolking")
→ [{"Identifier": "83765NED", "Title": "Kerncijfers wijken en buurten 2017", ...}]

get_cbs_dimensions(dataset_id="83765NED")
→ [{"Identifier": "WijkenEnBuurten", "Title": "Wijken en buurten", "sample_values": [...]}]

query_cbs_data(dataset_id="83765NED", max_results=5)
→ {"rows": [...], "returned": 5, "total": 1617279, "more_available": true, "next_offset": 5}

Future data sources

Planned for future sprints:

  • RDW — Vehicle registration
  • Kadaster BAG — Addresses and buildings
  • PDOK — Geospatial / GIS

Why this exists

France defined what "government AI readiness" looks like. Every government sits on massive public data behind unusable APIs. MCP makes that data accessible to agents. Unofficial, open-source, MIT-licensed.

License

MIT

Metadata

Release files for dutch-gov-mcp 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dutch-gov-mcp 0.3.0
File Size Uploaded Provenance Actions
dutch_gov_mcp-0.3.0.tar.gz 88.5 kB Without provenance Details for dutch_gov_mcp-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dutch-gov-mcp 0.3.0
File Interpreter ABI Platform Actions
dutch_gov_mcp-0.3.0-py3-none-any.whl Python 3 none any Details for dutch_gov_mcp-0.3.0-py3-none-any.whl

Total release size: 102.4 kB

Release files / dutch_gov_mcp-0.3.0.tar.gz

Download URL dutch_gov_mcp-0.3.0.tar.gz
Size 88.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3dd78912291628138f33d3215b3193a78b5b2cd61e248d24737910e1abc45851
BLAKE2b-256 checksum
How to use checksums
4e2e0be0431eeeca3e4e290fb142ecb933883836243effdfbd7d19276911354d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / dutch_gov_mcp-0.3.0-py3-none-any.whl

Download URL dutch_gov_mcp-0.3.0-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
527a1ef38cbf79628be2f9676fe3e0ba29a0371030cd5b8a68e9e503e61f30dc
BLAKE2b-256 checksum
How to use checksums
123af5724b1def69d4d6b25d1664d4d7a4754b886b0a602309fbca3c1d58d9c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for dutch-gov-mcp 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page