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

mcp-data-gouv-fr

by Hug0x0

mcp-data-gouv-fr

MCP server for searching and inspecting French public datasets on data.gouv.fr.

Scope

French open-data discovery, datasets, resources, organizations, and public API catalog navigation.

Related MCP server: data-iledefrance

Tools

  • 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

  • data_gouv_fr_preview_resource

Install

npm install
npm run build
npm test
npm run dev

Claude Desktop

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

Sources

Example Prompts

  • "Search for datasets about air quality in France."

  • "Find resources for a data.gouv.fr dataset slug."

  • "List public API catalog entries related to transport."

Safety

This MCP helps agents discover and summarize public sources. It is not an official authority. For emergency, legal, or administrative decisions, follow the competent public service.

Glama / Docker

The repo includes Dockerfile and glama.json.

Publishing notes: docs/publishing.md.

Build steps:

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

CMD arguments:

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

License

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

    ActivityActive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables querying SNCF Open Data (train schedules, stations, punctuality, etc.) through natural language or direct tool calls, with dataset search, metadata retrieval, and ODSQL querying.
      105 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching and querying Île-de-France open data datasets (transport, environment, economy, etc.) via natural language or direct tool calls.
      107 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching and querying datasets from Rennes Métropole Open Data portal through natural language or structured queries using ODSQL.
      110 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      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.
      101 npm
      MIT