Get the FREE Ultimate OpenClaw Setup Guide →

datagouv

MCP server for interacting with Data.gouv.fr API

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio csonigo-datagouv-mcp-server pnpm run dev \
  --env PORT="3001" \
  --env SSE_ENDPOINT="http://localhost:3001/sse"

How to use

This MCP server provides access to the Data Gouv API via an MCP-compatible interface using an HTTP + SSE transport. The server exposes a dedicated tool called search-company, which lets you look up up-to-date information about French companies (name, address, directors, sector, etc.) by providing a search query such as a company name, a CEO name, or an address. Clients connect through the MCP server's SSE endpoint and issue a search-company operation to retrieve structured company data. If you’re testing locally, start the server and point your MCP client to the server's SSE URL (for example, http://localhost:3001/sse) and then invoke the search-company tool with your query.

How to install

Prerequisites:

  • Node.js 22 (LTS) installed on your machine
  • pnpm (version 10 or compatible)

Installation steps:

  1. Clone or download the MCP server repository.
  2. Install dependencies:
pnpm install
  1. Start the server in development mode:
pnpm run dev
  1. Configure your MCP client to connect to the server's SSE endpoint. For example:
{
  "mcpServers": {
    "data-gouv": {
      "url": "http://localhost:3001/sse"
    }
  }
}
  1. Optional: run the MCP Inspector for debugging if needed:
pnpm run inspector

Access the inspector at http://localhost:5173.

Additional notes

Notes:

  • This server is deprecated in favor of the official Datagouv MCP server. If you encounter issues, prefer the official repository at datagouv/datagouv-mcp-server.
  • The server communicates using HTTP SSE as defined by the MCP specification, so ensure your client supports Server-Sent Events.
  • Environment variables shown above (PORT and SSE_ENDPOINT) are examples; adjust as needed for your deployment environment.
  • If you modify the server or run in a different environment, you may need to update the MCP client configuration to point to the correct SSE URL.

Related MCP Servers

Sponsor this space

Reach thousands of developers