get_representatives
Pack: storting-no · 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/get_representatives for the schema, then POST the same URL with its arguments for the data.
List members of parliament (MPs, “representanter”) for a 4-year electoral period. Returns fornavn (first), etternavn (last), parti (party), fylke (county), kjoenn (gender).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
stortingsperiodeid | string | yes | Electoral period id, e.g. “2021-2025”. |
Example call
Arguments
{
"stortingsperiodeid": "2021-2025"
}
curl
curl -X POST https://gateway.pipeworx.io/storting-no/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_representatives","arguments":{"stortingsperiodeid":"2021-2025"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_representatives', {
"stortingsperiodeid": "2021-2025"
});
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 storting-no pack
{
"mcpServers": {
"storting-no": {
"url": "https://gateway.pipeworx.io/storting-no/mcp"
}
}
}
See Getting Started for client-specific install steps.