PlugWiki
datagouv-mcp logo

data.gouv.fr MCP Server: Setup for Claude, Cursor and Other Apps

OfficialRemote

Lets Claude, ChatGPT or Cursor search and query datasets, publishers and APIs on data.gouv.fr, the French national open data platform.

This is the data.gouv.fr team's own server, made so an assistant can browse the platform in conversation. You connect to a public hosted address, and nobody signs in or needs a key. Questions can be in French or English.

All tools only read. You can also run your own copy with Docker if you want to control the address.

Good for

  • Journalists and researchers looking for French public data
  • Analysts who want to query CSV or Excel files without downloading them
  • Developers looking for public APIs listed on data.gouv.fr

Works in

14 should work

Tap an app to see how to set it up and any known problems.

Install datagouv MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the datagouv MCP server to Claude Code. Run this command:
    
    claude mcp add --transport http datagouv https://mcp.data.gouv.fr/mcp
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Built from the package data we hold. Not yet tested by us.

Tools

  • Searches French open datasets by keyword

    Searches data.gouv.fr datasets with short keywords and can sort by date, reuses, followers or views, or limit to recently updated ones. It is the usual first step.

    Try: “Which datasets exist about real estate prices?”

    Network · search_datasets

  • Shows details about one dataset

    Returns a dataset's title, description, publisher, tags, number of files, dates and license.

    Try: “Tell me about the dataset with this ID, including its license.”

    Network · get_dataset_info

  • Lists the files inside a dataset

    Returns each file's ID, title, format, size and URL for a dataset.

    Try: “What files are in this dataset and in which formats?”

    Network · list_dataset_resources

  • Shows details about one file and whether it can be queried

    Returns a file's format, size, MIME type and URL, and checks whether the Tabular API can read it directly.

    Try: “Can I query this resource directly or must I download it?”

    Network · get_resource_info

  • Reads rows from a CSV or Excel file without downloading it

    Queries a tabular file through data.gouv.fr's Tabular API with filters, sorting and paging. Start with a small page to see the columns.

    Try: “Show the first 20 rows of this file, filtered to Paris.”

    Network · query_resource_data

  • Finds who publishes data on data.gouv.fr

    Looks up publishing organizations by name or acronym, with optional filters by badge and sort order, or lists them page by page.

    Try: “Find INSEE on data.gouv.fr and tell me how many datasets it publishes.”

    Network · search_organizations

  • Finds third-party APIs registered on data.gouv.fr

    Searches APIs listed in the catalog that give programmatic access to data, as opposed to static files.

    Try: “Is there an API for address lookups on data.gouv.fr?”

    Network · search_dataservices

  • Shows details about one registered API

    Returns an API's title, description, publisher, base URL, link to its OpenAPI spec, license and dates.

    Try: “Give me the base URL and license of this API.”

    Network · get_dataservice_info

  • Summarizes an API's endpoints

    Fetches the API's OpenAPI or Swagger spec and returns a summary of its endpoints and parameters.

    Try: “What endpoints does this API offer and what parameters do they take?”

    Network · get_dataservice_openapi_spec

  • Shows visit and download counts for a dataset or file

    Returns monthly visit and download numbers for a dataset or resource, most recent first. It works on the production site only.

    Try: “How many downloads did this dataset get each month this year?”

    Network · get_metrics

Listed by the running server in our sandbox

Permissions

low risk · 2 things to watch

Low risk

Every tool only reads public data from data.gouv.fr, so the main risk is trusting numbers without checking the source. Check figures against the dataset page before you publish them.

What it can do

Watch out for

  • Your questions go to a public hosted service

    Queries run on mcp.data.gouv.fr, run by the project. The source can log tool events to a Matomo analytics server when the operator sets it up, including client IP and user agent. The README does not say whether the public instance does. Avoid putting private text in prompts. github.com

  • Data quality depends on the publisher

    Anyone can publish a dataset on data.gouv.fr, so check the publisher and license before you rely on a figure. github.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Turning on read-onlyAll tools are read-only; the README says it only exposes read-only tools for now.
Talks tomcp.data.gouv.fr. data.gouv.fr and the Tabular API. API documentation URLs of registered APIs (SSRF-checked)
Sign-in and keysNone. No API key.

Questions

Is the data.gouv.fr MCP server official?

Yes. It is published by the datagouv organisation, the team behind data.gouv.fr, and the README calls the hosted endpoint the public instance for everyone.

What is the data.gouv.fr MCP server URL?

https://mcp.data.gouv.fr/mcp. It uses Streamable HTTP only, so stdio and SSE are not supported.

Do I need an API key or account?

No. The hosted endpoint has no access restrictions and the README says no API key is required.

Can it change or delete anything?

No. The tools only search and read data on data.gouv.fr.

Does it work in ChatGPT?

Yes, on paid plans. The README says to turn on Developer mode in ChatGPT settings, add a new connector and paste the server URL.

How do I add it to Claude Code?

Use the install box above. The README documents Claude Code, Claude Desktop, Cursor, Gemini CLI, VS Code, Windsurf, OpenCode and several other apps.

Can I run my own copy?

Yes. The README recommends Docker for self-hosting, with settings for host, port and the production or demo data.gouv.fr environment. Set the host to 127.0.0.1 for local use because it defaults to every interface.

Information

updated Nov 2, 2026

Publisher
Official
Transport
Streamable HTTP
Auth
None
License
MIT
Last commit
Oct 20, 2026
Open issues
6

WebsiteGitHubChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 1
  1. README.md · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.