dk_speeches_search
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_search for the schema, then POST the same URL with its arguments for the data.
Full-text search over Danish chamber speeches 2014-10-07 to 2022-06-07 (398,610 speeches), ranked by relevance, in Danish with stemming. Optional filters: member (name or actor_id), party (abbreviation such as V, S, DF, or full name) and from_year/to_year. Every row carries speaker, party, actor id, date, agenda item, bill or debate number with a link to the Folketing case page, and an excerpt around the match. Returns the total number of matching speeches.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Danish words or a quoted phrase, e.g. “klimaafgift” or “den grønne omstilling”. |
member | string | no | Restrict to one member (name). |
actor_id | number | no | Restrict to one member by Folketing actor id. |
party | string | no | Party abbreviation (V, S, DF, EL, …) or name. |
from_year | number | no | First year, 2014 or later. |
to_year | number | no | Last year, 2022 or earlier. |
limit | number | no | Rows (default 10, max 25). |
Example call
Arguments
{
"query": "grøn omstilling",
"party": "V",
"from_year": 2019,
"limit": 5
}
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_search","arguments":{"query":"grøn omstilling","party":"V","from_year":2019,"limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('dk_speeches_search', {
"query": "grøn omstilling",
"party": "V",
"from_year": 2019,
"limit": 5
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
query | string | |
match_mode | string | |
filters | object | |
total_matches | number | |
returned | number | |
speeches | array | |
note | string | |
coverage | object | |
data_as_of | string | |
source | string | |
licence | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"query": {
"type": "string"
},
"match_mode": {
"type": "string"
},
"filters": {
"type": "object",
"properties": {
"party": {
"type": "string"
},
"years": {
"type": "string"
}
},
"additionalProperties": true
},
"total_matches": {
"type": "number"
},
"returned": {
"type": "number"
},
"speeches": {
"type": "array",
"items": {
"type": "object",
"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",
"null"
]
},
"case_session": {
"type": [
"string",
"null"
]
},
"official_case_page": {
"type": [
"string",
"null"
]
},
"words": {
"type": "number"
},
"excerpt": {
"type": "string"
},
"rank_score": {
"type": "number"
}
},
"additionalProperties": true
}
},
"note": {
"type": "string"
},
"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.