Skip to main content
mcpSource-backed
data.gouv.fr logo

data.gouv.fr MCP Server

Official data.gouv.fr MCP server for searching French national open datasets, exploring organizations and data services, inspecting resources, querying tabular data, and retrieving dataset metrics through Claude.

by data.gouv.fr · submitted by oktofeesh1·added 2026-06-06·
Review first review before installing

Open the source and read safety notes before installing.

Citation facts

Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.

Source URLs
https://raw.githubusercontent.com/datagouv/datagouv-mcp/main/README.md, https://github.com/datagouv/datagouv-mcp
Brand
data.gouv.fr
Brand domain
data.gouv.fr
Brand asset source
brandfetch
Safety notes
The hosted endpoint is documented as publicly available without access restrictions, so treat requests and returned public-data context as externally visible., Tools are read-only but can retrieve dataset metadata, resource URLs, rows from tabular resources, service OpenAPI specs, metrics, and organization details that may influence decisions., Public open data can be stale, incomplete, licensed with reuse conditions, or unsuitable for operational decisions without checking the dataset publisher and update cadence., Tabular queries can return rows from large resources; use small page sizes and pagination instead of asking an agent to pull entire datasets through chat., If self-hosting, review MCP_HOST, allowed hosts, allowed origins, Sentry, Matomo, and API-environment settings before exposing the server.
Privacy notes
Search terms, dataset interests, resource IDs, user-agent headers, request URLs, tool names, and returned dataset rows may be visible to the hosted MCP service, MCP client, model provider, and logs., The server includes optional Matomo and Sentry instrumentation in source; hosted deployments may apply their own analytics and error-reporting policies., Public datasets can still contain personal data, geographic sensitivity, business identifiers, or regulated information; review source metadata and reuse terms before sharing results., Avoid placing private investigation notes, customer context, or unpublished analysis inside prompts when a generic dataset search is enough.
Author
data.gouv.fr
Submitted by
oktofeesh1
Claim status
unclaimed
Last verified
2026-06-06

Decision playbook

Review trust signals before you adopt

Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.

Compare context
Selected

0

Current score

63

Baseline

Delta

No baseline selected

No major trust-signal divergence detected in the current selection.

Source and provenance checks

Needs review

Confirm ownership and provenance before trusting install instructions.

  • Source link availableRequired

    Open the canonical repository and verify ownership.

    Done
  • Source provenance statusRequired

    Marked as source-backed.

    Done
  • Metadata reviewed

    No reviewed flag detected in metadata.

    Pending

Safety and privacy checks

Complete

Validate risk disclosures before installation or API wiring.

  • Safety notes presentRequired

    Review the listed safety guidance before running commands.

    Done
  • Privacy notes presentRequired

    Review data handling notes before connecting accounts or secrets.

    Done
  • Trust level risk gateRequired

    Trust level does not block evaluation.

    Done

Package and install checks

Needs review

Check package metadata and artifact integrity signals.

  • Install payload available

    Install or copy payload is available for review.

    Done
  • Package verification flag

    No package verification flag provided.

    Pending
  • Checksum metadata

    No checksum provided for downloaded artifact.

    Pending

Compare-driven decision checks

Needs review

Use compare context to validate trade-offs before adoption.

  • Compare tray has multiple entries

    Add at least one more entry to compare trust differences.

    Pending
  • Baseline comparison available

    No baseline peer selected yet.

    Pending
  • Diverging trust signals identified

    No major trust-signal divergence found.

    Pending

Setup at a glance

CLI install

Copy-ready — paste the snippet to get started.

5 minutes

Adoption plan

Balanced adoption plan

Current risk score 24/100. Use staged verification before broader rollout.

Risk 24

Pre-adoption checks

Validate source and review signals before any execution.

  • Confirm source provenanceRequired

    Source URL/provenance metadata is present.

    Done
  • Confirm metadata review state

    No review metadata found; increase manual validation.

    Pending
  • Verify install payload

    Install/config payload exists and can be inspected.

    Done

Security checks

Confirm safety, privacy, and package integrity signals.

  • Review safety notesRequired

    Safety notes are present.

    Done
  • Review privacy notesRequired

    Privacy notes are present.

    Done
  • Verify package integrity metadata

    No package verification/checksum metadata.

    Pending

Rollout

