siret_siren_check
Pack: insee · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/siret_siren_check for the schema, then POST the same URL with its arguments for the data.
Check a French SIREN (9 digits, legal unit) or SIRET (14 digits, establishment): the Luhn check digit is verified locally first, so a mistyped number is refused without an upstream call; a well-formed number is then looked up in the French government company directory (which republishes the INSEE SIRENE register) and returns the registered name, legal form code, NAF/APE activity, administrative state (active or ceased), creation date, VAT number and, for a SIRET, the establishment (head office or not, state, address). Keyless; needs no INSEE key. A wrong check digit or length is refused with a user_error; a well-formed number absent from the register is refused with not_found. Sole traders’ names are withheld (personal data); pass a company number.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
identifier | string | yes | A SIREN (9 digits) or SIRET (14 digits), e.g. “552032534” (Danone) or “55203253400703”. Spaces are ignored. |
Example call
Arguments
{
"identifier": "55203253400703"
}
curl
curl -X POST https://gateway.pipeworx.io/insee/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"siret_siren_check","arguments":{"identifier":"55203253400703"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('siret_siren_check', {
"identifier": "55203253400703"
});
Response shape
Always returns: identifier, kind, luhn_valid, siren
| Field | Type | Description |
|---|---|---|
identifier | string | |
kind | string | SIREN or SIRET. |
luhn_valid | boolean | Always true on a returned result; a failing number is refused. |
siren | string | |
name | string | null | Registered name; null for sole traders (personal data). |
legal_form_code | string | null | INSEE legal-category code (nature juridique). |
activity_code | string | null | Principal activity (NAF/APE). |
administrative_state | string | null | A = active, C = ceased, as in the register. |
created | string | null | |
closed_on | string | null | |
company_size_category | string | null | PME, ETI or GE when known. |
vat_number | string | null | |
establishment | object | null | Present for a SIRET: the establishment record. |
register_updated | string | null | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"identifier": {
"type": "string"
},
"kind": {
"type": "string",
"description": "SIREN or SIRET."
},
"luhn_valid": {
"type": "boolean",
"description": "Always true on a returned result; a failing number is refused."
},
"siren": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
],
"description": "Registered name; null for sole traders (personal data)."
},
"legal_form_code": {
"type": [
"string",
"null"
],
"description": "INSEE legal-category code (nature juridique)."
},
"activity_code": {
"type": [
"string",
"null"
],
"description": "Principal activity (NAF/APE)."
},
"administrative_state": {
"type": [
"string",
"null"
],
"description": "A = active, C = ceased, as in the register."
},
"created": {
"type": [
"string",
"null"
]
},
"closed_on": {
"type": [
"string",
"null"
]
},
"company_size_category": {
"type": [
"string",
"null"
],
"description": "PME, ETI or GE when known."
},
"vat_number": {
"type": [
"string",
"null"
]
},
"establishment": {
"type": [
"object",
"null"
],
"description": "Present for a SIRET: the establishment record.",
"properties": {
"siret": {
"type": "string"
},
"is_head_office": {
"type": "boolean"
},
"administrative_state": {
"type": [
"string",
"null"
]
},
"created": {
"type": [
"string",
"null"
]
},
"closed_on": {
"type": [
"string",
"null"
]
},
"address": {
"type": [
"string",
"null"
]
}
}
},
"register_updated": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
}
},
"required": [
"identifier",
"kind",
"luhn_valid",
"siren"
]
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the insee pack
{
"mcpServers": {
"insee": {
"url": "https://gateway.pipeworx.io/insee/mcp"
}
}
}
See Getting Started for client-specific install steps.