Riksdagen (Sweden)
liveLegislatureGovernmentEuropeRiksdagen (Swedish Parliament) open data — search legislative documents, list MPs, retrieve votes, and fetch document metadata.
Tools
search_documentsSearch Riksdagen documents (motions, propositions, committee reports, written questions).
No parameters required.
Try it
list_membersList current members of the Riksdag (ledamöter), optionally filtered by party and/or constituency.
No parameters required.
Try it
list_votesList individual member votes (voteringar) for a parliamentary session and committee-report designation.
No parameters required.
Try it
get_documentFetch a single document's full metadata by its id (e.g. "HD024189" or "hd024189").
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/riksdagen-se/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/riksdagen-se/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_documents","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_documents", {});// Or ask in plain English:
const answer = await px.ask("riksdagen (swedish parliament) open data — search legislative documents, list mps, retrieve votes, and fetch document metadata");