INSEE MCP Server
Enables searching companies in the SIRENE database using SIREN, SIRET, or company name via the INSEE API.
README
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-mcp
or if you prefer to use uvx
# Install and launch directly
API_KEY="your_insee_api_key" uvx insee-mcp insee-mcp
Standard 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-mcp
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-mcp
Installation 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-mcp
Developer 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_key
Available Tools
search_company: Search for companies in the SIRENE database- By 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/mcp - Transport: 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.