search_sub_entities
Pack: brreg-no · Endpoint: https://gateway.pipeworx.io/brreg-no/mcp
Search sub-entities/branches (underenheter) — e.g. local establishments of a parent company. Results under _embedded.underenheter. Filter by overordnetEnhet (parent org number) and/or navn. e.g. {overordnetEnhet:“923609016”} lists Equinor branches.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
navn | string | no | Full-text name search. |
overordnetEnhet | string | no | Parent entity org number, e.g. “923609016”. |
kommunenummer | string | no | Municipality number, e.g. “0301”. |
size | number | no | Results per page (default 20). |
page | number | no | Zero-based page number (default 0). |
Example call
Arguments
{
"overordnetEnhet": "923609016"
}
curl
curl -X POST https://gateway.pipeworx.io/brreg-no/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_sub_entities","arguments":{"overordnetEnhet":"923609016"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_sub_entities', {
"overordnetEnhet": "923609016"
});
More examples
{
"navn": "avd",
"kommunenummer": "0301"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"brreg-no": {
"url": "https://gateway.pipeworx.io/brreg-no/mcp"
}
}
}
See Getting Started for client-specific install steps.