insee_search
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/insee_search for the schema, then POST the same URL with its arguments for the data.
Search France’s official SIRENE business registry (INSEE) with the native query language. Use for “find French companies matching …”, e.g. by legal name, NAF/APE code, postal code, active/ceased status, creation date. Passes q, champs, facette.champ, tri, nombre and curseur straight to SIRENE /siren and returns the total match count, facet counts, per-row relevance score and the cursor for the next page. For one known SIREN/SIRET use insee_company.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | SIRENE search expression, e.g. “periode(denominationUniteLegale:Danone AND etatAdministratifUniteLegale:A)”. Required. |
champs | string | no | Comma-separated SIRENE fields to return, e.g. “siren,dateCreationUniteLegale”. |
tri | string | no | SIRENE sort field(s), e.g. “dateCreationUniteLegale desc”. Not recommended together with curseur. |
nombre | integer | no | Rows per page, 1-1000. SIRENE default applies when omitted. |
curseur | string | no | Pagination cursor: ”*” for the first page, then the next_cursor of the previous response. |
Example call
Arguments
{
"q": "denominationUniteLegale:Danone"
}
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":"insee_search","arguments":{"q":"denominationUniteLegale:Danone"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('insee_search', {
"q": "denominationUniteLegale:Danone"
});
More examples
{
"q": "denominationUniteLegale:Danone",
"champs": "siren,dateCreationUniteLegale",
"facette.champ": "etatAdministratifUniteLegale",
"nombre": 5,
"curseur": "*"
}
Response shape
Always returns: source, query, total, returned, facets, score, cursor, next_cursor, has_more, results
| Field | Type | Description |
|---|---|---|
source | string | |
query | object | The parameters actually sent to SIRENE. |
total | integer | null | SIRENE header.total: all matches, not just this page. null if SIRENE did not report it. |
returned | integer | Rows in this page. |
facets | array | SIRENE facet counts for facette.champ; empty when none requested. |
score | array | Relevance score per row, aligned with results; null where SIRENE gave none. |
cursor | string | null | The cursor SIRENE echoed for this page. |
next_cursor | string | null | header.curseurSuivant: pass as curseur for the next page. |
has_more | boolean | True when next_cursor differs from the cursor sent; false at the end of pagination. |
results | array | SIRENE legal units (unitesLegales), as returned. |
note | string | Present when the result set is empty. |
Full JSON Schema
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"query": {
"type": "object",
"description": "The parameters actually sent to SIRENE."
},
"total": {
"type": [
"integer",
"null"
],
"description": "SIRENE header.total: all matches, not just this page. null if SIRENE did not report it."
},
"returned": {
"type": "integer",
"description": "Rows in this page."
},
"facets": {
"type": "array",
"items": {
"type": "object"
},
"description": "SIRENE facet counts for facette.champ; empty when none requested."
},
"score": {
"type": "array",
"items": {
"type": [
"number",
"null"
]
},
"description": "Relevance score per row, aligned with results; null where SIRENE gave none."
},
"cursor": {
"type": [
"string",
"null"
],
"description": "The cursor SIRENE echoed for this page."
},
"next_cursor": {
"type": [
"string",
"null"
],
"description": "header.curseurSuivant: pass as curseur for the next page."
},
"has_more": {
"type": "boolean",
"description": "True when next_cursor differs from the cursor sent; false at the end of pagination."
},
"results": {
"type": "array",
"items": {
"type": "object"
},
"description": "SIRENE legal units (unitesLegales), as returned."
},
"note": {
"type": "string",
"description": "Present when the result set is empty."
}
},
"required": [
"source",
"query",
"total",
"returned",
"facets",
"score",
"cursor",
"next_cursor",
"has_more",
"results"
]
}
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.