MCP server exposing 9 tools for folketinget-dk.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/folketinget-dk/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
folketinget_dk_query_entity — Query a Folketinget (Danish Parliament) OData v3 entity collection. Returns matching rows under the `value` array. Fields and values are in Danish (e.g. titel=title, navn=name, opdateringsdato=last-updated). Supports OData $filter/$orderby/$expand/$select with $top/$skip paging. Example filters: "year(opdateringsdato) eq 2024", "substringof('klima',titel)", "typeid eq 3".folketinget_dk_get_entity_by_id — Fetch a single Folketinget entity record by its numeric id, e.g. Sag(1). Returns the record object directly (not wrapped in `value`). Use $expand to inline related entities.folketinget_dk_search_cases — Convenience search over Sag (cases/bills): finds cases whose Danish title (titel) contains a substring. Sorted by most recently updated. Use this to look up legislation/matters by keyword; for full control use query_entity.document_text — Return the full TEXT of a Folketinget (Danish Parliament) document -- a minister's final answer to a committee question (udvalgsspørgsmål, svar på spm.), a bill text, a citizen's petition or letter to a committee (henvendelse, bilag), a consultation reply. Identify it by its numeric Dokument id OR by the Folketinget website address of its file or question. Resolves the Dokument record, fetches its published file and extracts the text (PDF or Word; the declared file format is not trusted, the bytes are sniffed). Returns title, date, the question wording (spørgsmålsordlyd), who answered/asked, the extracted text, the list of files on the record, and a `reason` when no text could be read (file missing, scanned image, unsupported type) so an empty text is never ambiguous. A text whose fonts could not be decoded carries a text_quality_degraded warning. Long texts are paged with offset/max_chars. For a question together with its answer as one record use folketinget_dk_get_question_answer. Source: Folketinget, parliamentary document register.folketinget_dk_get_question_answer — One Folketinget committee question (udvalgsspørgsmål, alm. del) together with the minister's answer, as a single structured record: question text, who asked it (name, party) and who else, committee, case, dates, the answering minister (office title and the office holder's name), the FULL answer text extracted from the published answer file (PDF or Word), the files attached to both, and the source document id. Give the question or answer document id, a Folketinget website address of either, or committee abbreviation + question number + session (e.g. committee ERU, question_number 140, session 20252). A question that has no answer yet comes back with answer_status not_yet_answered and answer null, never empty fields; a preliminary answer is labelled preliminary_only. Long answers page with offset/max_chars. Text is Danish. Source: Folketinget, parliamentary document register.folketinget_dk_find_actor — Find a Folketinget (Danish Parliament) member or party by name and return the stable actor id to use in the other tools. kind "member" (default "any") matches people by name part and returns member_id, name, party short code and name, and profession; kind "party" matches party groups by name or short code (S, V, DF, SF, EL, LA, M, KF, RV, ALT, DD, BP, IA) and returns the party with its group actor ids (one per parliamentary term). A name that matches nothing returns found false with the nearest names, never an empty success. Source: Folketinget, actor register.folketinget_dk_member_votes — How one Folketinget member voted: the member's individual votes (for, imod=against, fravaer=absent, hverken=neither) newest first, each with the vote id, date, the case (number, title), whether it was adopted, and the published conclusion. Identify the member by name or member_id. Narrow by session (code like 20261 = 2026-27), a date window (since/until), a case number (case "B 36" with session), or the vote kind. Returns total_matching, the page, and the member party. Pages with limit/offset. Danish text. Source: Folketinget, voting register.folketinget_dk_vote_result — The result of one Folketinget roll-call vote with the split by party: adopted or not, the published conclusion text, totals (for, imod, hverken for eller imod, fravaer=absent), and per party how many members voted each way with the member names listed for the votes that deviate from the party majority. Give vote_id, or a case number + session (a case with several votes returns the latest in full and lists all of them under votes_on_case; pick one with vote_id). totals_match_published says whether the counted for/against totals equal the numbers in the published conclusion. Party is the member's party as recorded on the actor register now. Danish text. Source: Folketinget, voting register.folketinget_dk_bill_timeline — The life of one Folketinget case or bill as a timeline: its number, title and summary, current status, every stage in date order (introduced, readings, committee report, deadlines, adopted) with each stage's status, the votes held at each stage with their conclusion, and the documents filed on the case (title, date, type, document id for document_text). Give case number + session (e.g. "B 36", 20261) or the numeric case id. Danish text. Source: Folketinget, case register.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/folketinget-dk/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io