Politikdata.dk MCP is an MCP server published by dk.politikdata, hosted at mcp.politikdata.dk. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 29 tools, including compare, fetch, get_case, get_case_debate, get_document_text.
Danish parliamentary cases, votes, politicians, parties, elections, and comparison tools.
1 connections through 4 shared values. Tap any node.
Compare two Danish politicians/persons, two political parties, or one person against one party majority vote. Pass free-text names in left and right; when a name is ambiguous, retry with a specific input like person:123 or party:6 from the returned candidates. Leave result_filter as all for overall agreement; use only_agreement/only_disagreement only to inspect matching result rows. Comparable votes only include For, Imod, and Hverken for eller imod; Fravær/absence and undetermined party majority votes are excluded.
| Parameter | Type | Description |
|---|---|---|
| left * | string | Left side person or party name. Use person:123 or party:123 to select a specific ID when a name is ambiguous. |
| page | integer | |
| query | string | Free-text query for Danish case title. |
| right |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| string |
| Right side person or party name. Use person:123 or party:123 to select a specific ID when a name is ambiguous. |
| sort_by | string | Sort field. Defaults to date. |
| to_date | string | Latest afstemning date, formatted as YYYY-MM-DD. |
| accepted | boolean | Whether the afstemning was accepted/adopted. |
| from_date | string | Earliest afstemning date, formatted as YYYY-MM-DD. |
| page_size | integer |
| category_id | integer | Advanced refinement filter. Use only when the user explicitly asks for this category or to narrow an already-inspected result set; categories are difficult to distinguish and should usually be omitted for initial searches. |
| case_type_id | integer | Related case type ID from the case type vocabulary resource. |
| vote_type_id | integer | Vote type ID. For person/person and person/party comparisons this filters person votes; for party/party comparisons this filters party majority votes. |
| result_filter | string | Filter returned result rows. Use all for overall comparison questions. Use only_agreement/only_disagreement only to inspect matching result rows. This does not calculate overall agreement; summary remains the overall comparison after non-result-filter constraints. |
| sort_direction | string | Sort direction. Defaults to desc. |
| vote_cast_type_id | integer | Afstemning type ID from the vote event type vocabulary resource. |
| include_change_proposals | boolean | Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed. |
{
"name": "compare",
"description": "Compare two Danish politicians/persons, two political parties, or one person against one party\n majority vote. Pass free-text names in left and right; when a name is ambiguous, retry with a specific\n input like person:123 or party:6 from the returned candidates. Leave result_filter as all for overall\n agreement; use only_agreement/only_disagreement only to inspect matching result rows. Comparable votes\n only include For, Imod, and Hverken for eller imod; Fravær/absence and undetermined party majority votes\n are excluded.",
"inputSchema": {
"type": "object",
"required": [
"left",
"right"
],
"properties": {
"left": {
"type": "string",
"description": "Left side person or party name. Use person:123 or party:123 to select a specific ID when a name is ambiguous."
},
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Free-text query for Danish case title."
},
"right": {
"type": "string",
"description": "Right side person or party name. Use person:123 or party:123 to select a specific ID when a name is ambiguous."
},
"sort_by": {
"enum": [
"date",
"case_title",
"case_type",
"category",
"vote_cast_number",
"accepted",
"party_name",
"vote_type"
],
"type": "string",
"default": "date",
"description": "Sort field. Defaults to date."
},
"to_date": {
"type": "string",
"format": "date",
"description": "Latest afstemning date, formatted as YYYY-MM-DD."
},
"accepted": {
"type": "boolean",
"description": "Whether the afstemning was accepted/adopted."
},
"from_date": {
"type": "string",
"format": "date",
"description": "Earliest afstemning date, formatted as YYYY-MM-DD."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"category_id": {
"type": "integer",
"description": "Advanced refinement filter. Use only when the user explicitly asks\n for this category or to narrow an already-inspected result set; categories are difficult to distinguish and\n should usually be omitted for initial searches."
},
"case_type_id": {
"type": "integer",
"description": "Related case type ID from the case type vocabulary resource."
},
"vote_type_id": {
"type": "integer",
"description": "Vote type ID. For person/person and person/party comparisons this filters person votes; for\n party/party comparisons this filters party majority votes."
},
"result_filter": {
"enum": [
"all",
"only_agreement",
"only_disagreement"
],
"type": "string",
"default": "all",
"description": "Filter returned result rows. Use all for overall comparison questions. Use only_agreement/only_disagreement only to inspect matching result rows. This does not calculate overall agreement; summary remains the overall comparison after non-result-filter constraints."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction. Defaults to desc."
},
"vote_cast_type_id": {
"type": "integer",
"description": "Afstemning type ID from the vote event type vocabulary resource."
},
"include_change_proposals": {
"type": "boolean",
"default": false,
"description": "Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Universal Deep Research-compatible fetch tool. Takes an id returned by search and returns a readable JSON document with id, title, text, url, and metadata.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Result ID returned by the search tool, for example case:123, vote_cast:456, person:789, or party:2. |
{
"name": "fetch",
"description": "Universal Deep Research-compatible fetch tool. Takes an id returned by search and returns a readable\n JSON document with id, title, text, url, and metadata.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Result ID returned by the search tool, for example case:123, vote_cast:456, person:789, or party:2."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"id",
"title",
"text",
"url",
"metadata"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
},
"title": {
"type": "string"
},
"metadata": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Get compact details for one Danish parliamentary case, including paginated associated document metadata and file IDs for optional extracted document text retrieval.
| Parameter | Type | Description |
|---|---|---|
| case_id * | integer | Case ID from search_cases, search_vote_casts, or vote search related_case.id. |
| document_limit | integer | Maximum number of associated document metadata records to return. Use 0 to omit document items while keeping document counts. |
| document_offset | integer | Offset into the associated document metadata list. Use with document_limit to page through large case document lists. |
{
"name": "get_case",
"description": "Get compact details for one Danish parliamentary case, including paginated associated document\n metadata and file IDs for optional extracted document text retrieval.",
"inputSchema": {
"type": "object",
"required": [
"case_id"
],
"properties": {
"case_id": {
"type": "integer",
"minimum": 1,
"description": "Case ID from search_cases, search_vote_casts, or vote search related_case.id."
},
"document_limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 0,
"description": "Maximum number of associated document metadata records to return. Use 0 to omit document items while keeping document counts."
},
"document_offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset into the associated document metadata list. Use with document_limit to page through large case document lists."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Read a case's first-reading debate track, including speech text and source links. Filter by person or party and page through entries. Chairing remarks are excluded by default.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of debate entries to return. |
| offset | integer | Offset into the filtered debate entries. |
| case_id * | integer | Parliamentary case ID. |
| party_id | integer | Only speeches by this party ID, using party membership on the meeting date when needed. |
| person_id | integer | Only speeches by this resolved person ID. |
| include_chair | boolean | Include chairing speeches, which are omitted by default. |
{
"name": "get_case_debate",
"description": "Read a case's first-reading debate track, including speech text and source links. Filter by person or party and page through entries. Chairing remarks are excluded by default.",
"inputSchema": {
"type": "object",
"required": [
"case_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of debate entries to return."
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset into the filtered debate entries."
},
"case_id": {
"type": "integer",
"minimum": 1,
"description": "Parliamentary case ID."
},
"party_id": {
"type": "integer",
"minimum": 1,
"description": "Only speeches by this party ID, using party membership on the meeting date when needed."
},
"person_id": {
"type": "integer",
"minimum": 1,
"description": "Only speeches by this resolved person ID."
},
"include_chair": {
"type": "boolean",
"default": false,
"description": "Include chairing speeches, which are omitted by default."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Return a bounded slice of extracted text for a document file. Supports head, tail, and range pagination. Files with stored HTML of 2 MB or more return only an official source PDF reference.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Text slice mode. Use head for the beginning, tail for the end, or range with offset for pagination. |
| limit | integer | Maximum number of extracted-text characters to return. |
| offset | integer | Character offset used only when mode is range. Use next_offset from a prior response to continue reading. |
| file_id * | integer | File ID from get_case documents.items[].file.id. |
{
"name": "get_document_text",
"description": "Return a bounded slice of extracted text for a document file. Supports head, tail, and range\n pagination. Files with stored HTML of 2 MB or more return only an official source PDF reference.",
"inputSchema": {
"type": "object",
"required": [
"file_id"
],
"properties": {
"mode": {
"enum": [
"head",
"tail",
"range"
],
"type": "string",
"default": "head",
"description": "Text slice mode. Use head for the beginning, tail for the end, or range with offset for pagination."
},
"limit": {
"type": "integer",
"default": 20000,
"maximum": 50000,
"minimum": 1,
"description": "Maximum number of extracted-text characters to return."
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Character offset used only when mode is range. Use next_offset from a prior response to continue reading."
},
"file_id": {
"type": "integer",
"minimum": 1,
"description": "File ID from get_case documents.items[].file.id."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Inspect one public Danish parliamentary or municipal election by ID or slug. Returns election metadata, public result status, national turnout, vote totals and party vote shares, update timestamps, calculated but not officially verified parliamentary mandate counts, and the previous comparable election when available. Use list_elections to discover valid IDs and slugs, and the election-parties vocabulary resource to interpret list letters and abbreviations.
| Parameter | Type | Description |
|---|---|---|
| election_id | integer | Election ID from list_elections. |
| election_slug | string | Election slug from list_elections, for example fv-2022 or kv-2025. |
{
"name": "get_election",
"description": "Inspect one public Danish parliamentary or municipal election by ID or slug. Returns election\n metadata, public result status, national turnout, vote totals and party vote shares, update timestamps,\n calculated but not officially verified parliamentary mandate counts, and the previous comparable election\n when available. Use list_elections to discover valid IDs and slugs, and the election-parties vocabulary\n resource to interpret list letters and abbreviations.",
"inputSchema": {
"type": "object",
"oneOf": [
{
"required": [
"election_id"
]
},
{
"required": [
"election_slug"
]
}
],
"properties": {
"election_id": {
"type": "integer",
"minimum": 1,
"description": "Election ID from list_elections."
},
"election_slug": {
"type": "string",
"description": "Election slug from list_elections, for example fv-2022 or kv-2025."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Inspect candidate names, votes, and vote shares for one FV or KV election and geographic scope. Year is required. Party and candidate text filters can be combined. Candidate names accept IDs, slugs, exact names, or partial names. With one uniquely resolved candidate, breakdown_by can rank their regions, municipalities, or polling areas. Historical geographic candidate rows prove recorded results in the scope, not a complete authoritative ballot roster.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| year * | integer | |
| party | string | Optional party name, abbreviation, list letter, or election list ID. |
| region | string | Region code or name, for example Region Midtjylland. |
| sort_by | string | one of ["votes","vote_share","name"] |
| candidate | string | Optional candidate ID, slug, exact name, or partial name. |
| page_size | integer | |
| breakdown_by | string | With one uniquely resolved candidate, break their result down geographically. |
| constituency | string | Folketingsvalg constituency (Danish: storkreds) code or name. |
| municipality | string | Municipality code, slug, or name, for example Horsens. |
| polling_area | string | Polling area (Danish: afstemningsområde) DAGI code or name. |
| election_type | string | FV for Folketingsvalg or KV for Kommunalvalg. |
| sort_direction | string | one of ["asc","desc"] |
| nomination_district | string | Folketingsvalg nomination district (Danish: opstillingskreds) code or name. |
{
"name": "get_election_candidates",
"description": "Inspect candidate names, votes, and vote shares for one FV or KV election and geographic scope. Year is required. Party and candidate text filters can be combined. Candidate names accept IDs, slugs, exact names, or partial names. With one uniquely resolved candidate, breakdown_by can rank their regions, municipalities, or polling areas. Historical geographic candidate rows prove recorded results in the scope, not a complete authoritative ballot roster.",
"inputSchema": {
"type": "object",
"required": [
"year"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900
},
"party": {
"type": "string",
"description": "Optional party name, abbreviation, list letter, or election list ID."
},
"region": {
"type": "string",
"description": "Region code or name, for example Region Midtjylland."
},
"sort_by": {
"enum": [
"votes",
"vote_share",
"name"
],
"type": "string",
"default": "votes"
},
"candidate": {
"type": "string",
"description": "Optional candidate ID, slug, exact name, or partial name."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"breakdown_by": {
"enum": [
"region",
"municipality",
"polling_area"
],
"type": "string",
"description": "With one uniquely resolved candidate, break their result down geographically."
},
"constituency": {
"type": "string",
"description": "Folketingsvalg constituency (Danish: storkreds) code or name."
},
"municipality": {
"type": "string",
"description": "Municipality code, slug, or name, for example Horsens."
},
"polling_area": {
"type": "string",
"description": "Polling area (Danish: afstemningsområde) DAGI code or name."
},
"election_type": {
"enum": [
"FV",
"KV"
],
"type": "string",
"default": "FV",
"description": "FV for Folketingsvalg or KV for Kommunalvalg."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc"
},
"nomination_district": {
"type": "string",
"description": "Folketingsvalg nomination district (Danish: opstillingskreds) code or name."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Track turnout, vote totals, party or candidate performance, bloc shares, bloc lead, or calculated FV mandates across elections. from_year and to_year are optional and inclusive; omitted bounds mean all available history. Geography filters select the same named/code scope in each election. breakdown_by election returns a time series; region, constituency, or municipality ranks that dimension across the period using weighted vote totals rather than averaging percentages. Calculated mandates are not officially verified.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| party | string | Required for party metrics; accepts name, abbreviation, letter, or list ID. |
| metric * | string | one of ["party_votes","party_vote_share","calculated_mandates","candidate_votes","candidate_vote_share","turnout","eligible_voters","votes_cast","valid_votes","invalid_votes","left_bloc_vote_share","right_bl… |
| region | string | Region code or name, for example Region Midtjylland. |
| sort_by | string | one of ["year","value","name"] |
| to_year | integer | |
| candidate | string | Required for candidate metrics; accepts candidate ID, slug, or name. |
| from_year | integer | |
| page_size | integer | |
| breakdown_by | string | Group by election, or rank one geographic dimension across the period. |
| constituency | string | Folketingsvalg constituency (Danish: storkreds) code or name. |
| municipality | string | Municipality code, slug, or name, for example Horsens. |
| polling_area | string | Polling area (Danish: afstemningsområde) DAGI code or name. |
| election_type | string | FV for Folketingsvalg or KV for Kommunalvalg. |
| sort_direction | string | one of ["asc","desc"] |
| nomination_district | string | Folketingsvalg nomination district (Danish: opstillingskreds) code or name. |
{
"name": "get_election_history",
"description": "Track turnout, vote totals, party or candidate performance, bloc shares, bloc lead, or calculated FV mandates across elections. from_year and to_year are optional and inclusive; omitted bounds mean all available history. Geography filters select the same named/code scope in each election. breakdown_by election returns a time series; region, constituency, or municipality ranks that dimension across the period using weighted vote totals rather than averaging percentages. Calculated mandates are not officially verified.",
"inputSchema": {
"type": "object",
"required": [
"metric"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"party": {
"type": "string",
"description": "Required for party metrics; accepts name, abbreviation, letter, or list ID."
},
"metric": {
"enum": [
"party_votes",
"party_vote_share",
"calculated_mandates",
"candidate_votes",
"candidate_vote_share",
"turnout",
"eligible_voters",
"votes_cast",
"valid_votes",
"invalid_votes",
"left_bloc_vote_share",
"right_bloc_vote_share",
"bloc_lead"
],
"type": "string"
},
"region": {
"type": "string",
"description": "Region code or name, for example Region Midtjylland."
},
"sort_by": {
"enum": [
"year",
"value",
"name"
],
"type": "string",
"default": "year"
},
"to_year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900
},
"candidate": {
"type": "string",
"description": "Required for candidate metrics; accepts candidate ID, slug, or name."
},
"from_year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"breakdown_by": {
"enum": [
"election",
"region",
"constituency",
"municipality"
],
"type": "string",
"default": "election",
"description": "Group by election, or rank one geographic dimension across the period."
},
"constituency": {
"type": "string",
"description": "Folketingsvalg constituency (Danish: storkreds) code or name."
},
"municipality": {
"type": "string",
"description": "Municipality code, slug, or name, for example Horsens."
},
"polling_area": {
"type": "string",
"description": "Polling area (Danish: afstemningsområde) DAGI code or name."
},
"election_type": {
"enum": [
"FV",
"KV"
],
"type": "string",
"default": "FV",
"description": "FV for Folketingsvalg or KV for Kommunalvalg."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "asc"
},
"nomination_district": {
"type": "string",
"description": "Folketingsvalg nomination district (Danish: opstillingskreds) code or name."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Inspect vote totals, turnout, party/list vote shares, bloc winner and lead for one FV or KV election. Year is required. With no geography it returns national data; region, constituency, nomination district, municipality, and polling area arguments drill into applicable scopes. Optional party filtering accepts names, abbreviations, list letters, and list IDs. National FV seats are calculated by Politikdata and explicitly not officially verified mandate counts.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| year * | integer | Election year. Returns election_not_found when no matching election exists. |
| party | string | Optional party name, abbreviation, list letter, or election list ID. |
| region | string | Region code or name, for example Region Midtjylland. |
| sort_by | string | one of ["votes","vote_share","name"] |
| page_size | integer | |
| constituency | string | Folketingsvalg constituency (Danish: storkreds) code or name. |
| municipality | string | Municipality code, slug, or name, for example Horsens. |
| polling_area | string | Polling area (Danish: afstemningsområde) DAGI code or name. |
| election_type | string | FV for Folketingsvalg or KV for Kommunalvalg. |
| sort_direction | string | one of ["asc","desc"] |
| nomination_district | string | Folketingsvalg nomination district (Danish: opstillingskreds) code or name. |
{
"name": "get_election_votes",
"description": "Inspect vote totals, turnout, party/list vote shares, bloc winner and lead for one FV or KV election. Year is required. With no geography it returns national data; region, constituency, nomination district, municipality, and polling area arguments drill into applicable scopes. Optional party filtering accepts names, abbreviations, list letters, and list IDs. National FV seats are calculated by Politikdata and explicitly not officially verified mandate counts.",
"inputSchema": {
"type": "object",
"required": [
"year"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900,
"description": "Election year. Returns election_not_found when no matching election exists."
},
"party": {
"type": "string",
"description": "Optional party name, abbreviation, list letter, or election list ID."
},
"region": {
"type": "string",
"description": "Region code or name, for example Region Midtjylland."
},
"sort_by": {
"enum": [
"votes",
"vote_share",
"name"
],
"type": "string",
"default": "votes"
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"constituency": {
"type": "string",
"description": "Folketingsvalg constituency (Danish: storkreds) code or name."
},
"municipality": {
"type": "string",
"description": "Municipality code, slug, or name, for example Horsens."
},
"polling_area": {
"type": "string",
"description": "Polling area (Danish: afstemningsområde) DAGI code or name."
},
"election_type": {
"enum": [
"FV",
"KV"
],
"type": "string",
"default": "FV",
"description": "FV for Folketingsvalg or KV for Kommunalvalg."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc"
},
"nomination_district": {
"type": "string",
"description": "Folketingsvalg nomination district (Danish: opstillingskreds) code or name."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Read legislation metadata, related resource IDs with reference_lookup tool instructions, version history and a bounded text slice. Continue with text_offset=next_offset.
| Parameter | Type | Description |
|---|---|---|
| text_limit | integer | |
| document_id * | integer | |
| text_offset | integer |
{
"name": "get_legal_document",
"description": "Read legislation metadata, related resource IDs with reference_lookup tool instructions, version history and a bounded text slice. Continue with text_offset=next_offset.",
"inputSchema": {
"type": "object",
"required": [
"document_id"
],
"properties": {
"text_limit": {
"type": "integer",
"default": 4000,
"maximum": 10000,
"minimum": 1
},
"document_id": {
"type": "integer",
"minimum": 1
},
"text_offset": {
"type": "integer",
"default": 0,
"minimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Get compact details for one Danish political party, including the manually registered party leader, profile statistics, national FV/KV vote-share history, latest parliamentary election result, validity dates, and public URLs. Any parliamentary mandate count marked calculated is not officially verified. Use compare with party:ID when comparing this party against a person or another party.
| Parameter | Type | Description |
|---|---|---|
| party_id * | integer | Party ID from the parties vocabulary resource or party vote search results. |
{
"name": "get_party",
"description": "Get compact details for one Danish political party, including the manually registered party leader,\n profile statistics, national FV/KV vote-share history, latest parliamentary election result, validity\n dates, and public URLs. Any parliamentary mandate count marked calculated is not officially verified. Use\n compare with party:ID when comparing this party against a person or another party.",
"inputSchema": {
"type": "object",
"required": [
"party_id"
],
"properties": {
"party_id": {
"type": "integer",
"minimum": 1,
"description": "Party ID from the parties vocabulary resource or party vote search results."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Get compact details for one Danish politician/person, including public biography summary, roles, party memberships, parliamentary vote statistics, election candidacies, and personal election votes. Use compare with person:ID when comparing this person against another person or a party majority vote.
| Parameter | Type | Description |
|---|---|---|
| person_id * | integer | Person ID from search_persons, resolve_person, or a person-specific vote result. |
{
"name": "get_person",
"description": "Get compact details for one Danish politician/person, including public biography summary, roles,\n party memberships, parliamentary vote statistics, election candidacies, and personal election votes. Use\n compare with person:ID when comparing this person against another person or a party majority vote.",
"inputSchema": {
"type": "object",
"required": [
"person_id"
],
"properties": {
"person_id": {
"type": "integer",
"minimum": 1,
"description": "Person ID from search_persons, resolve_person, or a person-specific vote result."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Read a question with inline answers, actors, original files and provenance. Page answers with answer_offset; read full text with text_offset. Use answer_id to pin any related answer. Answers have no independent detail resource.
| Parameter | Type | Description |
|---|---|---|
| query | string | Repeat the search query to include matching answers outside the ordinary answer window. |
| answer_id | integer | |
| text_limit | integer | |
| question_id * | integer | |
| text_offset | integer | |
| answer_limit | integer | |
| answer_offset | integer | |
| matched_answer_offset | integer |
{
"name": "get_question",
"description": "Read a question with inline answers, actors, original files and provenance. Page answers with answer_offset; read full text with text_offset. Use answer_id to pin any related answer. Answers have no independent detail resource.",
"inputSchema": {
"type": "object",
"required": [
"question_id"
],
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"description": "Repeat the search query to include matching answers outside the ordinary answer window."
},
"answer_id": {
"type": "integer",
"default": 0,
"maximum": 2147483647,
"minimum": 0
},
"text_limit": {
"type": "integer",
"default": 2000,
"maximum": 20000,
"minimum": 1
},
"question_id": {
"type": "integer",
"minimum": 1
},
"text_offset": {
"type": "integer",
"default": 0,
"maximum": 10000000,
"minimum": 0
},
"answer_limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"answer_offset": {
"type": "integer",
"default": 0,
"maximum": 10000000,
"minimum": 0
},
"matched_answer_offset": {
"type": "integer",
"default": 0,
"maximum": 10000000,
"minimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Read the non-searchable parliamentary timeline for a question, including source provenance, corrections and observation dates. Page with offset and limit.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| offset | integer | |
| question_id * | integer |
{
"name": "get_question_history",
"description": "Read the non-searchable parliamentary timeline for a question, including source provenance, corrections and observation dates. Page with offset and limit.",
"inputSchema": {
"type": "object",
"required": [
"question_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 10000000,
"minimum": 0
},
"question_id": {
"type": "integer",
"minimum": 1
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Read a verdict with original publication links, legal citation evidence, related resource IDs, reference_lookup tool instructions, outcomes and bounded text. Named-law mentions are textual findings, not confirmed historical law versions.
| Parameter | Type | Description |
|---|---|---|
| text_limit | integer | |
| verdict_id * | integer | |
| text_offset | integer |
{
"name": "get_verdict",
"description": "Read a verdict with original publication links, legal citation evidence, related resource IDs, reference_lookup tool instructions, outcomes and bounded text. Named-law mentions are textual findings, not confirmed historical law versions.",
"inputSchema": {
"type": "object",
"required": [
"verdict_id"
],
"properties": {
"text_limit": {
"type": "integer",
"default": 4000,
"maximum": 10000,
"minimum": 1
},
"verdict_id": {
"type": "integer",
"minimum": 1
},
"text_offset": {
"type": "integer",
"default": 0,
"minimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Get compact details for one Danish parliamentary afstemning/vote cast, related legislation and verdict IDs with reference_lookup tool instructions, and paginated party vote breakdown. Use get_vote_cast_votes for the full roll-call list of individual politician votes.
| Parameter | Type | Description |
|---|---|---|
| vote_cast_id * | integer | Vote cast / afstemning ID from search_vote_casts or vote search results. |
| party_vote_limit | integer | Maximum number of party vote breakdown rows to return. Use 0 to omit party vote items while keeping counts. |
| party_vote_offset | integer | Offset into the party vote breakdown list. |
{
"name": "get_vote_cast",
"description": "Get compact details for one Danish parliamentary afstemning/vote cast, related legislation and verdict IDs with reference_lookup tool instructions, and paginated party vote breakdown. Use get_vote_cast_votes for the full roll-call list of individual politician votes.",
"inputSchema": {
"type": "object",
"required": [
"vote_cast_id"
],
"properties": {
"vote_cast_id": {
"type": "integer",
"minimum": 1,
"description": "Vote cast / afstemning ID from search_vote_casts or vote search results."
},
"party_vote_limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 0,
"description": "Maximum number of party vote breakdown rows to return. Use 0 to omit party vote items while keeping counts."
},
"party_vote_offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset into the party vote breakdown list."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Get the full voting breakdown for one Danish parliamentary afstemning/vote cast, including both party-level votes and individual politician roll-call votes.
| Parameter | Type | Description |
|---|---|---|
| vote_cast_id * | integer | Vote cast / afstemning ID from search_vote_casts or vote search results. |
{
"name": "get_vote_cast_votes",
"description": "Get the full voting breakdown for one Danish parliamentary afstemning/vote cast, including both\n party-level votes and individual politician roll-call votes.",
"inputSchema": {
"type": "object",
"required": [
"vote_cast_id"
],
"properties": {
"vote_cast_id": {
"type": "integer",
"minimum": 1,
"description": "Vote cast / afstemning ID from search_vote_casts or vote search results."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}List public Danish parliamentary and municipal elections that have result data or are enabled for live coverage. Returns IDs and slugs for get_election, plus current default/live markers and public URLs.
No parameters.
{
"name": "list_elections",
"description": "List public Danish parliamentary and municipal elections that have result data or are\n enabled for live coverage. Returns IDs and slugs for get_election, plus current default/live markers and\n public URLs.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Resolve politicians by name only. Use this when an MCP client needs person IDs before calling person-specific tools.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Full or partial name of a politician. Searches only person name fields. |
| period_id | integer | Optional parliamentary period ID. |
| current_only | boolean | Limit to politicians active in the current period. |
| max_candidates | integer |
{
"name": "resolve_person",
"description": "Resolve politicians by name only. Use this when an MCP client needs person IDs before calling\n person-specific tools.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Full or partial name of a politician. Searches only person name fields."
},
"period_id": {
"type": "integer",
"description": "Optional parliamentary period ID."
},
"current_only": {
"type": "boolean",
"default": true,
"description": "Limit to politicians active in the current period."
},
"max_candidates": {
"type": "integer",
"default": 10,
"maximum": 25,
"minimum": 1
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Universal Deep Research-compatible search across Politikdata.dk questions and answers, cases, vote casts, people, parties, legislation and verdicts. Use fetch with a returned id to retrieve a readable citation source.
| Parameter | Type | Description |
|---|---|---|
| query * | string | Natural-language search query. |
{
"name": "search",
"description": "Universal Deep Research-compatible search across Politikdata.dk questions and answers, cases, vote casts, people, parties, legislation and verdicts. Use fetch with a returned id to retrieve a readable citation source.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Natural-language search query."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Search Danish parliamentary cases/documents by text, date range, type, category, and topic. Category filters should usually be omitted for initial searches and used only for refinement.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| query | string | Free-text query for case title, resume, explanation, or case number. |
| sort_by | string | Sort field. Defaults to updated_date. |
| to_date | string | Latest update date, formatted as YYYY-MM-DD. |
| from_date | string | Earliest update date, formatted as YYYY-MM-DD. |
| page_size | integer | |
| keyword_id | integer | Exact keyword ID, when known. |
| category_id | integer | Advanced refinement filter. Use only when the user explicitly asks for this category or to narrow an already-inspected result set; categories are difficult to distinguish and should usually be omitted for initial searches. |
| case_type_id | integer | Case type ID from the case type vocabulary resource. |
| keyword_text | string | Natural-language topic text. Prefer this when exact keyword IDs are ambiguous. |
| sort_direction | string | Sort direction. Defaults to desc. |
{
"name": "search_cases",
"description": "Search Danish parliamentary cases/documents by text, date range, type, category, and topic. Category\n filters should usually be omitted for initial searches and used only for refinement.",
"inputSchema": {
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Free-text query for case title, resume, explanation, or case number."
},
"sort_by": {
"enum": [
"updated_date",
"created_date",
"title",
"case_number"
],
"type": "string",
"default": "updated_date",
"description": "Sort field. Defaults to updated_date."
},
"to_date": {
"type": "string",
"format": "date",
"description": "Latest update date, formatted as YYYY-MM-DD."
},
"from_date": {
"type": "string",
"format": "date",
"description": "Earliest update date, formatted as YYYY-MM-DD."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"keyword_id": {
"type": "integer",
"description": "Exact keyword ID, when known."
},
"category_id": {
"type": "integer",
"description": "Advanced refinement filter. Use only when the user explicitly asks\n for this category or to narrow an already-inspected result set; categories are difficult to distinguish and\n should usually be omitted for initial searches."
},
"case_type_id": {
"type": "integer",
"description": "Case type ID from the case type vocabulary resource."
},
"keyword_text": {
"type": "string",
"description": "Natural-language topic text. Prefer this when exact keyword IDs are ambiguous."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction. Defaults to desc."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Search parliamentary topic keywords by text. Results are ordered by associated document count so frequently used keywords are suggested first.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| query * | string | Keyword text or partial topic text to search for. |
| page_size | integer |
{
"name": "search_keywords",
"description": "Search parliamentary topic keywords by text. Results are ordered by associated document count so\n frequently used keywords are suggested first.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Keyword text or partial topic text to search for."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 50,
"minimum": 1
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Search legislation from Retsinformation, including legal text. Use get_legal_document for metadata and paged text. Historical versions can be included explicitly.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| query | string | |
| page_size | integer | |
| include_historical | boolean |
{
"name": "search_legal_documents",
"description": "Search legislation from Retsinformation, including legal text. Use get_legal_document for metadata and paged text. Historical versions can be included explicitly.",
"inputSchema": {
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"maximum": 10000,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 200
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"include_historical": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Search how a Danish political party voted in Folketinget afstemninger/stemmer. Use party IDs from the parties vocabulary resource. Category filters should usually be omitted for initial searches and used only for refinement.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| query | string | Free-text query for Danish case title. |
| sort_by | string | Sort field. Defaults to date. |
| to_date | string | Latest afstemning date, formatted as YYYY-MM-DD. |
| party_id * | integer | Party ID from the parties vocabulary resource. |
| from_date | string | Earliest afstemning date, formatted as YYYY-MM-DD. |
| page_size | integer | |
| category_id | integer | Advanced refinement filter. Use only when the user explicitly asks for this category or to narrow an already-inspected result set; categories are difficult to distinguish and should usually be omitted for initial searches. |
| case_type_id | integer | Related case type ID from the case type vocabulary resource. |
| vote_type_id | integer | Party vote type ID from the vote types vocabulary resource. |
| sort_direction | string | Sort direction. Defaults to desc. |
| vote_cast_type_id | integer | Afstemning type ID from the vote event type vocabulary resource. |
| include_change_proposals | boolean | Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed. |
{
"name": "search_party_votes",
"description": "Search how a Danish political party voted in Folketinget afstemninger/stemmer. Use party IDs from the\n parties vocabulary resource. Category filters should usually be omitted for initial searches and used\n only for refinement.",
"inputSchema": {
"type": "object",
"required": [
"party_id"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Free-text query for Danish case title."
},
"sort_by": {
"enum": [
"date",
"case_title",
"case_type",
"category",
"vote_cast_number",
"accepted",
"party_name",
"vote_type"
],
"type": "string",
"default": "date",
"description": "Sort field. Defaults to date."
},
"to_date": {
"type": "string",
"format": "date",
"description": "Latest afstemning date, formatted as YYYY-MM-DD."
},
"party_id": {
"type": "integer",
"minimum": 1,
"description": "Party ID from the parties vocabulary resource."
},
"from_date": {
"type": "string",
"format": "date",
"description": "Earliest afstemning date, formatted as YYYY-MM-DD."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"category_id": {
"type": "integer",
"description": "Advanced refinement filter. Use only when the user explicitly asks\n for this category or to narrow an already-inspected result set; categories are difficult to distinguish and\n should usually be omitted for initial searches."
},
"case_type_id": {
"type": "integer",
"description": "Related case type ID from the case type vocabulary resource."
},
"vote_type_id": {
"type": "integer",
"description": "Party vote type ID from the vote types vocabulary resource."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction. Defaults to desc."
},
"vote_cast_type_id": {
"type": "integer",
"description": "Afstemning type ID from the vote event type vocabulary resource."
},
"include_change_proposals": {
"type": "boolean",
"default": false,
"description": "Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Search how a Danish politician/person voted in Folketinget afstemninger/stemmer. Use resolve_person first when only a name is known. Category filters should usually be omitted for initial searches and used only for refinement.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| query | string | Free-text query for Danish case title. |
| sort_by | string | Sort field. Defaults to date. |
| to_date | string | Latest afstemning date, formatted as YYYY-MM-DD. |
| from_date | string | Earliest afstemning date, formatted as YYYY-MM-DD. |
| page_size | integer | |
| person_id * | integer | Person ID. Use resolve_person first when only a name is known. |
| category_id | integer | Advanced refinement filter. Use only when the user explicitly asks for this category or to narrow an already-inspected result set; categories are difficult to distinguish and should usually be omitted for initial searches. |
| case_type_id | integer | Related case type ID from the case type vocabulary resource. |
| vote_type_id | integer | Person vote type ID from the vote types vocabulary resource. |
| sort_direction | string | Sort direction. Defaults to desc. |
| vote_cast_type_id | integer | Afstemning type ID from the vote event type vocabulary resource. |
| include_change_proposals | boolean | Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed. |
{
"name": "search_person_votes",
"description": "Search how a Danish politician/person voted in Folketinget afstemninger/stemmer. Use resolve_person\n first when only a name is known. Category filters should usually be omitted for initial searches and used\n only for refinement.",
"inputSchema": {
"type": "object",
"required": [
"person_id"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Free-text query for Danish case title."
},
"sort_by": {
"enum": [
"date",
"case_title",
"case_type",
"category",
"vote_cast_number",
"accepted",
"party_name",
"vote_type"
],
"type": "string",
"default": "date",
"description": "Sort field. Defaults to date."
},
"to_date": {
"type": "string",
"format": "date",
"description": "Latest afstemning date, formatted as YYYY-MM-DD."
},
"from_date": {
"type": "string",
"format": "date",
"description": "Earliest afstemning date, formatted as YYYY-MM-DD."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"person_id": {
"type": "integer",
"minimum": 1,
"description": "Person ID. Use resolve_person first when only a name is known."
},
"category_id": {
"type": "integer",
"description": "Advanced refinement filter. Use only when the user explicitly asks\n for this category or to narrow an already-inspected result set; categories are difficult to distinguish and\n should usually be omitted for initial searches."
},
"case_type_id": {
"type": "integer",
"description": "Related case type ID from the case type vocabulary resource."
},
"vote_type_id": {
"type": "integer",
"description": "Person vote type ID from the vote types vocabulary resource."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction. Defaults to desc."
},
"vote_cast_type_id": {
"type": "integer",
"description": "Afstemning type ID from the vote event type vocabulary resource."
},
"include_change_proposals": {
"type": "boolean",
"default": false,
"description": "Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Resolve or search politicians by name, optionally limited by parliamentary period.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| query * | string | Name or partial name of a politician. |
| sort_by | string | Optional explicit sort field. Omit to keep relevance-first ordering for name searches. |
| page_size | integer | |
| period_id | integer | Optional parliamentary period ID. |
| current_only | boolean | Limit to politicians active in the current period. |
| sort_direction | string | Sort direction for explicit sort_by. Defaults to asc. |
{
"name": "search_persons",
"description": "Resolve or search politicians by name, optionally limited by parliamentary period.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Name or partial name of a politician."
},
"sort_by": {
"enum": [
"last_name",
"name",
"party",
"period"
],
"type": "string",
"description": "Optional explicit sort field. Omit to keep relevance-first ordering for name searches."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 50,
"minimum": 1
},
"period_id": {
"type": "integer",
"description": "Optional parliamentary period ID."
},
"current_only": {
"type": "boolean",
"default": true,
"description": "Limit to politicians active in the current period."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "asc",
"description": "Sort direction for explicit sort_by. Defaults to asc."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Search all Danish parliamentary questions including text in their answers. Results and facets count distinct questions; answers appear inline. Use get_question to read all answers.
| Parameter | Type | Description |
|---|---|---|
| emne | array | Emne |
| page | integer | |
| asker | array | Stillet af |
| party | array | Spørgerens parti |
| query | string | Words in a question or any of its answers. |
| status | array | Status |
| emneord | array | Nøgleord |
| sort_by | string | one of ["date","title","relevance"] |
| to_date | string | |
| committee | array | Udvalg |
| from_date | string | |
| page_size | integer | |
| recipient | array | Stillet til |
| respondent | array | Besvaret af |
| emne_offset | integer | |
| emne_search | string | |
| asker_offset | integer | |
| asker_search | string | |
| party_offset | integer | |
| party_search | string | |
| answer_format | array | Svarform |
| question_type | array | Spørgsmålstype |
| status_offset | integer | |
| status_search | string | |
| emneord_offset | integer | |
| emneord_search | string | |
| sort_direction | string | one of ["asc","desc"] |
| committee_offset | integer | |
| committee_search | string | |
| recipient_offset | integer | |
| recipient_search | string | |
| party_attribution | array | Sikkerhed om partitilknytning |
| respondent_offset | integer | |
| respondent_search | string | |
| answer_format_offset | integer | |
| answer_format_search | string | |
| question_type_offset | integer | |
| question_type_search | string | |
| party_attribution_offset | integer | |
| party_attribution_search | string |
{
"name": "search_questions",
"description": "Search all Danish parliamentary questions including text in their answers. Results and facets count distinct questions; answers appear inline. Use get_question to read all answers.",
"inputSchema": {
"type": "object",
"properties": {
"emne": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Emne"
},
"page": {
"type": "integer",
"default": 1,
"maximum": 200,
"minimum": 1
},
"asker": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Stillet af"
},
"party": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Spørgerens parti"
},
"query": {
"type": "string",
"maxLength": 500,
"description": "Words in a question or any of its answers."
},
"status": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Status"
},
"emneord": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Nøgleord"
},
"sort_by": {
"enum": [
"date",
"title",
"relevance"
],
"type": "string"
},
"to_date": {
"type": "string",
"format": "date"
},
"committee": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Udvalg"
},
"from_date": {
"type": "string",
"format": "date"
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"recipient": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Stillet til"
},
"respondent": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Besvaret af"
},
"emne_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"emne_search": {
"type": "string",
"maxLength": 100
},
"asker_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"asker_search": {
"type": "string",
"maxLength": 100
},
"party_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"party_search": {
"type": "string",
"maxLength": 100
},
"answer_format": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Svarform"
},
"question_type": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Spørgsmålstype"
},
"status_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"status_search": {
"type": "string",
"maxLength": 100
},
"emneord_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"emneord_search": {
"type": "string",
"maxLength": 100
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"committee_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"committee_search": {
"type": "string",
"maxLength": 100
},
"recipient_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"recipient_search": {
"type": "string",
"maxLength": 100
},
"party_attribution": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Sikkerhed om partitilknytning"
},
"respondent_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"respondent_search": {
"type": "string",
"maxLength": 100
},
"answer_format_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"answer_format_search": {
"type": "string",
"maxLength": 100
},
"question_type_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"question_type_search": {
"type": "string",
"maxLength": 100
},
"party_attribution_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"party_attribution_search": {
"type": "string",
"maxLength": 100
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Search published judgments and decisions, optionally filtered by source. Set include_other_publications for summaries, opinions, settlements and procedural records. Use get_verdict for citation findings, outcomes and paged text.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| query | string | |
| source | string | one of ["domsdatabasen","arbejdsretten","landsskatteretten","rigsretten","soe-og-handelsretten","hoejesteret","landsretterne","byretterne","tinglysningsretten","procesbevillingsnaevnet","ankestyrelsen","anke… |
| page_size | integer | |
| include_other_publications | boolean | Include summaries, opinions, settlements, records and procedural publications. |
{
"name": "search_verdicts",
"description": "Search published judgments and decisions, optionally filtered by source. Set include_other_publications for summaries, opinions, settlements and procedural records. Use get_verdict for citation findings, outcomes and paged text.",
"inputSchema": {
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"maximum": 10000,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 200
},
"source": {
"enum": [
"domsdatabasen",
"arbejdsretten",
"landsskatteretten",
"rigsretten",
"soe-og-handelsretten",
"hoejesteret",
"landsretterne",
"byretterne",
"tinglysningsretten",
"procesbevillingsnaevnet",
"ankestyrelsen",
"ankestyrelsen-tilsyn",
"ligebehandlingsnaevnet",
"naevnenes-hus",
"datatilsynet",
"ombudsmanden"
],
"type": "string"
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"include_other_publications": {
"type": "boolean",
"default": false,
"description": "Include summaries, opinions, settlements, records and procedural publications."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Search Danish parliamentary afstemninger/stemmer, meaning aggregate vote results for a case step. This does not search individual person or party votes. Category filters should usually be omitted for initial searches and used only for refinement.
| Parameter | Type | Description |
|---|---|---|
| page | integer | |
| query | string | Free-text query for Danish case title or case number. |
| sort_by | string | Sort field. Defaults to date. |
| to_date | string | Latest meeting date, formatted as YYYY-MM-DD. |
| accepted | boolean | Whether the afstemning was accepted/adopted. |
| from_date | string | Earliest meeting date, formatted as YYYY-MM-DD. |
| page_size | integer | |
| keyword_id | integer | Exact keyword ID, when known. |
| category_id | integer | Advanced refinement filter. Use only when the user explicitly asks for this category or to narrow an already-inspected result set; categories are difficult to distinguish and should usually be omitted for initial searches. |
| case_type_id | integer | Related case type ID from the case type vocabulary resource. |
| keyword_text | string | Natural-language topic text. Prefer this when exact keyword IDs are ambiguous. |
| sort_direction | string | Sort direction. Defaults to desc. |
| vote_cast_type_id | integer | Afstemning type ID from the vote cast/event type vocabulary resource. |
| include_change_proposals | boolean | Include amendment/change proposal afstemninger. Defaults to false. |
{
"name": "search_vote_casts",
"description": "Search Danish parliamentary afstemninger/stemmer, meaning aggregate vote results for a case step.\n This does not search individual person or party votes. Category filters should usually be omitted for\n initial searches and used only for refinement.",
"inputSchema": {
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Free-text query for Danish case title or case number."
},
"sort_by": {
"enum": [
"date",
"title",
"case_number",
"vote_cast_number",
"accepted",
"majority_vote_type"
],
"type": "string",
"default": "date",
"description": "Sort field. Defaults to date."
},
"to_date": {
"type": "string",
"format": "date",
"description": "Latest meeting date, formatted as YYYY-MM-DD."
},
"accepted": {
"type": "boolean",
"description": "Whether the afstemning was accepted/adopted."
},
"from_date": {
"type": "string",
"format": "date",
"description": "Earliest meeting date, formatted as YYYY-MM-DD."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"keyword_id": {
"type": "integer",
"description": "Exact keyword ID, when known."
},
"category_id": {
"type": "integer",
"description": "Advanced refinement filter. Use only when the user explicitly asks\n for this category or to narrow an already-inspected result set; categories are difficult to distinguish and\n should usually be omitted for initial searches."
},
"case_type_id": {
"type": "integer",
"description": "Related case type ID from the case type vocabulary resource."
},
"keyword_text": {
"type": "string",
"description": "Natural-language topic text. Prefer this when exact keyword IDs are ambiguous."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction. Defaults to desc."
},
"vote_cast_type_id": {
"type": "integer",
"description": "Afstemning type ID from the vote cast/event type vocabulary resource."
},
"include_change_proposals": {
"type": "boolean",
"default": false,
"description": "Include amendment/change proposal afstemninger. Defaults to false."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this server to retrieve Danish parliamentary data from politikdata.dk. Prefer exact IDs from vocabulary resources where available, include canonical politikdata.dk URLs in answers, and distinguish politikdata.dk data from original Folketinget source URLs when both are present. For comparison tools, omit result_filter or use result_filter=all when the user asks for overall similarity or agreement. Use result_filter=only_agreement or result_filter=only_disagreement only when the user asks to inspect matching result rows; these values must not be used to calculate the overall agreement percentage.
Names, descriptions and schemas were written by the server and are shown as data.