Adopt in controlled steps based on the selected plan.

  • Run in isolated sandbox firstRequired

    Use a constrained sandbox and observe behavior across multiple tasks.

    Pending
  • Roll out graduallyRequired

    Roll out to a small cohort before wider usage.

    Pending
  • Set monitoring and fallback

    Define rollback path and monitor errors after adoption.

    Pending

Evidence readiness

Evidence readiness matrix · balanced

Missing required evidence: Metadata review. Risk score 31.

Risk 31

Source provenance

Present

Source repository/provenance is listed.

Required in this preset

Metadata review

Missing

Review metadata is missing.

Required in this preset

Safety notes

Present

Safety notes are present.

Required in this preset

Privacy notes

Present

Privacy notes are present.

Optional in this preset

Package integrity

Missing

Package integrity metadata is missing.

Optional in this preset

Install payload

Present

Install payload is available.

Required in this preset

Required gaps: Metadata review

Decision timeline

Decision timeline · balanced

Blocking gaps: Check metadata review status. Risk 28.

Risk 28

triage

Confirm source provenanceRequired

Source/provenance metadata is available.

Done

triage

Check metadata review statusRequired

Review metadata is missing.

Pending

verify

Review safety notesRequired

Safety notes are available.

Done

verify

Review privacy notes

Privacy notes are available.

Done

verify

Validate package integrity metadata

Package integrity metadata is missing.

Pending

rollout

Verify install payload and commandsRequired

Install payload is available.

Done

Blockers: Check metadata review status

Prerequisite readiness

Prerequisite readiness

4 prerequisites to line up before setup. Includes a review or approval gate.

0/4 ready
Install & runtime1Configuration1Network & hosting1Review & approval15 minutes

Safety & privacy surface

Safety & privacy surface

5 safety and 4 privacy notes across 3 risk areas. Review closely: network access.

3 areas
  • SafetyNetwork accessThe hosted endpoint is documented as publicly available without access restrictions, so treat requests and returned public-data context as externally visible.
  • SafetyTelemetryTools are read-only but can retrieve dataset metadata, resource URLs, rows from tabular resources, service OpenAPI specs, metrics, and organization details that may influence decisions.
  • SafetyGeneralPublic open data can be stale, incomplete, licensed with reuse conditions, or unsuitable for operational decisions without checking the dataset publisher and update cadence.
  • SafetyGeneralTabular queries can return rows from large resources; use small page sizes and pagination instead of asking an agent to pull entire datasets through chat.
  • SafetyGeneralIf self-hosting, review MCP_HOST, allowed hosts, allowed origins, Sentry, Matomo, and API-environment settings before exposing the server.
  • PrivacyNetwork accessSearch terms, dataset interests, resource IDs, user-agent headers, request URLs, tool names, and returned dataset rows may be visible to the hosted MCP service, MCP client, model provider, and logs.
  • PrivacyTelemetryThe server includes optional Matomo and Sentry instrumentation in source; hosted deployments may apply their own analytics and error-reporting policies.
  • PrivacyGeneralPublic datasets can still contain personal data, geographic sensitivity, business identifiers, or regulated information; review source metadata and reuse terms before sharing results.
  • PrivacyGeneralAvoid placing private investigation notes, customer context, or unpublished analysis inside prompts when a generic dataset search is enough.

Safety notes

  • The hosted endpoint is documented as publicly available without access restrictions, so treat requests and returned public-data context as externally visible.
  • Tools are read-only but can retrieve dataset metadata, resource URLs, rows from tabular resources, service OpenAPI specs, metrics, and organization details that may influence decisions.
  • Public open data can be stale, incomplete, licensed with reuse conditions, or unsuitable for operational decisions without checking the dataset publisher and update cadence.
  • Tabular queries can return rows from large resources; use small page sizes and pagination instead of asking an agent to pull entire datasets through chat.
  • If self-hosting, review MCP_HOST, allowed hosts, allowed origins, Sentry, Matomo, and API-environment settings before exposing the server.

Privacy notes

  • Search terms, dataset interests, resource IDs, user-agent headers, request URLs, tool names, and returned dataset rows may be visible to the hosted MCP service, MCP client, model provider, and logs.
  • The server includes optional Matomo and Sentry instrumentation in source; hosted deployments may apply their own analytics and error-reporting policies.
  • Public datasets can still contain personal data, geographic sensitivity, business identifiers, or regulated information; review source metadata and reuse terms before sharing results.
  • Avoid placing private investigation notes, customer context, or unpublished analysis inside prompts when a generic dataset search is enough.

