Politikdata.dk MCP

Danish parliamentary cases, votes, politicians, parties, elections, and comparison tools.

사용해야 할까요

품질 및 안전성

A
설명 품질
95%
스키마 완전성
91%
이름 품질
98%
오염 위험
100%
권한 일치
90%
프로토콜 준수
100%

발견 사항 (2)

  • LOWTool 'get_document_text' description lacks action verbget_document_text에서
  • LOWTool 'fetch' suggests web access but openWorldHint=falsefetch에서

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~7,296토큰 (도구 정의)
~2.8 KB일반적인 응답 크기
상당한 주의 영향 (128k 컨텍스트의 5.70%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.politikdata.dk/mcp"
    }
  }
}

원격 엔드포인트

https://mcp.politikdata.dk/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (24)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢compare(left, right, result_filter, query, from_date, ...)

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.

입력 스키마

{
  "type": "object",
  "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."
    },
    "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."
    },
    "result_filter": {
      "type": "string",
      "enum": [
        "all",
        "only_agreement",
        "only_disagreement"
      ],
      "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."
    },
    "query": {
      "type": "string",
      "description": "Free-text query for Danish case title."
    },
    "from_date": {
      "type": "string",
      "format": "date",
      "description": "Earliest afstemning date, formatted as YYYY-MM-DD."
    },
    "to_date": {
      "type": "string",
      "format": "date",
      "description": "Latest afstemning date, formatted as YYYY-MM-DD."
    },
    "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."
    },
    "vote_cast_type_id": {
      "type": "integer",
      "description": "Afstemning type ID from the vote event type vocabulary resource."
    },
    "case_type_id": {
      "type": "integer",
      "description": "Related case type ID from the case type vocabulary resource."
    },
    "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."
    },
    "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."
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "date",
        "case_title",
        "case_type",
        "category",
        "vote_cast_number",
        "accepted",
        "party_name",
        "vote_type"
      ],
      "default": "date",
      "description": "Sort field. Defaults to date."
    },
    "sort_direction": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "desc",
      "description": "Sort direction. Defaults to desc."
    },
    "accepted": {
      "type": "boolean",
      "description": "Whether the afstemning was accepted/adopted."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    }
  },
  "required": [
    "left",
    "right"
  ],
  "additionalProperties": false
}
🟢fetch(id)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Result ID returned by the search tool, for example case:123, vote_cast:456, person:789, or party:2."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "required": [
    "id",
    "title",
    "text",
    "url",
    "metadata"
  ],
  "additionalProperties": false
}
🟢get_case(case_id, document_offset, document_limit)

Get compact details for one Danish parliamentary case, including paginated associated document metadata and file IDs for optional extracted document text retrieval.

입력 스키마

{
  "type": "object",
  "properties": {
    "case_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Case ID from search_cases, search_vote_casts, or vote search related_case.id."
    },
    "document_offset": {
      "type": "integer",
      "minimum": 0,
      "default": 0,
      "description": "Offset into the associated document metadata list. Use with document_limit to page through large case document lists."
    },
    "document_limit": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "default": 25,
      "description": "Maximum number of associated document metadata records to return. Use 0 to omit document items while keeping document counts."
    }
  },
  "required": [
    "case_id"
  ],
  "additionalProperties": false
}
🟢get_document_text(file_id, mode, offset, limit)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "file_id": {
      "type": "integer",
      "minimum": 1,
      "description": "File ID from get_case documents.items[].file.id."
    },
    "mode": {
      "type": "string",
      "enum": [
        "head",
        "tail",
        "range"
      ],
      "default": "head",
      "description": "Text slice mode. Use head for the beginning, tail for the end, or range with offset for pagination."
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "default": 0,
      "description": "Character offset used only when mode is range. Use next_offset from a prior response to continue reading."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50000,
      "default": 20000,
      "description": "Maximum number of extracted-text characters to return."
    }
  },
  "required": [
    "file_id"
  ],
  "additionalProperties": false
}
🟢get_election(election_id, election_slug)

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.

