datagouv/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.

What it solves

This project provides a Model Context Protocol (MCP) server that allows AI chatbots (such as Claude, ChatGPT, and Gemini) to directly search, explore, and analyze datasets from data.gouv.fr, the French national Open Data platform. It eliminates the need for users to manually browse the website to find government data.

How it works

The server acts as a bridge between an AI client and the data.gouv.fr APIs. It implements the Model Context Protocol using a Streamable HTTP transport, exposing a set of tools that the AI can call to perform specific actions. These tools allow the AI to search for datasets, retrieve metadata, list files (resources) within a dataset, and query actual data rows via the Tabular API.

Who it’s for

  • AI users who want to query French open government data using natural language.
  • Developers who want to integrate data.gouv.fr's open data catalog into AI-powered applications.
  • Self-hosters who want to run their own instance of the MCP server to connect their local AI tools.

Highlights

  • Broad Client Support: Ready-to-use configurations for a wide range of AI clients including Claude Desktop, Cursor, ChatGPT, and Windsurf.
  • Comprehensive Toolset: Includes tools for searching datasets, organizations, and third-party APIs, as well as fetching resource-specific data and usage metrics.
  • Tabular API Integration: Enables AI to preview and query rows from CSV and XLSX files directly.
  • Public Instance: A hosted public endpoint is available for immediate use without authentication.
  • Detailed Health Checks: Built-in endpoints and tests to ensure the server and the API connection are healthy.

Related

  • Project
  • Project
  • Project
  • Project
  • Project