Prerequisites

  • MCP client that supports Streamable HTTP or a remote MCP bridge such as mcp-remote.
  • Agreement on whether hosted data.gouv.fr MCP requests may be sent to the public hosted endpoint.
  • Public-data review process for datasets that may contain personal, sensitive, stale, or jurisdiction-specific information.
  • Python 3.13 or newer only if self-hosting the repository instead of using the hosted endpoint.

Schema details

Install type
cli
Troubleshooting
No
Source repository stats
Scope
Source repo
Collection metadata
Estimated setup
5 minutes
Difficulty
beginner
Full copyable content
{
  "mcpServers": {
    "datagouv": {
      "url": "https://mcp.data.gouv.fr/mcp",
      "type": "http"
    }
  }
}

About this resource

Content

data.gouv.fr MCP Server is the official MCP server for France's national open data platform. It lets Claude and other MCP clients search datasets and organizations, discover data services, inspect dataset and resource metadata, query tabular resources, retrieve metrics, and read data-service OpenAPI specs through the hosted Streamable HTTP endpoint.

Use it when a research, civic-tech, policy, data-journalism, or analytics workflow needs conversational access to French public datasets without manually browsing the data.gouv.fr website first. The hosted endpoint is documented by the project as publicly available at https://mcp.data.gouv.fr/mcp.

Source Review

These sources were reviewed on 2026-06-06. Prefer the live repository, README, license, Python package metadata, server entrypoint, tool registration, dataset search tool, tabular query tool, and Matomo helper for current hosted endpoint, self-hosting, tool, and instrumentation behavior.

Features

  • Search data.gouv.fr datasets by keyword, sort order, and update range.
  • Search organizations and data services.
  • Retrieve dataset, resource, organization, and data-service details.
  • List resources attached to a dataset.
  • Query tabular resource rows through the Tabular API without downloading the original CSV or XLSX file.
  • Retrieve metrics for supported datasets or resources.
  • Read OpenAPI specs for data services.
  • Run as a public hosted Streamable HTTP endpoint or self-host the Python server.

Installation

Add the hosted endpoint to Claude Code:

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

For clients that use JSON configuration, use:

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

Claude Desktop and some older local clients may need mcp-remote as documented in the upstream README.

Use Cases

  • Ask Claude to find French public datasets for a policy, journalism, or civic research question.
  • List resources for a dataset and inspect the available CSV, XLSX, or API files.
  • Preview tabular rows before deciding whether to download the full source file.
  • Explore organizations that publish data on a topic.
  • Retrieve metrics for dataset usage and visibility.
  • Read a data service's OpenAPI specification before integrating it into an application.

Safety and Privacy

The server is read-only, but public data is not automatically correct, current, complete, or safe to reuse without context. Check publisher metadata, resource freshness, licenses, and data quality before using outputs in operational, legal, policy, or public-facing decisions.

Hosted use sends prompts and tool calls to the public data.gouv.fr MCP endpoint. The source includes Matomo and Sentry integration points, so treat request URLs, user-agent context, tool names, errors, and dataset interests as potentially observable under the hosted service's policies.

Tabular resources may contain personal or sensitive public-sector data. Avoid asking an agent to collect large volumes of rows into chat, and review reuse terms before sharing or republishing results.

Duplicate Check

No data.gouv.fr MCP Server, datagouv/datagouv-mcp, datagouv-mcp, or matching data.gouv.fr MCP source URL was found in content/mcp.

Source citations

Add this badge to your README

Show that data.gouv.fr MCP Server is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.

