dk_speeches_in_debate
Pack: denmark-speeches · 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_speeches_in_debate for the schema, then POST the same URL with its arguments for the data.
Every speech in one Folketing debate: pass the bill, motion or debate number (case, e.g. “L 71”, “B 12”, “F 57”, with session such as 20211 when the number is old) and/or a sitting date. Returns each agenda item with its speeches in order, speaker, party, Folketing actor id and the speech text (truncated per speech; max_chars). With a case, also returns the Folketing case id (sag_id) from its open data when available. Covers 2014-10-07 to 2022-06-07; the response states the coverage. Danish text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
case | string | no | Bill (L), motion (B) or debate (F) number, e.g. “L 71”. Numbers restart each session. |
session | string | no | Folketing session code, e.g. “20211” for 2021-22. Needed when the number exists in several sessions. |
date | string | no | Sitting date, ISO. With no case, returns every agenda item of that day. |
limit | number | no | Max speeches returned (default 40, max 100). |
max_chars | number | no | Max characters of text per speech (default 1200). Use dk_speech_get for a full speech. |
Example call
Arguments
{
"case": "L 71",
"session": "20211",
"limit": 6
}
curl
curl -X POST https://gateway.pipeworx.io/denmark-speeches/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"dk_speeches_in_debate","arguments":{"case":"L 71","session":"20211","limit":6}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('dk_speeches_in_debate', {
"case": "L 71",
"session": "20211",
"limit": 6
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
case | object | |
date | null | |
agenda_items | array | |
total_speeches | number | |
returned | number | |
truncated_to_limit | boolean | |
notes | array | |
coverage | object | |
data_as_of | string | |
source | string | |
licence | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"case": {
"type": "object",
"properties": {
"case_ref": {
"type": "string"
},
"session": {
"type": "string"
},
"title": {
"type": "string"
},
"official_case_page": {
"type": "string"
},
"other_sessions": {
"type": "array",
"items": {}
},
"folketing_case": {
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"sag_id": {
"type": "number"
},
"number": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
},
"date": {
"type": "null"
},
"agenda_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sitting": {
"type": "string"
},
"date": {
"type": "string"
},
"agenda_item": {
"type": "string"
},
"case_ref": {
"type": "string"
},
"speeches_in_item": {
"type": "number"
},
"speeches": {
"type": "array",
"items": {
"type": [
"object",
null
],
"properties": {
"speech_id": {
"type": "string"
},
"speech_seq": {
"type": "number"
},
"date": {
"type": "string"
},
"sitting": {
"type": "string"
},
"session": {
"type": "string"
},
"meeting": {
"type": "string"
},
"speaker": {
"type": "string"
},
"speaker_party": {
"type": "string"
},
"speaker_actor_id": {
"type": "number"
},
"speaker_role": {
"type": "string"
},
"agenda_item": {
"type": "string"
},
"case_ref": {
"type": "string"
},
"case_session": {
"type": "string"
},
"official_case_page": {
"type": "string"
},
"words": {
"type": "number"
},
"text": {
"type": "string"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"total_speeches": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated_to_limit": {
"type": "boolean"
},
"notes": {
"type": "array",
"items": {}
},
"coverage": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"sittings": {
"type": "number"
},
"speeches": {
"type": "number"
},
"note": {
"type": "string"
}
},
"additionalProperties": true
},
"data_as_of": {
"type": "string"
},
"source": {
"type": "string"
},
"licence": {
"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-speeches pack
{
"mcpServers": {
"denmark-speeches": {
"url": "https://gateway.pipeworx.io/denmark-speeches/mcp"
}
}
}
See Getting Started for client-specific install steps.