Data Gouv MCP Server logo

Data Gouv MCP Server

by MCP-Mirror

This MCP server interacts with Datagouv APIs, specifically the API Recherche Entreprises, using HTTP+SSE transport. It allows users to find up-to-date information about companies listed in France.

View on GitHub

Last updated: N/A

Data Gouv MCP Server

MCP server for interacting with Datagouv APIs. Specifically:

This MCP server uses HTTP+SSE transport defined in MCP

Features

Tools

  • search-company - Find up to date information (name, address, list of directors, sector, etc.) about a company listed in France by providing a search query (name of the company, of the CEO, address, etc.)

Installation

Follow those instructions to run Data Gouv MCP server on your host.

Requirements

  • Node 22 (lts/jod)
  • pnpm 10

Instructions

  • Install dependencies:
pnpm install
  • Run the server:
pnpm run dev
  • Configure your favorite MCP client to use this new server:
{
  "mcpServers": {
    "data-gouv": {
      "url": "http://localhost:3001/sse"
    }
  }
}

Debugging

Start the MCP Inspector to debug this server, which is available as a package script:

pnpm run inspector

Access the inspector in your browser at http://localhost:5173

Acknowledgment

  • Frederic Barthelet who allowed me to hit the ground running with building an MCP server in ts.
  • Matt Pocock and his always welcome neat TS tricks specifically in the context of writting your own MCP server on AI Hero: https://www.aihero.dev/publish-your-mcp-server-to-npm