INSEE MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@INSEE MCP Server search for company with SIRET 44302124100072"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
INSEE MCP Server
MCP (Model Context Protocol) server for accessing INSEE data via the SIRENE API, BDM, and official nomenclatures.
One-line Installation
With uv (recommended)
# Install and launch directly
API_KEY="your_insee_api_key" uv run --with insee-mcp insee-mcpor if you prefer to use uvx
# Install and launch directly
API_KEY="your_insee_api_key" uvx insee-mcp insee-mcpStandard MCP Configuration
Add this to your MCP configuration (e.g., Claude Desktop, or Copilot):
{
"mcpServers": {
"insee": {
"command": "uvx",
"args": ["insee-mcp", "insee-mcp"],
"env": {
"API_KEY": "your_insee_api_key"
}
}
}
}With pipx
API_KEY="your_insee_api_key" pipx run --spec git+https://github.com/KerryanOPMace/mcp-insee.git insee-mcpRelated MCP server: mcp-insee-entreprises
Quick Installation
Direct Installation (recommended)
# Install directly from GitHub
pip install git+https://github.com/KerryanOPMace/mcp-insee.git
# Set your INSEE API key
export API_KEY="your_insee_api_key"
# Start the server
insee-mcpInstallation with pipx (isolated)
# Install with pipx (isolated environment)
pipx install git+https://github.com/KerryanOPMace/mcp-insee.git
# Set the API key
export API_KEY="your_insee_api_key"
# Start the server
insee-mcpDeveloper Installation
# Clone the repository
git clone https://github.com/KerryanOPMace/mcp-insee.git
cd mcp-insee
# Install in development mode
pip install -e .If you wish to contribute to the project, please create issues and branches. You can merge request and then a supervisor will review it before merging
Configuration
INSEE API Key
You must obtain an API key from the INSEE API portal and configure it:
Linux/Mac:
export API_KEY="your_insee_api_key"Windows (PowerShell):
$env:API_KEY="your_insee_api_key"Windows (CMD):
set API_KEY=your_insee_api_keyAvailable Tools
search_company: Search for companies in the SIRENE databaseBy SIREN, SIRET, or company name
Fuzzy search available
STREAMABLE-HTTP TRANSPORT
Server Access
Once started, the MCP server is accessible at:
URL:
http://127.0.0.1:8000/mcpTransport: Streamable HTTP
Client Test
from fastmcp import Client
import asyncio
async def test():
client = Client("http://127.0.0.1:8000/mcp")
async with client:
# List tools
tools = await client.list_tools()
print(tools)
# Search for a company
result = await client.call_tool("search_company", {
"siret": "44302124100072"
})
print(result)
asyncio.run(test())Requirements
Python 3.8+
Valid INSEE API key
Internet access for API requests
STDIO TRANSPORT
Server Access
Once started, the MCP server runs locally according to the standard io protocol
Client Test
from fastmcp import Client
import asyncio
async def test():
client = Client("http://127.0.0.1:8000/mcp")
async with client:
# List tools
tools = await client.list_tools()
print(tools)
# Search for a company
result = await client.call_tool("search_company", {
"siret": "44302124100072"
})
print(result)
asyncio.run(test())Requirements
Python 3.8+
Valid INSEE API key
Internet access for API requests
License
MIT License
Available Tools
1 toolsearch_companyB
Recherche une entreprise dans la base SIRENE selon SIREN, SIRET ou nom.
Inputs: company_name, siren, siret, fuzzy.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no ambiguity. The agent cannot confuse it with any other tool.
Single tool name 'search_company' follows a clear verb_noun pattern, consistent within itself.
A single search tool is too sparse for a domain like INSEE company data, which typically requires multiple operations (e.g., get details, list results, paginate).
The server covers only a basic search, missing essential operations like retrieving full company details, filtering, or pagination, making it severely incomplete for practical use.
Maintenance
Related MCP Connectors
Every active French company by SIREN: search, full fiche, and filed PDFs paid per fetch by agents.
INSEE MCP — France's SIRENE business registry (INSEE).
Search French companies: financials, directors, ownership, M&A and insolvency events.
France company checks by SIREN: status, insolvency, LEI, sanctions, public contracts (DECP and TED).
Related MCP Servers
- AlicenseBqualityFmaintenanceEnables interaction with the French business search API from data.gouv.fr, allowing users to search for French companies by text or geographical criteria and access essential business information.263 npm19MIT
- FlicenseNot gradedqualityDmaintenanceMCP server to query the INSEE SIRENE API and search for French companies, supporting searches by SIREN, SIRET, and advanced filters like name, location, and activity.1-
- AlicenseBqualityDmaintenanceEnables searching for French companies using the official data.gouv.fr API, with filters for name, location, activity, and certifications.11ISC
- AlicenseNot gradedqualityBmaintenanceEnables querying French companies and establishments via SIREN or geographic proximity using the official French business register API.159 npmMIT