Listed on HeyClaude
[![Listed on HeyClaude](https://heyclau.de/badge/mcp/datagouv-mcp-server.svg)](https://heyclau.de/entry/mcp/datagouv-mcp-server)

How it compares

data.gouv.fr MCP Server side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.

Field

Official data.gouv.fr MCP server for searching French national open datasets, exploring organizations and data services, inspecting resources, querying tabular data, and retrieving dataset metrics through Claude.

Open dossier

Open source MCP server for querying Brazilian public data sources, including economic, legislative, transparency, judicial, electoral, environmental, health, education, public-safety, aviation, and infrastructure datasets.

Open dossier

MCP support in Azure Data API Builder for exposing configured database entities as MCP tools, including entity discovery and DML operations over Azure databases and supported on-premises data stores.

Open dossier

MCP server for Google Search Console that lets Claude list properties, inspect indexing status, query search analytics, compare performance periods, audit sitemaps, and manage Search Console resources with guarded destructive tools.

Open dossier
Next steps
Trust
Review statusNot reviewedNot reviewedNot reviewedNot reviewed
Package trustPackage not verifiedPackage not verifiedPackage not verifiedPackage not verified
Source provenanceSource-backedSource-backedSource-backedSource-backed
Submitteroktofeesh1oktofeesh1oktofeesh1oktofeesh1
Install riskReview firstReview firstReview firstReview first
Notes Safety ✓ Privacy ✓ Safety ✓ Privacy ✓ Safety ✓ Privacy ✓ Safety ✓ Privacy ✓
Branddata.gouv.fr logodata.gouv.frData API Builder logoData API Builder
Categorymcpmcpmcpmcp
SourceSource-backedSource-backedSource-backedSource-backed
Authordata.gouv.frmcp-brasil contributorsAzureAmin Foroutan
Added2026-06-062026-06-062026-06-062026-06-06
Platforms
Harness
Source repo
Safety notesThe hosted endpoint is documented as publicly available without access restrictions, so treat requests and returned public-data context as externally visible. Tools are read-only but can retrieve dataset metadata, resource URLs, rows from tabular resources, service OpenAPI specs, metrics, and organization details that may influence decisions. Public open data can be stale, incomplete, licensed with reuse conditions, or unsuitable for operational decisions without checking the dataset publisher and update cadence. Tabular queries can return rows from large resources; use small page sizes and pagination instead of asking an agent to pull entire datasets through chat. If self-hosting, review MCP_HOST, allowed hosts, allowed origins, Sentry, Matomo, and API-environment settings before exposing the server.MCP-Brasil can query many Brazilian public data sources, some of which cover courts, elections, health, public safety, government contracts, public spending, and regulated sectors. The upstream acceptable-use policy prohibits doxing, stalking, unlawful electoral profiling, sensitive health-data misuse, unauthorized judicial data redistribution, re-identification, fake official claims, and other abusive uses. Outputs should not be treated as official government records without checking the original source, because the MCP server is an independent open source project and LLM clients can misread or hallucinate. Respect each upstream API's rate limits, license, attribution requirements, registration rules, and redistribution restrictions before batching or publishing results. Large local datasets are opt-in and can download sizable public data caches; review disk usage, refresh behavior, and cache retention before enabling them. Keep any optional DataJud, transparency, Meta, Anthropic, OAuth, or static bearer tokens scoped and separated from shared logs or test clients.Data API Builder MCP tools can expose database entity metadata and perform DML operations depending on DAB configuration and permissions. Built-in tools include entity discovery and record read, create, update, delete, aggregate, and execute-style workflows in the MCP source tree. The upstream README still labels endpoint support as coming soon while source, samples, and testing docs expose MCP behavior; verify the exact release before production use. Use least-privilege roles, disable DML tools where not required, and require approval before write, delete, execute, or stored-procedure operations. Do not connect MCP clients to production databases without backups, audit logging, query limits, and rollback procedures.The server requests the Google Search Console webmasters scope and can access every property available to the authenticated account. add_site, delete_site, and delete_sitemap are disabled by default and only run when GSC_ALLOW_DESTRUCTIVE is true. manage_sitemaps can submit or delete sitemaps depending on action and destructive settings. URL inspection and analytics tools can reveal indexing issues, search terms, landing pages, countries, devices, click-through rates, and ranking positions. Use least-privilege service accounts, avoid full-access credentials where read-only analysis is enough, and confirm exact site_url values with list_properties.
Privacy notesSearch terms, dataset interests, resource IDs, user-agent headers, request URLs, tool names, and returned dataset rows may be visible to the hosted MCP service, MCP client, model provider, and logs. The server includes optional Matomo and Sentry instrumentation in source; hosted deployments may apply their own analytics and error-reporting policies. Public datasets can still contain personal data, geographic sensitivity, business identifiers, or regulated information; review source metadata and reuse terms before sharing results. Avoid placing private investigation notes, customer context, or unpublished analysis inside prompts when a generic dataset search is enough.Public records can still contain personal data or sensitive context, including judicial parties, health professionals, election candidates, public servants, suppliers, property records, campaign information, or location-linked records. The upstream sources document highlights elevated risk for health, electoral, judicial, education, public-safety, and other datasets; operators remain responsible for LGPD compliance and source-specific terms. Local DuckDB caches, terminal output, MCP client logs, chat transcripts, and exported analysis may retain query terms, public-record results, API keys, and derived datasets. Do not disable PII masking or set `MCP_BRASIL_LGPD_ALLOW_PII` without a documented legal basis and a retention/deletion plan. Attribute public data sources and preserve source context when sharing results with users or publishing downstream analysis.Entity metadata can expose database names, table names, view names, stored procedure names, field names, key fields, relationships, permissions, and role design. Read and DML tool calls can expose or change customer records, internal data, regulated fields, identifiers, audit fields, and business workflow state. Connection strings, role headers, MCP URLs, logs, request bodies, result payloads, and MCP transcripts can contain sensitive operational or personal data. Redact database values, connection details, entity names, role names, and query results before sharing prompts, screenshots, logs, or generated notes.OAuth client secrets, service account JSON, cached token files, Search Console properties, page URLs, query terms, sitemap URLs, countries, devices, clicks, impressions, CTR, and positions can be sensitive. The server stores OAuth tokens under a user config directory unless GSC_CONFIG_DIR is changed. Service account files and OAuth tokens must stay out of prompts, issue comments, logs, screenshots, and repository files. Redact property URLs, query data, page URLs, tokens, credential file paths, and inspection results before sharing MCP transcripts.
Prerequisites
  • MCP client that supports Streamable HTTP or a remote MCP bridge such as mcp-remote.
  • Agreement on whether hosted data.gouv.fr MCP requests may be sent to the public hosted endpoint.
  • Public-data review process for datasets that may contain personal, sensitive, stale, or jurisdiction-specific information.
  • Python 3.13 or newer only if self-hosting the repository instead of using the hosted endpoint.
  • Python 3.10 or newer with `uvx` available.
  • Review of the upstream acceptable-use policy and source license notes before using outputs in commercial, journalistic, legal, medical, financial, electoral, or civic-decision workflows.
  • Optional API keys for data sources such as Portal da Transparencia, DataJud, or Meta Ad Library when those features are needed.
  • Optional local dataset cache configuration when enabling large DuckDB-backed datasets through `MCP_BRASIL_DATASETS`.
  • Reviewed Azure Data API Builder configuration with the MCP runtime section enabled.
  • Supported Azure or on-premises database connection configured through DAB.
  • DAB entity permissions, role headers, DML tool flags, and per-entity MCP settings reviewed before exposing tools.
  • MCP client support for the transport used by the deployed DAB server.
  • Google Cloud project with the Search Console API enabled.
  • OAuth desktop client secrets JSON or service account JSON stored outside the repository.
  • Google Search Console properties where the authenticated user or service account has access.
  • MCP client that can run uvx or a local Python clone.
Install
claude mcp add --transport http datagouv https://mcp.data.gouv.fr/mcp
uvx --from mcp-brasil python -m mcp_brasil.server
Enable the DAB runtime MCP section, start Data API Builder with the reviewed configuration, and connect an MCP client to the configured MCP path.
Run `uvx mcp-search-console` with either `GSC_OAUTH_CLIENT_SECRETS_FILE` for OAuth or `GSC_CREDENTIALS_PATH` plus `GSC_SKIP_OAUTH=true` for a service account.
Config
{
  "mcpServers": {
    "datagouv": {
      "url": "https://mcp.data.gouv.fr/mcp",
      "type": "http"
    }
  }
}
Manual-only setup:
claude mcp add mcp-brasil -- uvx --from mcp-brasil python -m mcp_brasil.server
Manual-only setup:
"mcp": {
  "enabled": true,
  "path": "/mcp"
}
Manual-only setup:
GSC_OAUTH_CLIENT_SECRETS_FILE=<absolute-path-to-client-secrets-json>
GSC_CREDENTIALS_PATH=<absolute-path-to-service-account-json>
GSC_SKIP_OAUTH=true
GSC_ALLOW_DESTRUCTIVE=false
Citations
ClaimUnclaimedUnclaimedUnclaimedUnclaimed
Open 4 picks in the interactive comparison tool

Related guides

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.