입력 스키마

{
  "type": "object",
  "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."
    }
  },
  "oneOf": [
    {
      "required": [
        "election_id"
      ]
    },
    {
      "required": [
        "election_slug"
      ]
    }
  ],
  "additionalProperties": false
}
🟢get_election_candidates(year, election_type, region, constituency, nomination_district, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer",
      "minimum": 1900,
      "maximum": 2100
    },
    "election_type": {
      "type": "string",
      "enum": [
        "FV",
        "KV"
      ],
      "default": "FV",
      "description": "FV for Folketingsvalg or KV for Kommunalvalg."
    },
    "region": {
      "type": "string",
      "description": "Region code or name, for example Region Midtjylland."
    },
    "constituency": {
      "type": "string",
      "description": "Folketingsvalg constituency (Danish: storkreds) code or name."
    },
    "nomination_district": {
      "type": "string",
      "description": "Folketingsvalg nomination district (Danish: opstillingskreds) 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."
    },
    "party": {
      "type": "string",
      "description": "Optional party name, abbreviation, list letter, or election list ID."
    },
    "candidate": {
      "type": "string",
      "description": "Optional candidate ID, slug, exact name, or partial name."
    },
    "breakdown_by": {
      "type": "string",
      "enum": [
        "region",
        "municipality",
        "polling_area"
      ],
      "description": "With one uniquely resolved candidate, break their result down geographically."
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "votes",
        "vote_share",
        "name"
      ],
      "default": "votes"
    },
    "sort_direction": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "desc"
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    }
  },
  "required": [
    "year"
  ],
  "additionalProperties": false
}
🟢get_election_history(metric, election_type, from_year, to_year, region, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "metric": {
      "type": "string",
      "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"
      ]
    },
    "election_type": {
      "type": "string",
      "enum": [
        "FV",
        "KV"
      ],
      "default": "FV",
      "description": "FV for Folketingsvalg or KV for Kommunalvalg."
    },
    "from_year": {
      "type": "integer",
      "minimum": 1900,
      "maximum": 2100
    },
    "to_year": {
      "type": "integer",
      "minimum": 1900,
      "maximum": 2100
    },
    "region": {
      "type": "string",
      "description": "Region code or name, for example Region Midtjylland."
    },
    "constituency": {
      "type": "string",
      "description": "Folketingsvalg constituency (Danish: storkreds) code or name."
    },
    "nomination_district": {
      "type": "string",
      "description": "Folketingsvalg nomination district (Danish: opstillingskreds) 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."
    },
    "party": {
      "type": "string",
      "description": "Required for party metrics; accepts name, abbreviation, letter, or list ID."
    },
    "candidate": {
      "type": "string",
      "description": "Required for candidate metrics; accepts candidate ID, slug, or name."
    },
    "breakdown_by": {
      "type": "string",
      "enum": [
        "election",
        "region",
        "constituency",
        "municipality"
      ],
      "default": "election",
      "description": "Group by election, or rank one geographic dimension across the period."
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "year",
        "value",
        "name"
      ],
      "default": "year"
    },
    "sort_direction": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "asc"
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    }
  },
  "required": [
    "metric"
  ],
  "additionalProperties": false
}
🟢get_election_votes(year, election_type, region, constituency, nomination_district, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer",
      "minimum": 1900,
      "maximum": 2100,
      "description": "Election year. Returns election_not_found when no matching election exists."
    },
    "election_type": {
      "type": "string",
      "enum": [
        "FV",
        "KV"
      ],
      "default": "FV",
      "description": "FV for Folketingsvalg or KV for Kommunalvalg."
    },
    "region": {
      "type": "string",
      "description": "Region code or name, for example Region Midtjylland."
    },
    "constituency": {
      "type": "string",
      "description": "Folketingsvalg constituency (Danish: storkreds) code or name."
    },
    "nomination_district": {
      "type": "string",
      "description": "Folketingsvalg nomination district (Danish: opstillingskreds) 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."
    },
    "party": {
      "type": "string",
      "description": "Optional party name, abbreviation, list letter, or election list ID."
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "votes",
        "vote_share",
        "name"
      ],
      "default": "votes"
    },
    "sort_direction": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "desc"
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    }
  },
  "required": [
    "year"
  ],
  "additionalProperties": false
}
🟢get_party(party_id)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "party_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Party ID from the parties vocabulary resource or party vote search results."
    }
  },
  "required": [
    "party_id"
  ],
  "additionalProperties": false
}
🟢get_person(person_id)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "person_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Person ID from search_persons, resolve_person, or a person-specific vote result."
    }
  },
  "required": [
    "person_id"
  ],
  "additionalProperties": false
}
🟢get_question(question_id, answer_offset, answer_limit, text_offset, text_limit, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "question_id": {
      "type": "integer",
      "minimum": 1
    },
    "answer_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000,
      "default": 0
    },
    "answer_limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    },
    "text_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000,
      "default": 0
    },
    "text_limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20000,
      "default": 2000
    },
    "answer_id": {
      "type": "integer",
      "minimum": 0,
      "maximum": 2147483647,
      "default": 0
    },
    "matched_answer_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000,
      "default": 0
    },
    "query": {
      "type": "string",
      "maxLength": 500,
      "description": "Repeat the search query to include matching answers outside the ordinary answer window."
    }
  },
  "required": [
    "question_id"
  ],
  "additionalProperties": false
}
🟢get_question_history(question_id, offset, limit)

