siret-mcp
siret-mcp
MCP-Server für Daten des französischen Unternehmensregisters. Fragen Sie nach einem beliebigen französischen Unternehmen per Name, SIREN oder SIRET und erhalten Sie sauberes JSON – mit jedem Registercode bereits in einfaches Französisch übersetzt.
Das offizielle Register liefert "nature_juridique": "5710", "activite_principale": "62.01Z", "tranche_effectif_salarie": "12". Übergibt man das einem LLM, rät es oder halluziniert. Dieser Server liefert "Société par actions simplifiée (SAS)", "Programmation informatique", "20 à 49 salariés" – mit dem ursprünglichen Code daneben, damit die Antwort überprüfbar bleibt.
Kein API-Schlüssel. Kein Konto.
Install
Claude Code
claude mcp add siret -- npx -y siret-mcpCursor – ~/.cursor/mcp.json:
{
"mcpServers": {
"siret": {
"command": "npx",
"args": ["-y", "siret-mcp"]
}
}
}Claude Desktop – claude_desktop_config.json, derselbe Block wie bei Cursor.
Starten Sie den Client neu. Sie sollten vier Tools sehen.
Related MCP server: mcp-recherche-entreprise
Probieren Sie diese aus
"Ist die SIREN 552100554 noch aktiv, und welche Rechtsform hat sie?"
"Finden Sie Softwareunternehmen in Loire-Atlantique mit mehr als 20 Beschäftigten."
"Was bedeutet der NAF-Code 43.22A?"
"Hier ist eine SIRET von einer Rechnung: 55210055400015 – überprüfen Sie sie und nennen Sie mir die eingetragene Anschrift."
"Listen Sie alle Niederlassungen für diese SIREN auf und markieren Sie, welche der Hauptsitz ist."
Tools
Tool | Was es tut |
| Unscharfe Suche nach Name, Handelsname, Akronym oder Geschäftsführer. Filter: Département, Postleitzahl, NAF-Code, nur aktive. Liefert kompakte Zusammenfassungen. |
| Vollständiges Profil anhand einer SIREN (9 Ziffern) oder SIRET (14). Validiert die Luhn-Prüfsumme, bevor eine Anfrage verbraucht wird. |
| Alle bekannten Standorte für eine SIREN, Hauptsitz zuerst, mit einem |
| Entschlüsselt NAF / Rechtsform / Beschäftigtenklasse / Status. Offline, kein API-Aufruf. |
Außerdem eine siret://health-Ressource, die Cache-Statistiken bereitstellt.
Designentscheidungen, die Sie kennen sollten
Codes werden immer mit Bezeichnungen geliefert. Jedes codierte Feld liefert {code, label, exact, source}. exact: false bedeutet, dass die Bezeichnung aus einem Fallback stammt (ein NAF-Abschnitt statt der genauen Klasse). So kann ein Modell sich angemessen absichern, statt eine Vermutung als Tatsache auszugeben.
Fehlende Felder werden benannt, nicht auf null gesetzt. Jedes Profil enthält ein missing-Array. Bei "workforce": null erfindet ein Modell oft eine Mitarbeiterzahl. Bei "missing": ["workforce"] sagt es, dass das Register sie nicht führt.
Fehler werden zurückgegeben, nicht ausgelöst. Fehler kommen als JSON mit einem hint zurück, sodass das Modell es erneut versuchen oder umformulieren kann, statt mitten im Gespräch abzubrechen.
Caching ist das Produkt, keine Optimierung. Die vorgelagerte API begrenzt Bursts. Ein Cache mit 6 Stunden TTL (SIRENE_CACHE_TTL_MS) macht das in einer Agentenschleife nutzbar, die neunmal nach demselben Unternehmen fragt.
Vier Tools, nicht zwölf. Jedes zusätzliche Tool kostet das aufrufende Modell Kontext und gibt ihm eine weitere Möglichkeit, das Falsche zu wählen.
Einschränkungen
Codetabellen sind unvollständig. Die vollständige NAF rev. 2 umfasst ~732 Codes und die catégorie juridique ~300; dieser Server enthält die gebräuchlichen plus einen Fallback, der sich selbst als Näherung kennzeichnet (
exact: false).Basiert auf
recherche-entreprises.api.gouv.fr, nicht auf INSEE Sirene v3. Kein API-Schlüssel bedeutet, dass es sofort läuft. Der Kompromiss: weniger Felder und keine erschöpfende Auflistung der Niederlassungen.Der Cache ist prozessintern. Für einen lokalen stdio-Server in Ordnung, für einen gehosteten Multi-Tenant-Server die falsche Wahl.
Daten & Quellenangabe
Die Daten stammen aus der API Recherche d'Entreprises (DINUM), abgeleitet aus INSEE SIRENE, unter der Licence Ouverte. Angaben zu Geschäftsführern können ein Geburtsjahr enthalten. Sie sind dafür verantwortlich, die Daten rechtmäßig zu verwenden.
Entwicklung
git clone https://github.com/tbellicha/siret-mcp.git
cd siret-mcp
npm install
npm run build
npm test # node:test, offline
npm run test:live # hits the real API
npm run typecheckLizenz
MIT © 2026 tbellicha
Available Tools
4 toolsexplain_codeDecode a registry codeA
Translate a NAF activity code, catégorie juridique (legal form), workforce bracket, or administrative status into plain French. Offline — no API call. Use this instead of guessing what a code means.
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | e.g. '62.01Z', '5710', '12', 'A', 'PME' |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description must carry behavioral disclosure. It adds useful traits: the operation is offline ('no API call') and translates several code categories into plain French. It stops short of describing error behavior, output format, or what happens for unsupported codes, so it is adequate but not rich.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences with no redundancy. The primary action and scope are front-loaded, followed by an important execution detail (offline) and a useful usage cue. Every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a minimal single-parameter tool with no output schema. The description covers the code categories, the offline behavior, and the high-level output ('plain French'), which is enough for an agent to decide and invoke correctly. Minor gaps like invalid-code handling do not significantly reduce completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the parameter already includes examples ('62.01Z', '5710', '12', 'A', 'PME'). The description adds semantic meaning by classifying these examples into NAF, legal form, workforce bracket, and administrative status, helping the agent understand what value to pass.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Translate') and a clearly bounded resource: NAF activity codes, legal forms, workforce brackets, and administrative statuses. This is immediately distinguishable from the sibling tools (search_companies, get_company, list_establishments), which are about company/establishment data rather than code decoding.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives clear context for when to use the tool ('Use this instead of guessing what a code means') and adds the offline constraint. However, it does not explicitly name alternatives or state when not to use it, though the sibling tools are sufficiently different that the guidance is adequate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_companyGet a company profile by SIREN or SIRETA
Full profile for one company from its SIREN (9 digits) or SIRET (14 digits). Returns legal form, activity, workforce bracket, headquarters, officers and certifications, all with plain-French labels. The missing array lists fields the registry does not hold — do not fill those in from memory.
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | SIREN (9 digits) or SIRET (14 digits). Spaces are tolerated. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the behavioral disclosure burden. It goes beyond a simple 'get' by listing the returned fields and, notably, explaining the `missing` array and warning not to fabricate missing data — important behavioral guidance. It could mention error handling or data freshness, but it is still substantially transparent for a read-only lookup.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, with the core purpose stated first and the important `missing`-array caveat in the second sentence. Every sentence adds value and there is no redundant or filler text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter lookup tool with no output schema, the description is complete: it explains what is returned, mentions the caveat about missing fields, and gives the identifier formats. The agent has enough context to call the tool correctly and interpret the response.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already fully documents the `identifier` parameter including formats and space tolerance. The tool description does not add parameter-level detail beyond that, so the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves a 'full profile for one company' by SIREN or SIRET, naming the returned data categories (legal form, activity, workforce, etc.). This distinguishes it from the sibling tools, especially search_companies, by emphasizing lookup by unique identifier rather than search.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description makes the intended usage context clear: use this when you have a SIREN or SIRET and need a single company's full profile. It does not explicitly exclude the sibling tools or state when to prefer search_companies, but the identifier-based lookup is strongly implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_establishmentsList a company's establishmentsA
All known sites (établissements) for a SIREN, headquarters first. Note: the registry returns matching establishments rather than an exhaustive list, so complete tells you whether every site is included.
| Name | Required | Description | Default |
|---|---|---|---|
| siren | Yes | SIREN, 9 digits |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the burden of behavioral disclosure. It meaningfully warns that the registry may return matching establishments rather than an exhaustive list and introduces the `complete` flag to indicate completeness. It also discloses the ordering rule (headquarters first), which adds useful non-obvious behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences with no filler. The core action and ordering rule are front-loaded, and the critical exhaustiveness caveat follows immediately. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter tool with no output schema or annotations, the description covers the main behaviors an agent needs: what is returned, the ordering, and the completeness caveat. It would be slightly more complete with explicit return-value details, but the description is largely sufficient for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter `siren` is already fully documented in the schema with 'SIREN, 9 digits', so schema coverage is 100%. The description repeats the SIREN concept without adding substantive new parameter detail, which aligns with the baseline score of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states that the tool lists a company's establishments for a SIREN and notes that headquarters appear first. The resource and scope are specific, and the tool is clearly distinct from the sibling tools by focusing on sites rather than company records. However, it does not explicitly name or contrast itself with siblings like get_company or search_companies.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool should be used when an agent needs establishment-level data for a given SIREN, rather than company-level details or search results. It does not explicitly provide when/when-not guidance or mention alternative tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_companiesSearch French companiesA
Find French companies by name, trade name, acronym or officer name. Fuzzy — 'boulangerie dupont nantes' works. Returns compact summaries; call get_company for the full profile. Filters are optional and combine with AND.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| query | Yes | Company name, trade name, acronym or officer name | |
| naf_code | No | NAF rev.2 activity code, e.g. '62.01Z' for software development | |
| department | No | Département code, e.g. '44' for Loire-Atlantique, '2A' for Corse-du-Sud | |
| active_only | No | Exclude companies that have ceased trading | |
| postal_code | No | Exact postal code |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral burden. It discloses fuzzy behavior, compact summary output, and response-depth differences versus get_company. It does not mention pagination behavior or the active_only default, but the search-oriented nature makes the read-only behavior clear.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three efficient sentences front-load the search scope, provide a concrete example, route to the correct sibling, and explain filter semantics. No wasted words or repetition of the schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers expected behavior, output granularity, filter semantics, and an alternative tool. It lacks detail on pagination, defaults, and the role of list_establishments, but for a search tool with a small schema these are minor gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 71%, and the description adds semantics beyond the schema by showing that the query can be a fuzzy multi-word phrase and that filters are optional and AND-combined. Page and limit are not described in prose, but their names and defaults largely make their behavior clear.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action and resource: finding French companies by name, trade name, acronym, or officer name. It also clarifies fuzzy matching and explicitly distinguishes itself from get_company, which returns the full profile.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives clear guidance to call get_company when the full profile is needed, and states filters are optional and AND-combined. It does not mention when to prefer list_establishments or explain_code, but the search-versus-lookup distinction is reasonably clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v0.1.0- First observed
explain_code - First observed
get_company - First observed
list_establishments - First observed
search_companies
TDQS
Scored across 4 tools
Each tool has a clear, separate job: searching companies, retrieving a full company profile, listing establishment sites, and explaining registry codes. The cross-references between search_companies and get_company reinforce their complementary roles rather than creating ambiguity.
All tool names follow a consistent lowercase snake_case verb_noun pattern: search_companies, get_company, list_establishments, explain_code. The naming is uniform, predictable, and accurately reflects each action.
Four tools is well-scoped for a read-only French business registry lookup server. Each tool covers a distinct part of the workflow without unnecessary duplication or bloat.
The server covers the core lookup lifecycle: fuzzy search, full company profile retrieval, establishment enumeration, and code translation. Since this is a read-only registry service, CRUD operations are not expected, and there are no obvious dead ends in the workflow.
Maintenance
Related MCP Connectors
Every active French company by SIREN: search, full fiche, and filed PDFs paid per fetch by agents.
French company data by SIREN or search: address, NAF code, directors, VAT and financials
Search French companies: financials, directors, ownership, M&A and insolvency events.
French company data from public registers (Sirene, RNE, BODACC) and French legal notices.
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.2134 npm19MIT
- AlicenseBqualityDmaintenanceEnables searching for French companies using the official data.gouv.fr API, with filters for name, location, activity, and certifications.11ISC
- 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 gradedqualityCmaintenanceEnables querying French companies and establishments via SIREN or geographic proximity using the official French business register API.462 npmMIT