dk_resolve_party
Pack: denmark-people · 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/dk_resolve_party for the schema, then POST the same URL with its arguments for the data.
Resolve one Danish political party to a single record from ANY of its identifiers: the list letter used in election results and poll tables (A, B, C, F, I, O, V, Æ, Ø, Å …), the Folketing group code (S, RV, DF, EL, …), the name in Danish or English, or a Folketing party-group actor id. Returns the party name in Danish and English, its list letter, its Folketing group code, every Folketing group actor id (one per parliamentary term, with dates, and which one is the sitting one), and the source of each id. A letter reassigned over time answers with the party holding it now and lists the earlier holders. A query that matches nothing returns found false with the closest names, never an empty success. Source: Folketinget, actor register; party-letter table maintained by Pipeworx.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Letter (“A”, “Ø”), Folketing group code (“S”, “DF”, “ALT”), a name (“Venstre”, “Red-Green Alliance”), or a Folketing group actor id such as “21555”. |
Example call
Arguments
{
"query": "Ø"
}
curl
curl -X POST https://gateway.pipeworx.io/denmark-people/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"dk_resolve_party","arguments":{"query":"Ø"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('dk_resolve_party', {
"query": "Ø"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
matched_on | string | |
party | object | |
ids | object | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"matched_on": {
"type": "string"
},
"party": {
"type": "object",
"properties": {
"name_da": {
"type": "string"
},
"name_en": {
"type": "string"
},
"list_letter": {
"type": "string"
},
"folketing_group_code": {
"type": "string"
},
"in_folketing_now": {
"type": "boolean"
},
"sitting_group_actor_id": {
"type": "number"
}
},
"additionalProperties": true
},
"ids": {
"type": "object",
"properties": {
"list_letter": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"source": {
"type": "string"
},
"used_in": {
"type": "string"
}
},
"additionalProperties": true
},
"folketing_group_code": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"source": {
"type": "string"
}
},
"additionalProperties": true
},
"folketing_group_actor_ids": {
"type": "array",
"items": {
"type": "object",
"properties": {
"actor_id": {
"type": "number"
},
"term_from": {
"type": "string"
},
"term_to": {
"type": "string"
},
"sitting": {
"type": "boolean"
},
"source": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
},
"source": {
"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 denmark-people pack
{
"mcpServers": {
"denmark-people": {
"url": "https://gateway.pipeworx.io/denmark-people/mcp"
}
}
}
See Getting Started for client-specific install steps.