Read the non-searchable parliamentary timeline for a question, including source provenance, corrections and observation dates. Page with offset and limit.

입력 스키마

{
  "type": "object",
  "properties": {
    "question_id": {
      "type": "integer",
      "minimum": 1
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000,
      "default": 0
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    }
  },
  "required": [
    "question_id"
  ],
  "additionalProperties": false
}
🟢get_vote_cast(vote_cast_id, party_vote_offset, party_vote_limit)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "vote_cast_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Vote cast / afstemning ID from search_vote_casts or vote search results."
    },
    "party_vote_offset": {
      "type": "integer",
      "minimum": 0,
      "default": 0,
      "description": "Offset into the party vote breakdown list."
    },
    "party_vote_limit": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "default": 50,
      "description": "Maximum number of party vote breakdown rows to return. Use 0 to omit party vote items while keeping counts."
    }
  },
  "required": [
    "vote_cast_id"
  ],
  "additionalProperties": false
}
🟢get_vote_cast_votes(vote_cast_id)

Get the full voting breakdown for one Danish parliamentary afstemning/vote cast, including both party-level votes and individual politician roll-call votes.

입력 스키마

{
  "type": "object",
  "properties": {
    "vote_cast_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Vote cast / afstemning ID from search_vote_casts or vote search results."
    }
  },
  "required": [
    "vote_cast_id"
  ],
  "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.

입력 스키마

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢resolve_person(name, period_id, current_only, max_candidates)

Resolve politicians by name only. Use this when an MCP client needs person IDs before calling person-specific tools.

입력 스키마

{
  "type": "object",
  "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",
      "minimum": 1,
      "maximum": 25,
      "default": 10
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false
}
🟢search(query)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Natural-language search query."
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "url"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "results"
  ],
  "additionalProperties": false
}
🟢search_cases(query, from_date, to_date, case_type_id, category_id, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Free-text query for case title, resume, explanation, or case number."
    },
    "from_date": {
      "type": "string",
      "format": "date",
      "description": "Earliest update date, formatted as YYYY-MM-DD."
    },
    "to_date": {
      "type": "string",
      "format": "date",
      "description": "Latest update date, formatted as YYYY-MM-DD."
    },
    "case_type_id": {
      "type": "integer",
      "description": "Case type ID from the case type vocabulary resource."
    },
    "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."
    },
    "keyword_text": {
      "type": "string",
      "description": "Natural-language topic text. Prefer this when exact keyword IDs are ambiguous."
    },
    "keyword_id": {
      "type": "integer",
      "description": "Exact keyword ID, when known."
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "updated_date",
        "created_date",
        "title",
        "case_number"
      ],
      "default": "updated_date",
      "description": "Sort field. Defaults to updated_date."
    },
    "sort_direction": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "desc",
      "description": "Sort direction. Defaults to desc."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    }
  },
  "additionalProperties": false
}
🟢search_keywords(query, page, page_size)

