data.gouv.fr MCP

data.gouv.fr MCP Server

Official MCP server for France's open data portal: search, explore and query datasets straight from a chat with the agent

MCP serverOfficial

Medium risk

We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.

Why this level

  • Connects to a remote endpoint and reads data from an external API
  • When self-hosted, it runs a network server on the host
All reasons and checks

datagouv/datagouv-mcp

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add mcp/data-gouv-fr-mcp-server

Detects the agents on your machine, checks the risk and pins the version.

Other ways to install

Run in a terminal

claude mcp add --transport http datagouv https://mcp.data.gouv.fr/mcp

Or add to the file .mcp.json, in the project

{
  "mcpServers": {
    "datagouv": {
      "type": "http",
      "url": "https://mcp.data.gouv.fr/mcp"
    }
  }
}

If the file already exists, add the server inside the mcpServers key.

Install in Cursor

The button opens the agent and offers to add the server. If nothing happens, copy the config below.

Add to the file ~/.cursor/mcp.json, for all projects

{
  "mcpServers": {
    "datagouv": {
      "url": "https://mcp.data.gouv.fr/mcp"
    }
  }
}

If the file already exists, add the server inside the mcpServers key. For a single project, put the same block into .cursor/mcp.json.

Install in VS Code

The button opens the agent and offers to add the server. If nothing happens, copy the config below.

Run in a terminal

code --add-mcp '{"name":"datagouv","type":"http","url":"https://mcp.data.gouv.fr/mcp"}'

Or add to the file .vscode/mcp.json, in the project

{
  "servers": {
    "datagouv": {
      "type": "http",
      "url": "https://mcp.data.gouv.fr/mcp"
    }
  }
}

If the file already exists, add the server inside the servers key.

Run in a terminal

codex mcp add datagouv --url https://mcp.data.gouv.fr/mcp

Or add to the file ~/.codex/config.toml, for all projects

[mcp_servers.datagouv]
url = "https://mcp.data.gouv.fr/mcp"

If the file already exists, append the block to the end.

Run in a terminal

gemini mcp add -s user -t http datagouv https://mcp.data.gouv.fr/mcp

Or add to the file ~/.gemini/settings.json, for all projects

{
  "mcpServers": {
    "datagouv": {
      "httpUrl": "https://mcp.data.gouv.fr/mcp"
    }
  }
}

If the file already exists, add the server inside the mcpServers key.

Add to the file ~/.config/devin/mcp_config.json, for all projects

{
  "mcpServers": {
    "datagouv": {
      "serverUrl": "https://mcp.data.gouv.fr/mcp"
    }
  }
}

If the file already exists, add the server inside the mcpServers key. Legacy Cascade keeps the MCP config in ~/.codeium/windsurf/mcp_config.json.

Formerly Windsurf.

Add to the file cline_mcp_settings.json, for all projects

{
  "mcpServers": {
    "datagouv": {
      "type": "streamableHttp",
      "url": "https://mcp.data.gouv.fr/mcp"
    }
  }
}

If the file already exists, add the server inside the mcpServers key. Open the settings file in Cline: MCP Servers tab, Configure MCP Servers.

Add to the file .roo/mcp.json, in the project

{
  "mcpServers": {
    "datagouv": {
      "type": "streamable-http",
      "url": "https://mcp.data.gouv.fr/mcp"
    }
  }
}

If the file already exists, add the server inside the mcpServers key.

A fork of Roo Code, same .roo folders.

Add to the file opencode.json, in the project

{
  "mcp": {
    "datagouv": {
      "type": "remote",
      "url": "https://mcp.data.gouv.fr/mcp"
    }
  }
}

If the file already exists, add the server inside the mcp key.

Add to the file ~/.config/zed/settings.json, for all projects

{
  "context_servers": {
    "datagouv": {
      "url": "https://mcp.data.gouv.fr/mcp"
    }
  }
}

If the file already exists, add the server inside the context_servers key.

Checked against the repository on Sep 25, 2026, commit 5a37d6f.

Text for your agent

Connect the MCP server: claude mcp add --transport http datagouv https://mcp.data.gouv.fr/mcp. No key is needed; the server is read-only.

Other ways from the author
claude mcp add --transport http datagouv https://mcp.data.gouv.fr/mcp

Connects to the public endpoint; no key needed.

This is third-party code. Review the repository files before installing.

What it does

The server exposes data.gouv.fr, France's national open data portal, to the agent through a set of MCP tools. The agent searches datasets and organizations, reads descriptions and metadata, lists the resources inside a dataset, reaches tabular data and data services, and pulls usage metrics. A public hosted HTTP endpoint is ready for any MCP client, and self-hosting is available through Docker or uv. For now the server exposes read-only tools, so no access key is required.

Who it is for. For analysts, researchers and developers who need French open data without hand-searching the portal.

Good fit when

  • You need to find a dataset on data.gouv.fr by topic and inspect its resources
  • You need to query rows from a tabular resource without downloading the whole file
  • You need to gather a dataset's metadata and usage metrics for a report

Not a fit when

  • You need data from outside the French portal
  • You need to write or change data rather than only read it

Example request

Find datasets about real estate prices on data.gouv.fr and show what resources they contain

Limitations

The server works only with data.gouv.fr data and exposes read tools; it cannot edit data. The public endpoint serves the portal's production environment; the demo environment needs self-hosting with the DATAGOUV_API_ENV variable. Local runs need Docker or uv. On Windows with Claude Desktop the mcp-remote bridge may fail to connect because of the client's built-in Node, in which case the config sets isUsingBuiltInNodeForMcp to false.

How to disable. Remove the datagouv server from your client's MCP configuration. If you ran it locally, stop the container with docker compose down.

MCP

Transport
http
Authentication
not required
Environment variables
Environment variables
DATAGOUV_API_ENV
Portal environment for self-hosting: prod by default or demo.
MCP_PORT
HTTP server port for local runs, 8000 by default.
SENTRY_DSN
secret
Sentry DSN for error monitoring, disabled by default.

Security check

  • Connects to a remote endpoint and reads data from an external API
  • When self-hosted, it runs a network server on the host

README in short

The README shows how to connect the server to many clients: Claude Code, Claude Desktop, Cursor, Gemini CLI, VS Code, Windsurf, OpenCode and others. The recommended path is the public endpoint https://mcp.data.gouv.fr/mcp with no access restrictions. Tools cover dataset and organization search, metadata reading, resources and tabular data, data services and metrics. For self-hosting it documents Docker Compose and a manual uv install with a set of environment variables. MIT licensed.

FAQ

Do I need an access key?

No. The server currently exposes only read tools, so no key is required.

Can I avoid the public endpoint?

Yes. The repository runs locally through Docker or uv, and then you point your client to your own URL.

Editors’ pick

166 skills for scientific work: bioinformatics, cheminformatics, clinical data, geospatial analysis and 100+ databases

SkillMedium risk47KRepository stars
Official

Google's open-source MCP server for databases: ready tools for Postgres, MySQL, BigQuery, Spanner and more, plus custom tools in tools.yaml

MCP serverHigh risk16.5KRepository stars
Editors’ pick

Official Hugging Face skills: Hub operations via the hf CLI, datasets, model training, Spaces, evals and deployment

SkillHigh risk11.1KRepository stars
Official

A visualization language for agents and an MCP server: neat charts from a simple semantic spec

MCP serverMedium riskNo VPN needed4.3KRepository stars
Foxx AIdata.gouv.fr MCP

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.