MCP-Server

Politikdata.dk MCP

dk.politikdata/mcp
Daten & Analytik Suche & Recherche Öffentlich und erreichbar MCP 2025-11-25

Was dieses MCP kann

Searches and retrieves Danish parliamentary cases, questions, votes, politicians, parties, elections, documents, and comparative voting results.

compare
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.
Nur Lesen
Eingabeschema
{'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}
fetch
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.
Nur Lesen
Eingabeschema
{'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}
Ausgabeschema
{'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}
get_case
Get compact details for one Danish parliamentary case, including paginated associated document metadata and file IDs for optional extracted document text retrieval.
Nur Lesen
Eingabeschema
{'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}
get_document_text
Return a bounded slice of extracted text for a document file. Supports head, tail, and range pagination; source_url always points to the official PDF.
Nur Lesen
Eingabeschema
{'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}
get_election
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.
Nur Lesen
Eingabeschema
{'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}
get_election_candidates
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.
Nur Lesen
Eingabeschema
{'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}
get_election_history
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.
Nur Lesen
Eingabeschema
{'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}
get_election_votes
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.
Nur Lesen
Eingabeschema
{'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}
get_party
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.
Nur Lesen
Eingabeschema
{'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}
get_person
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.
Nur Lesen
Eingabeschema
{'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}
get_question
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.
Nur Lesen
Eingabeschema
{'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}
get_question_history
Read the non-searchable parliamentary timeline for a question, including source provenance, corrections and observation dates. Page with offset and limit.
Nur Lesen
Eingabeschema
{'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}
get_vote_cast
Get compact details for one Danish parliamentary afstemning/vote cast, including paginated party vote breakdown. This does not include the full roll-call list of individual politician votes; use get_vote_cast_votes for that.
Nur Lesen
Eingabeschema
{'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}
get_vote_cast_votes
Get the full voting breakdown for one Danish parliamentary afstemning/vote cast, including both party-level votes and individual politician roll-call votes.
Nur Lesen
Eingabeschema
{'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}
list_elections
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.
Nur Lesen
Eingabeschema
{'type': 'object', 'properties': {}, 'additionalProperties': False}
resolve_person
Resolve politicians by name only. Use this when an MCP client needs person IDs before calling person-specific tools.
Nur Lesen
Eingabeschema
{'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}
search
Universal Deep Research-compatible search across Politikdata.dk questions and their answers, cases, vote casts, people, and parties. Use fetch with the returned id to retrieve a readable citation source.
Nur Lesen
Eingabeschema
{'type': 'object', 'required': ['query'], 'properties': {'query': {'type': 'string', 'description': 'Natural-language search query.'}}, 'additionalProperties': False}
Ausgabeschema
{'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}
search_cases
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.
Nur Lesen
Eingabeschema
{'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}
search_keywords
Search parliamentary topic keywords by text. Results are ordered by associated document count so frequently used keywords are suggested first.
Nur Lesen
Eingabeschema
{'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}
search_party_votes
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.
Nur Lesen
Eingabeschema
{'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}
search_persons
Resolve or search politicians by name, optionally limited by parliamentary period.
Nur Lesen
Eingabeschema
{'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}
search_person_votes
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.
Nur Lesen
Eingabeschema
{'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}
search_questions
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.
Nur Lesen
Eingabeschema
{'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}
search_vote_casts
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.
Nur Lesen
Eingabeschema
{'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}
Hinzugefügt
search_vote_casts
17. September 2026 12:39
Hinzugefügt
search_questions
17. September 2026 12:39
Hinzugefügt
search_persons
17. September 2026 12:39
Hinzugefügt
search_person_votes
17. September 2026 12:39
Hinzugefügt
search_party_votes
17. September 2026 12:39
Hinzugefügt
search_keywords
17. September 2026 12:39
Hinzugefügt
search_cases
17. September 2026 12:39
Hinzugefügt
search
17. September 2026 12:39
Hinzugefügt
resolve_person
17. September 2026 12:39
Hinzugefügt
list_elections
17. September 2026 12:39
Hinzugefügt
get_vote_cast_votes
17. September 2026 12:39
Hinzugefügt
get_vote_cast
17. September 2026 12:39
Hinzugefügt
get_question_history
17. September 2026 12:39
Hinzugefügt
get_question
17. September 2026 12:39
Hinzugefügt
get_person
17. September 2026 12:39
Hinzugefügt
get_party
17. September 2026 12:39
Hinzugefügt
get_election_votes
17. September 2026 12:39
Hinzugefügt
get_election_history
17. September 2026 12:39
Hinzugefügt
get_election_candidates
17. September 2026 12:39
Hinzugefügt
get_election
17. September 2026 12:39
Hinzugefügt
get_document_text
17. September 2026 12:39
Hinzugefügt
get_case
17. September 2026 12:39
Hinzugefügt
fetch
17. September 2026 12:39
Hinzugefügt
compare
17. September 2026 12:39