Search parliamentary topic keywords by text. Results are ordered by associated document count so frequently used keywords are suggested first.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Keyword text or partial topic text to search for."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 25
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}
🟢search_party_votes(party_id, query, from_date, to_date, vote_type_id, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "party_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Party ID from the parties vocabulary resource."
    },
    "query": {
      "type": "string",
      "description": "Free-text query for Danish case title."
    },
    "from_date": {
      "type": "string",
      "format": "date",
      "description": "Earliest afstemning date, formatted as YYYY-MM-DD."
    },
    "to_date": {
      "type": "string",
      "format": "date",
      "description": "Latest afstemning date, formatted as YYYY-MM-DD."
    },
    "vote_type_id": {
      "type": "integer",
      "description": "Party vote type ID from the vote types vocabulary resource."
    },
    "vote_cast_type_id": {
      "type": "integer",
      "description": "Afstemning type ID from the vote event type vocabulary resource."
    },
    "case_type_id": {
      "type": "integer",
      "description": "Related case type ID from the case type vocabulary resource."
    },
    "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."
    },
    "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."
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "date",
        "case_title",
        "case_type",
        "category",
        "vote_cast_number",
        "accepted",
        "party_name",
        "vote_type"
      ],
      "default": "date",
      "description": "Sort field. Defaults to date."
    },
    "sort_direction": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "desc",
      "description": "Sort direction. Defaults to desc."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    }
  },
  "required": [
    "party_id"
  ],
  "additionalProperties": false
}
🟢search_person_votes(person_id, query, from_date, to_date, vote_type_id, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "person_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Person ID. Use resolve_person first when only a name is known."
    },
    "query": {
      "type": "string",
      "description": "Free-text query for Danish case title."
    },
    "from_date": {
      "type": "string",
      "format": "date",
      "description": "Earliest afstemning date, formatted as YYYY-MM-DD."
    },
    "to_date": {
      "type": "string",
      "format": "date",
      "description": "Latest afstemning date, formatted as YYYY-MM-DD."
    },
    "vote_type_id": {
      "type": "integer",
      "description": "Person vote type ID from the vote types vocabulary resource."
    },
    "vote_cast_type_id": {
      "type": "integer",
      "description": "Afstemning type ID from the vote event type vocabulary resource."
    },
    "case_type_id": {
      "type": "integer",
      "description": "Related case type ID from the case type vocabulary resource."
    },
    "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."
    },
    "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."
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "date",
        "case_title",
        "case_type",
        "category",
        "vote_cast_number",
        "accepted",
        "party_name",
        "vote_type"
      ],
      "default": "date",
      "description": "Sort field. Defaults to date."
    },
    "sort_direction": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "desc",
      "description": "Sort direction. Defaults to desc."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    }
  },
  "required": [
    "person_id"
  ],
  "additionalProperties": false
}
🟢search_persons(query, period_id, current_only, sort_by, sort_direction, ...)

