dk_party_support_history
Pack: denmark-party-support · 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_party_support_history for the schema, then POST the same URL with its arguments for the data.
One Danish party’s state party support across every published year: votes, per-vote rate, entitlement and amount paid per year, with the total paid. Matches by name or part of it, so a short name can match more than one party (reported in matched_party_names). Returns found false when no year lists the party. Source: Økonomi- og Indenrigsministeriet, party support overview.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
party | string | yes | Party name or part of it, e.g. “Socialdemokratiet”, “Alternativet” |
Example call
Arguments
{
"party": "Alternativet"
}
curl
curl -X POST https://gateway.pipeworx.io/denmark-party-support/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"dk_party_support_history","arguments":{"party":"Alternativet"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('dk_party_support_history', {
"party": "Alternativet"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
party_query | string | |
matched_party_names | array | |
ambiguous | boolean | |
years | array | |
total_paid_kr | number | |
failed_years | array | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"party_query": {
"type": "string"
},
"matched_party_names": {
"type": "array",
"items": {
"type": "string"
}
},
"ambiguous": {
"type": "boolean"
},
"years": {
"type": "array",
"items": {
"type": "object",
"properties": {
"year": {
"type": "number"
},
"party": {
"type": "string"
},
"region": {
"type": "string"
},
"basis": {
"type": [
"null",
"string"
]
},
"votes": {
"type": "number"
},
"rate_kr_per_vote": {
"type": "number"
},
"entitled_kr": {
"type": "number"
},
"paid_kr": {
"type": "number"
},
"paid_on": {
"type": "string"
},
"note": {
"type": "null"
}
},
"additionalProperties": true
}
},
"total_paid_kr": {
"type": "number"
},
"failed_years": {
"type": "array",
"items": {}
},
"source": {
"type": "string"
},
"data_as_of": {
"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-party-support pack
{
"mcpServers": {
"denmark-party-support": {
"url": "https://gateway.pipeworx.io/denmark-party-support/mcp"
}
}
}
See Getting Started for client-specific install steps.