what is Data Gouv MCP Server?
Data Gouv MCP Server is a server designed for interacting with Datagouv APIs, specifically for retrieving information about companies listed in France.
how to use Data Gouv MCP Server?
To use the Data Gouv MCP Server, install the required dependencies, run the server, and configure your MCP client to connect to it.
key features of Data Gouv MCP Server?
search-company
: Allows users to find up-to-date information about companies in France by providing a search query.- Utilizes HTTP+SSE transport for real-time data interaction.
use cases of Data Gouv MCP Server?
- Retrieving company information for business analysis.
- Integrating company data into applications for enhanced user experience.
- Supporting research and data analysis projects involving French companies.
FAQ from Data Gouv MCP Server?
- What is the main purpose of the Data Gouv MCP Server?
The main purpose is to provide a seamless way to access and interact with Datagouv APIs for company information.
- What are the system requirements to run the server?
You need Node 22 and pnpm 10 to run the server.
- How can I debug the server?
You can use the MCP Inspector to debug the server, which can be started with a package script.
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