Datagouv Mcp
Official data.gouv.fr Model Context Protocol (MCP) server that allows AI chatbots to search, explore, and analyze datasets from the French national Open Data platform, directly through conversation.
Add to your client
Claude Code — run this in your terminal:
claude mcp add --transport http datagouv https://mcp.data.gouv.fr/mcpClaude Desktop and other clients: paste this into the configuration file
{
"mcpServers": {
"datagouv": {
"url": "https://mcp.data.gouv.fr/mcp"
}
}
}Built from the configuration example in the project's README. The buttons open the app on your computer, which asks you to confirm before anything is added.
Tools it offers (10)
As the server itself reported on Nov 12, 2026. We only list tools; we never call them.
search_datasets
Search for datasets on data.gouv.fr by keywords. This is typically the first step in exploring data.gouv.fr. Use short, specific queries (the API uses AND logic, so generic words like "données" or "fichier" may return zero results). Use `sort` to order results. Accepted values: created, last_update,
query: stringpage?: integerpage_size?: integersort?last_update_range?
search_organizations
Find publishing organizations on data.gouv.fr (who publishes datasets and reuses). Pass a short `query` with distinctive words (acronym, ministry name, city, "INSEE", etc.). Generic or very broad terms often return large result sets; combine with `page` / `page_size` or add `badge` / `name` / `busin
query?: stringpage?: integerpage_size?: integersort?badge?name?business_number_id?
search_dataservices
Search for third-party APIs (dataservices) on data.gouv.fr by keywords. Third-party APIs (or dataservices) are APIs registered in the data.gouv.fr catalog that provide programmatic access to data (unlike datasets which are static files). Use short, specific queries (the API uses AND logic, so generi
query: stringpage?: integerpage_size?: integer
get_dataservice_info
Get detailed metadata about a specific third-party API (dataservice). Returns title, description, organization, base_api_url, machine_documentation_url (OpenAPI/Swagger spec), license, and dates. To use a third-party API: (1) get its info here, (2) fetch the OpenAPI spec via get_dataservice_openapi_
dataservice_id: string
get_dataservice_openapi_spec
Fetch and summarize the OpenAPI/Swagger spec for a third-party API (dataservice). Retrieves machine_documentation_url from catalog metadata (dataservice record), fetches the spec, and returns a summary of available endpoints with their parameters. Use this to understand how to call the API. Typical
dataservice_id: string
query_resource_data
Query tabular data from a resource via the Tabular API (no download needed). Works for CSV/XLSX files. Start with small page_size (20) to preview structure. Use filter_column/filter_value/filter_operator to filter, sort_column/sort_direction to sort. Filter operators: exact, contains, less, greater,
resource_id: stringpage?: integerpage_size?: integerfilter_column?filter_value?filter_operator?: stringsort_column?sort_direction?: string
get_dataset_info
Get detailed metadata about a specific dataset. Returns title, description, organization, tags, resource count, creation/update dates, and license information.
dataset_id: string
list_dataset_resources
List all resources (files) in a dataset with their metadata. Returns resource ID, title, format, size, and URL for each file. Next step: use query_resource_data for CSV/XLSX files via the Tabular API, or fetch the resource URL directly for other formats (JSON, JSONL) or large datasets.
dataset_id: string
Install
claude mcp add --transport http datagouv https://mcp.data.gouv.fr/mcpgit clone git@github.com:datagouv/datagouv-mcp.gitnpx @modelcontextprotocol/inspector --http-url "http://127.0.0.1:${MCP_PORT}/mcp"Copied from the project's README. Read what it does before you run it.
README scanSafe
Nothing risky found in the commands its README asks you to run.
We scan the README only, not the code. A clean result is not proof of safety. How we scan
Repository
- Stars
- 1,610
- Forks
- 141
- Last updated
- Nov 13, 2026
- License
- MIT
- Language
- Python
- Created
- Nov 25, 2025
- Open issues
- 8
- Quality score
- A 76/100
datagouv/datagouv-mcp
Read from GitHub daily.
Pricing
Open SourceMade by
No owner listed.
Sign in to claim this tool.