Skip to main content
Glama
mcp-data-gouv-fr

mcp-data-gouv-fr

by Hug0x0

mcp-data-gouv-fr

用于在 data.gouv.fr 上搜索和检查法国公共数据集的 MCP 服务器。

范围

法国开放数据发现、数据集、资源、组织以及公共 API 目录导航。

Related MCP server: mcp-data-rennes

工具

  • data_gouv_fr_get_sources

  • data_gouv_fr_search_data_gouv

  • data_gouv_fr_get_dataset

  • data_gouv_fr_fetch_source_excerpt

  • data_gouv_fr_explain_scope

  • data_gouv_fr_list_reference_items

  • data_gouv_fr_search_organizations

  • data_gouv_fr_search_dataservices

  • data_gouv_fr_list_dataset_resources

安装

npm install
npm run build
npm test
npm run dev

Claude Desktop

{
  "mcpServers": {
    "data-gouv-fr": {
      "command": "npx",
      "args": ["mcp-data-gouv-fr"]
    }
  }
}

来源

示例提示

  • "搜索关于法国空气质量的数据集。"

  • "查找 data.gouv.fr 数据集 slug 的资源。"

  • "列出与交通相关的公共 API 目录条目。"

安全

此 MCP 帮助代理发现和总结公共来源。它不是官方权威机构。对于紧急、法律或行政决策,请遵循主管的公共服务机构。

Glama / Docker

该仓库包含 Dockerfile 和 glama.json。

发布说明:docs/publishing.md。

构建步骤:

["npm install", "npm run build"]

CMD 参数:

["node", "dist/index.js"]

许可证

MIT

Available Tools

9 tools
data_gouv_fr_explain_scopeA

Explain what this MCP is useful for and how an agent should combine its sources.

Inputs: no named parameters.

data_gouv_fr_fetch_source_excerptA

Fetch a short text excerpt from one curated source URL. Use source_key as a number, title keyword, or URL fragment from get_sources.

Inputs: source_key (required), max_chars.

data_gouv_fr_get_datasetA

Inspect one data.gouv.fr dataset by slug or id using the official public API.

Inputs: dataset (required).

data_gouv_fr_get_sourcesA

List curated official and high-value sources for data.gouv.fr.

Inputs: no named parameters.

data_gouv_fr_list_dataset_resourcesA

List resources/files for a data.gouv.fr dataset, optionally filtered by format. Use after data_gouv_fr_get_dataset when the agent needs direct CSV/API/file URLs.

Inputs: dataset (required), limit, format.

data_gouv_fr_list_reference_itemsB

List built-in reference items for this MCP, when available.

Inputs: no named parameters.

data_gouv_fr_search_data_gouvB

Search public datasets on data.gouv.fr using the official public API.

Inputs: query, page_size.

data_gouv_fr_search_dataservicesA

Search the data.gouv.fr public API / dataservice catalog. Useful to discover reusable French public APIs by topic.

Inputs: query (required), page_size.

data_gouv_fr_search_organizationsA

Search data.gouv.fr organizations and producers. Useful to find certified public producers such as Etalab, INSEE, IGN, ministries, regions, departments, or municipalities.

Inputs: query (required), page_size.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 9 tools

    Disambiguation4/5

    Tools target distinct resources (sources, datasets, organizations, dataservices, vocabulary). However, 'get_sources' and 'fetch_source_excerpt' both relate to curated sources, requiring a clear two-step workflow, and 'explain_scope'/'list_reference_items' are meta/utility tools that might overlap in edge cases. Overall, clear separation of purpose is evident.

    Naming Consistency4/5

    All tools follow a consistent pattern: 'data_gouv_fr_' prefix plus a verb-noun or verb-object structure (get_sources, search_data_gouv, get_dataset, fetch_source_excerpt, list_reference_items). Minor deviation: 'explain_scope' is a meta-utility rather than a data operation, but naming remains predictable.

    Tool Count4/5

    9 tools for this server's scope (discovering and exploring data.gouv.fr resources) is reasonable and well-balanced. It's not too sparse nor overloaded. The inclusion of utility tools like 'explain_scope' and 'list_reference_items' slightly widens scope, but overall count is appropriate.

    Completeness4/5

    Covers discovery (search datasets, organizations, dataservices), inspection (get_dataset, list resources), and curated source access (get_sources, fetch_source_excerpt). Minor gap: no direct download or full text fetch of a resource (only excerpt), and no tool to browse dataset metadata beyond basic inspection, but core workflows are present.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching and querying Île-de-France open data datasets (transport, environment, economy, etc.) via natural language or direct tool calls.
      73 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching and querying datasets from Rennes Métropole Open Data portal through natural language or structured queries using ODSQL.
      77 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for the French open-data catalogue data.gouv.fr, enabling dataset search and retrieval, organization lookup, and reuse discovery via natural language queries.
      73 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying Portugal's national open data portal (dados.gov.pt) through natural language.
      83 npm
      MIT