Resolve or search politicians by name, optionally limited by parliamentary period.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Name or partial name of a politician."
    },
    "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_by": {
      "type": "string",
      "enum": [
        "last_name",
        "name",
        "party",
        "period"
      ],
      "description": "Optional explicit sort field. Omit to keep relevance-first ordering for name searches."
    },
    "sort_direction": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "asc",
      "description": "Sort direction for explicit sort_by. Defaults to asc."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 25
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}
🟢search_questions(query, page, page_size, from_date, to_date, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 500,
      "description": "Words in a question or any of its answers."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    },
    "from_date": {
      "type": "string",
      "format": "date"
    },
    "to_date": {
      "type": "string",
      "format": "date"
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "date",
        "title",
        "relevance"
      ]
    },
    "sort_direction": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "question_type": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string"
      },
      "description": "Spørgsmålstype"
    },
    "question_type_search": {
      "type": "string",
      "maxLength": 100
    },
    "question_type_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "emne": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "integer"
      },
      "description": "Emne"
    },
    "emne_search": {
      "type": "string",
      "maxLength": 100
    },
    "emne_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "emneord": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "integer"
      },
      "description": "Nøgleord"
    },
    "emneord_search": {
      "type": "string",
      "maxLength": 100
    },
    "emneord_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "committee": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "integer"
      },
      "description": "Udvalg"
    },
    "committee_search": {
      "type": "string",
      "maxLength": 100
    },
    "committee_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "recipient": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "integer"
      },
      "description": "Stillet til"
    },
    "recipient_search": {
      "type": "string",
      "maxLength": 100
    },
    "recipient_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "asker": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "integer"
      },
      "description": "Stillet af"
    },
    "asker_search": {
      "type": "string",
      "maxLength": 100
    },
    "asker_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "party": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "integer"
      },
      "description": "Spørgerens parti"
    },
    "party_search": {
      "type": "string",
      "maxLength": 100
    },
    "party_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "status": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string"
      },
      "description": "Status"
    },
    "status_search": {
      "type": "string",
      "maxLength": 100
    },
    "status_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "respondent": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "integer"
      },
      "description": "Besvaret af"
    },
    "respondent_search": {
      "type": "string",
      "maxLength": 100
    },
    "respondent_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "answer_format": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string"
      },
      "description": "Svarform"
    },
    "answer_format_search": {
      "type": "string",
      "maxLength": 100
    },
    "answer_format_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "party_attribution": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string"
      },
      "description": "Sikkerhed om partitilknytning"
    },
    "party_attribution_search": {
      "type": "string",
      "maxLength": 100
    },
    "party_attribution_offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    }
  },
  "additionalProperties": false
}
🟢search_vote_casts(query, from_date, to_date, vote_cast_type_id, case_type_id, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Free-text query for Danish case title or case number."
    },
    "from_date": {
      "type": "string",
      "format": "date",
      "description": "Earliest meeting date, formatted as YYYY-MM-DD."
    },
    "to_date": {
      "type": "string",
      "format": "date",
      "description": "Latest meeting date, formatted as YYYY-MM-DD."
    },
    "vote_cast_type_id": {
      "type": "integer",
      "description": "Afstemning type ID from the vote cast/event type vocabulary resource."
    },
    "case_type_id": {
      "type": "integer",
      "description": "Related case type ID from the case type vocabulary resource."
    },
    "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."
    },
    "accepted": {
      "type": "boolean",
      "description": "Whether the afstemning was accepted/adopted."
    },
    "keyword_text": {
      "type": "string",
      "description": "Natural-language topic text. Prefer this when exact keyword IDs are ambiguous."
    },
    "keyword_id": {
      "type": "integer",
      "description": "Exact keyword ID, when known."
    },
    "include_change_proposals": {
      "type": "boolean",
      "default": false,
      "description": "Include amendment/change proposal afstemninger. Defaults to false."
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "date",
        "title",
        "case_number",
        "vote_cast_number",
        "accepted",
        "majority_vote_type"
      ],
      "default": "date",
      "description": "Sort field. Defaults to date."
    },
    "sort_direction": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "desc",
      "description": "Sort direction. Defaults to desc."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    }
  },
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 24개
검증됨버전이 기록되지 않음도구 24개