mcp-recherche-entreprise
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., "@mcp-recherche-entreprise Cherche des entreprises certifiées Qualiopi à Paris"
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.
Serveur MCP data.gouv.fr
Un serveur MCP (Model Context Protocol) pour accéder aux données de data.gouv.fr, la plateforme française de données ouvertes.
🚀 Fonctionnalités
Ce serveur MCP fournit actuellement l'outil suivant pour interagir avec l'API recherche-entreprises.api.gouv.fr :
Recherche d'entreprises
search_companies: Rechercher des entreprises via l'API recherche-entreprises.api.gouv.fr
Related MCP server: INSEE MCP Server
📋 Prérequis
Node.js 18+
npm ou yarn
🛠️ Installation
Clonez le repository :
git clone <repository-url>
cd mcp-data-gouv-serverInstallez les dépendances :
npm installCopiez le fichier d'exemple d'environnement :
cp env.example .envCompilez le projet :
npm run build🚀 Utilisation
Mode développement
npm run devMode production
npm run build
npm start🔧 Configuration
Le serveur utilise les variables d'environnement suivantes (optionnelles) :
API_RATE_LIMIT: Limite de taux pour les requêtes APIAPI_TIMEOUT: Timeout pour les requêtes API en millisecondes
📖 API des outils
search_companies
Rechercher des entreprises via l'API recherche-entreprises.api.gouv.fr.
Paramètres :
query(requis) : Recherche libre (nom, SIREN, SIRET, etc.)page(optionnel) : Numéro de page (défaut: 1)page_size(optionnel) : Nombre de résultats par page (défaut: 10)activite_principale(optionnel) : Code NAF/APEcode_postal(optionnel) : Code postal (5 chiffres ou liste séparée par des virgules)tranche_effectif_salarie(optionnel) : Tranche d'effectif salarié INSEEest_association(optionnel) : Est une associationest_bio(optionnel) : Uniquement les entreprises certifiées bioest_organisme_formation(optionnel) : Uniquement les organismes de formationest_qualiopi(optionnel) : Uniquement les entreprises certifiées Qualiopi
🔗 Intégration avec un client MCP
Pour utiliser ce serveur avec un client MCP, ajoutez la configuration suivante à votre fichier de configuration MCP :
{
"mcpServers": {
"data-gouv": {
"command": "node",
"args": ["/path/to/mcp-data-gouv-server/dist/server.js"],
"env": {
"NODE_ENV": "production"
}
}
}
}📝 Exemples d'utilisation
Recherche d'entreprises par nom
search_companies({
"query": "Apple",
"page_size": 5
})Recherche d'entreprises par code postal
search_companies({
"query": "",
"code_postal": "75001",
"page_size": 10
})Recherche d'entreprises par activité
search_companies({
"query": "",
"activite_principale": "62.02A",
"page_size": 5
})Recherche d'associations
search_companies({
"query": "association",
"est_association": true,
"page_size": 10
})🧪 Tests
Le projet inclut des scripts de test pour vérifier le bon fonctionnement :
# Test des APIs
npm run test:apis
# Test de l'intégration avec Cursor
npm run test:cursor🤝 Contribution
Les contributions sont les bienvenues ! N'hésitez pas à :
Fork le projet
Créer une branche pour votre fonctionnalité
Commiter vos changements
Pousser vers la branche
Ouvrir une Pull Request
📄 Licence
Ce projet est sous licence ISC.
🔗 Liens utiles
Available Tools
1 toolsearch_companiesB
Rechercher des entreprises via l'API recherche-entreprises.api.gouv.fr
Inputs: query (required), est_bio, code_postal, departement, +6 more.
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 a single tool, there is no possibility of confusion or overlap in functionality. The purpose of 'search_companies' is unambiguous.
The sole tool name follows a clear verb_noun pattern ('search_companies'), which is consistent and predictable. Even with one tool, the naming style is sound.
A single tool feels thin for a server, but the purpose ('recherche-entreprise') is narrowly scoped to company search. It is borderline acceptable, though additional tools would round out the offering.
The tool covers the core search operation, but lacks related functionality such as retrieving a company by SIREN or fetching detailed records. Agents can perform basic lookups but hit dead ends for more specific queries.
Maintenance
Related MCP Connectors
Search French companies: financials, directors, ownership, M&A and insolvency events.
Every active French company by SIREN: search, full fiche, and filed PDFs paid per fetch by agents.
Keyless French company checks (Sirene, BODACC, VIES, sanctions), DPE compliance, product recalls
Official French and European company data for AI agents, paid per call (x402) or by API key.
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
- FlicenseBqualityDmaintenanceEnables searching companies in the SIRENE database using SIREN, SIRET, or company name via the INSEE API.1-
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to search and retrieve detailed profiles of 25 million French companies from the official government registry, including directors, activity codes, and establishment data, without requiring an API key.-
- AlicenseNot gradedqualityBmaintenanceEnables querying French companies and establishments via SIREN or geographic proximity using the official French business register API.159 npmMIT