insee.establishment.search
Search French establishments (physical sites, branches, stores) in the INSEE Sirene registry using a Lucene-style filter query. Supports filtering by postal code (codePostalEtablissement, e.g. "75008"), city name (libelleCommuneEtablissement, e.g. "PARIS"), NAF activity code (activitePrincipaleEt...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/insee.establishment.search.md
What insee.establishment.search does on Apibase
AI agents call insee.establishment.search to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Lucene-style filter expression on establishment fields. Examples: "codePostalEtablissement:75008" searches by French postal code; "libelleCommuneEtablissement:P |
max | integer | — | Maximum number of results to return (1–20, default 10). |
offset | integer | — | Zero-based starting offset for pagination (default 0). |
Parameters from the server's own tool schema.
Why insee.establishment.search is rated Low
Tool retrieves establishment data from public business registry with no side effects.
From the tool's definition Search French establishments in INSEE Sirene registry using Lucene-style filter query.
Attacks that exploit this kind of access
The rule that runs insee.establishment.search safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For insee.establishment.search, this is the rule to start with:
insee.establishment.search is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every insee.establishment.search call is checked against it from then on.
Questions about insee.establishment.search
Search French establishments (physical sites, branches, stores) in the INSEE Sirene registry using a Lucene-style filter query. Supports filtering by postal code (codePostalEtablissement, e.g. "75008"), city name (libelleCommuneEtablissement, e.g. "PARIS"), NAF activity code (activitePrincipaleEtablissement, e.g. "47.11B" for supermarkets), status (etatAdministratifEtablissement: A=active, F=closed), and parent company name (denominationUniteLegale). Combine clauses with AND / OR operators. Returns SIRET, address, status, NAF code, head-office flag, and parent company summary for each matching establishment. Use insee.establishment.by_siret to retrieve full details for a specific SIRET. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
insee.establishment.search accepts 3 parameters: q, max, offset. Required: q. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for insee.establishment.search: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
insee.establishment.search is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the insee.establishment.search rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for insee.establishment.search. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
insee.establishment.search is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue