folketinget_dk_find_actor
Pack: folketinget-dk · 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/folketinget_dk_find_actor for the schema, then POST the same URL with its arguments for the data.
Find a Folketinget (Danish Parliament) member or party by name and return the stable actor id to use in the other tools. kind “member” (default “any”) matches people by name part and returns member_id, name, party short code and name, and profession; kind “party” matches party groups by name or short code (S, V, DF, SF, EL, LA, M, KF, RV, ALT, DD, BP, IA) and returns the party with its group actor ids (one per parliamentary term). A name that matches nothing returns found false with the nearest names, never an empty success. Source: Folketinget, actor register.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Name or part of a name, e.g. “Egelund”, “Mette Frederiksen”, “Radikale”, or a party short code like “SF”. |
kind | string | no | Restrict to people or parties (default any). |
limit | number | no | Max members to return (default 20, max 50). |
Example call
Arguments
{
"name": "Egelund"
}
curl
curl -X POST https://gateway.pipeworx.io/folketinget-dk/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"folketinget_dk_find_actor","arguments":{"name":"Egelund"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('folketinget_dk_find_actor', {
"name": "Egelund"
});
More examples
{
"name": "SF",
"kind": "party"
}
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
query | string | |
source | string | |
members | array | |
parties | array | |
nearest_names | array |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"query": {
"type": "string"
},
"source": {
"type": "string"
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"member_id": {
"type": "number"
},
"name": {
"type": "string"
},
"party": {
"type": [
"string",
"null"
]
},
"party_name": {
"type": [
"string",
"null"
]
},
"profession": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
}
},
"parties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"party": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"group_actor_ids": {
"type": "array",
"items": {
"type": "number"
}
}
},
"additionalProperties": true
}
},
"nearest_names": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
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 folketinget-dk pack
{
"mcpServers": {
"folketinget-dk": {
"url": "https://gateway.pipeworx.io/folketinget-dk/mcp"
}
}
}
See Getting Started for client-specific install steps.