Data Gouv MCP Server

by MCP-Mirror

251 downloads
Not rated
GitHub

About

Data Gouv MCP Server is a Model Context Protocol server that provides tools to interact with French government open data APIs, specifically the API Recherche Entreprises. It is intended for developers and AI assistants that need to look up up-to-date company information in…

Details

Author
MCP-Mirror
Downloads
251
Categories
Search

- Tool to search French companies by name, CEO, address, etc.
- Returns name, address, directors, sector, and more.
- Uses HTTP+SSE transport for MCP.
- Built with Node 22 and pnpm.
- Includes MCP Inspector for debugging.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Data Gouv MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Node 22 and pnpm, then run pnpm install and pnpm run dev to start the server. Configure your MCP client with a server entry using the URL http://localhost:3001/sse. Use the tool search-company with a query to find company details.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "data gouv mcp server": {
            "data-gouv": {
                "type": "http",
                "url": "http://localhost:3001/sse"
            }
        }
    }
}

McpServers

{
    "data-gouv": {
        "type": "http",
        "url": "http://localhost:3001/sse"
    }
}

Data Gouv MCP Server

MCP server for interacting with Datagouv APIs. Specifically:

- API Recherche Entreprises

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.