dutch-gov-mcp
dutch-gov-mcp
用于荷兰政府开放数据的非官方 MCP 服务器。通过 AI 对话直接查询来自 data.overheid.nl、CBS(荷兰统计局)和 KVK(商会)的数千个公共数据集、官方统计数据和企业注册信息。
灵感来源于 法国官方 data.gouv.fr MCP 服务器 —— 这是首个政府 MCP 服务器。本项目将同样的模式引入了荷兰。
无需 API 密钥。无需身份验证。包含 14 个工具。将其放入 Claude Desktop 即可开始提问。
你可以做什么
向 AI 询问如下问题:
“有哪些关于荷兰房价的数据集?”
“显示 CBS 人口统计数据 —— 数据集标识符是什么,它有哪些维度?”
“哪些荷兰政府机构发布环境数据?”
“查询 CBS 数据集 83765NED,获取关于阿姆斯特丹社区的前 20 条观测数据。”
“在 data.overheid.nl 和 CBS 上查找失业数据,并比较它们的可获取性。”
代理程序可以通过自然对话发现数据集、检查元数据并查询行数据。
Related MCP server: satudata-ngawi
数据源
data.overheid.nl — 国家开放数据门户(7 个工具)
基于 CKAN 的数千个公共数据集目录:税务、房地产、环境、交通、健康。元数据采用 CC-0 许可。
工具 | 用途 |
| 全文搜索,支持可选的 Solr 过滤器 |
| 获取单个数据集的完整元数据 |
| 列出数据集中的文件 |
| 获取特定文件的详细信息 |
| 浏览发布机构 |
| 获取单个发布机构的详细信息 |
| 浏览可用标签 |
CBS — Centraal Bureau voor de Statistiek(5 个工具)
通过 OData v4 获取的荷兰官方统计数据:人口、经济、贸易、住房、劳动力。
工具 | 用途 |
| 搜索 CBS 目录 |
| 数据集元数据 + 维度列表 |
| 包含示例值的维度定义 |
| 使用 |
| 浏览统计主题 |
CBS 数据集可能包含数百万行数据。query_cbs_data 每次返回一页数据并提供 next_offset 提示 —— 需要更多数据时请继续询问。
KVK — 商会(2 个工具)
通过 KVK 号码查询基本公司信息和已归档的财务报表。使用 KVK 的免费开放数据端点。
工具 | 用途 |
| 通过 KVK 号码获取基本公司信息 |
| 通过 KVK 号码获取已归档的财务报表元数据 |
限制(仅限免费数据集):
仅限通过 8 位 KVK 号码查询 —— 不支持按名称、地点或 SBI 代码搜索(这需要付费的 KVK 订阅)
仅包含 BV(私营有限公司)和 NV(公共有限公司)—— 不包含个体经营者、VOF 等。
邮政编码截断为前 2 位(出于隐私考虑)
速率限制:每 5 分钟 100 次请求
安装
Claude Desktop(通过 PyPI — 推荐)
添加到 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"dutch-gov-mcp": {
"command": "uvx",
"args": ["dutch-mcp-server"]
}
}
}重启 Claude Desktop。工具将出现在 MCP 选择器中。
Claude Desktop(从源码安装)
{
"mcpServers": {
"dutch-gov-mcp": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/dutch-gov-mcp", "run", "dutch-gov-mcp"]
}
}
}本地开发
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+。
从 PyPI 安装
pip install dutch-mcp-server示例
搜索 data.overheid.nl:
search_datasets(query="woningen", max_results=3)
→ {"count": 482, "results": [{"name": "...", "title": "Verkoop woningen", "organization": "...", "tags": [...]}]}CBS — 查找、检查、查询:
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}未来数据源
计划在未来的迭代中加入:
RDW — 车辆登记
Kadaster BAG — 地址和建筑物
PDOK — 地理空间 / GIS
为什么存在这个项目
法国定义了什么是“政府 AI 就绪”。每个政府都坐拥海量公共数据,却被困在难以使用的 API 之后。MCP 让这些数据能够被 AI 代理访问。非官方、开源、MIT 许可。
许可
MIT
Available Tools
14 toolsget_cbs_datasetB
Get detailed metadata for a CBS dataset.
Inputs: dataset_id (required). Returns: object
get_cbs_dimensionsC
Get dimension definitions for a CBS dataset.
Dimensions describe what the columns mean and which values they can take.
Inputs: dataset_id (required). Returns: result
get_datasetB
Get detailed metadata for a specific dataset.
Inputs: dataset_id (required). Returns: object
get_organizationB
Get details about a specific publishing organization.
Inputs: organization_id (required), include_datasets. Returns: object
get_resourceC
Get details about a specific file/resource.
Inputs: resource_id (required). Returns: object
list_cbs_themesB
List CBS statistical themes (Arbeid, Bevolking, Economie, etc.).
Inputs: no named parameters. Returns: result
list_organizationsB
List organizations that publish data on data.overheid.nl.
Inputs: include_details. Returns: result
list_resourcesB
List all files and resources in a dataset.
Inputs: dataset_id (required). Returns: result
list_tagsB
List available tags, optionally filtered by a search term.
Inputs: query. Returns: result
lookup_companyA
Look up a Dutch company by KVK number (Chamber of Commerce registry).
Only covers BV (private limited) and NV (public limited) companies in the free open dataset. Postal codes are truncated to the first 2 digits.
Inputs: kvk_number (required). Returns: object
lookup_company_financesB
Look up publicly filed financial statement metadata for a Dutch company.
Only covers BV and NV companies in the free open dataset.
Inputs: kvk_number (required). Returns: object
query_cbs_dataB
Query statistical data from a CBS dataset. Returns observation rows.
Inputs: dataset_id (required), select, filter, max_results, +1 more. Returns: object
search_cbs_datasetsB
Search CBS (Statistics Netherlands) for statistical datasets.
Inputs: query (required), max_results. Returns: result
search_datasetsB
Search Dutch government datasets on data.overheid.nl.
Inputs: query (required), max_results, offset, filter. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have distinct purposes, such as get_cbs_dataset vs. get_dataset for CBS-specific vs. general metadata, and lookup_company vs. lookup_company_finances for different company data types. However, some overlap exists between search_cbs_datasets and search_datasets, which could cause confusion despite their CBS vs. general focus.
All tool names follow a consistent verb_noun pattern using snake_case, with clear prefixes like 'get_', 'list_', 'lookup_', 'query_', and 'search_' that align with their actions. This uniformity makes the tool set predictable and easy to navigate.
With 14 tools, the server is well-scoped for its domain of Dutch government data access, covering CBS statistics, company lookups, and general dataset searches. Each tool serves a specific function without redundancy, making the count appropriate for the server's purpose.
The tool set provides comprehensive coverage for querying and retrieving Dutch government data, including metadata, dimensions, resources, and statistical queries. A minor gap is the lack of update or delete operations, but this is reasonable for a read-only data access server, and agents can work around this limitation.
Related MCP Connectors
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
KVK Handelsregister AI Connect: hosted MCP server for the Dutch business register.
Netherlands Open Data (data.overheid.nl/data) CKAN MCP.
Agent-native MCP server over 49M+ US public and government records, privacy-first, always current.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server for discovering, downloading, querying, and analyzing datasets from Ontario's open data portals, allowing natural language questions and high-performance analytics via DuckDB.231MIT
- AlicenseAqualityDmaintenanceMCP server for accessing Indonesian local government data from Satu Data Ngawi. Enables querying datasets, organizations, categories, and statistics through natural language.613 npmMIT
- AlicenseAqualityDmaintenanceAn MCP server to find and fetch Norwegian open government data from data.norge.no. Enables search, metadata retrieval, and data download.54MIT
- AlicenseNot gradedqualityBmaintenanceEnables querying open data platforms like CKAN via natural language. Provides a configurable MCP server with plugins for different data sources.MIT