# io.github.cyanheads/sweden-parliament-mcp-server

> Search Swedish parliamentary documents, speeches, votes, members, and statutes.

- name: io.github.cyanheads/sweden-parliament-mcp-server
- version: 0.2.2
- connection class: R0 (autonomous)
- trust: 94/100
- quality: 87/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.cyanheads%2Fsweden-parliament-mcp-server
- tools: https://api.protogrid.dev/v1/servers/io.github.cyanheads%2Fsweden-parliament-mcp-server/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "sweden-parliament-mcp-server": {
      "type": "http",
      "url": "https://sweden-parliament.caseyjhand.com/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 80
- drivers: +repository +namespace-matches-repo +reachable +uptime-100% +updated-1d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 87/100 (good)

### protocol: 88 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- warn `protocol.list_ttl`: tools/list declares ttlMs 0, so clients re-fetch it on every use

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 89 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 7 of 7 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: riksdag_get_document (destructiveHint); riksdag_list_reference (destructiveHint); riksdag_search_documents (destructiveHint); …
- pass `tools.token_cost`: about 4,118 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: 83 (weight 15)

- warn `stability.changes`: 16 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: deps.dev does not know @cyanheads/sweden-parliament-mcp-server@0.2.2, @cyanheads/sweden-parliament-mcp-server@0.2.2

- tools: 7, about 4,118 tokens to load them all
- tool set hash: 1e5e5c73799796c840b60f60797100dc
- tools last changed: 2026-11-28T17:54:27.203Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.cyanheads/sweden-parliament-mcp-server.svg)](https://protogrid.dev/servers/io.github.cyanheads/sweden-parliament-mcp-server)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-28 `riksdag_get_votes` changed (inputSchema, outputSchema)
- 2026-11-28 `riksdag_search_speeches` changed (description, inputSchema, outputSchema)
  - before: Search speeches within a required parliamentary session, optionally by member, party, reply exclusion, heading tokens or related document. Heading matching covers debate headings only, never body text. relatedDocumentId returns the speeches the source links to a report or interpellation (riksdag_get_document supplies that search as relatedSpeechesCall); a resumed debate’s later segments can lack the link. Search hydrates one text page by default; use get mode with an item speechId to read all remaining text, keeping the returned revision for continuation.
  - after: Search speeches within a required parliamentary session, optionally by member, party, reply exclusion, heading tokens or related document. Heading matching covers debate headings only, never body text. relatedDocumentId returns the speeches the source links to a report or interpellation (riksdag_get_document supplies that search as relatedSpeechesCall); a resumed debate’s later segments can lack the link. Search hydrates one text page by default; use get mode with an item speechId to read all remaining text, keeping the returned revision for continuation, and add the item sourceSpeechId when several distinct speeches share that speechId.
- 2026-11-28 `riksdag_get_member` changed (outputSchema)
- 2026-11-28 `riksdag_search_members` changed (inputSchema, outputSchema)
- 2026-11-28 `riksdag_search_documents` changed (description, inputSchema, outputSchema)
  - before: Search Swedish parliamentary documents and consolidated SFS statutes by words, type, session, committee, party, member IID or dates, ordered by relevance or descending date. Follow nextCall for further pages; read status and text with riksdag_get_document.
  - after: Search Swedish parliamentary documents and consolidated SFS statutes by words, type, session, committee, ministry, party, member IID or dates, ordered by relevance or descending date. Follow nextCall for further pages; read status and text with riksdag_get_document.
- 2026-11-23 `riksdag_get_votes` changed (inputSchema, outputSchema)
- 2026-11-23 `riksdag_search_speeches` changed (inputSchema, outputSchema)
- 2026-11-23 `riksdag_search_members` changed (description, inputSchema, outputSchema)
  - before: Find members and ministers by name, party, constituency and service status. Defaults to the service register; register all includes earlier source records through a larger cold request that may time out. Use numeric memberId with riksdag_get_member for assignment history.
  - after: Find members and ministers by name, family-name prefix, party, committee, constituency and service status. Defaults to the service register; register all includes earlier source records through a larger cold request that may time out unless committee or familyNamePrefix narrows it. A committee returns its current holders with their current roles. Use numeric memberId with riksdag_get_member for assignment history.
- 2026-11-23 `riksdag_search_documents` changed (inputSchema, outputSchema)
- 2026-11-16 `riksdag_get_votes` changed (description, inputSchema, outputSchema)
  - before: Read authoritative report decisions and party main-vote groups separated by avser, or a member’s session main votes. Report mode requires report or documentId; ballots true with an explicit point adds individual member ballots and independent ballotPage continuation. Member mode requires memberId. Follow complete local continuation calls. Main votes do not include every ballot round; empty rows never prove acclamation.
  - after: Read authoritative report decisions and party main-vote groups separated by avser, or a member’s session main votes. Report mode requires report or documentId; ballots true with an explicit point adds individual member ballots and independent ballotPage continuation. Member mode requires memberId, accepts report and point to narrow the member’s rows locally, and returns rows in source-timestamp (systemDate) order, not vote-date order. Follow nextCall continuations. Main votes do not include every ballot round; empty rows never prove acclamation.

Full history: https://api.protogrid.dev/v1/servers/io.github.cyanheads%2Fsweden-parliament-mcp-server/changes

## Dependencies

- npm @cyanheads/sweden-parliament-mcp-server@0.2.2: unknown
- npm @cyanheads/sweden-parliament-mcp-server@0.2.2: unknown

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://sweden-parliament.caseyjhand.com/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

- npm @cyanheads/sweden-parliament-mcp-server@0.2.2
- npm @cyanheads/sweden-parliament-mcp-server@0.2.2

## Tools (7)

- `riksdag_get_document`: Read a document status, decisions, linked records and text. Select sections and follow continuation calls to read long reports or consolidated SFS statutes. For a committee report or interpellation, relatedSpeechesCall searches the speeches the source links to it (a resumed debate’s later segments can lack the link). SFS text is consolidated published text, not a point-in-time legal version.
- `riksdag_get_member`: Read one member register entry and assignment history by exact member ID. Assignment dates preserve source precision and do not establish historical sitting status.
- `riksdag_get_votes`: Read authoritative report decisions and party main-vote groups separated by avser, or a member’s session main votes. Report mode requires report or documentId; ballots true with an explicit point adds individual member ballots and independent ballotPage continuation. Member mode requires memberId, accepts report and point to narrow the member’s rows locally, and returns rows in source-timestamp (systemDate) order, not vote-date order. Follow nextCall continuations. Main votes do not include every ballot round; empty rows never prove acclamation.
- `riksdag_list_reference`: Look up official document types, committees, parties, constituencies, speech reply filters, sessions, identifier conventions and source coverage from a dated offline snapshot; follow nextCall to read every entry. Document subtypes stay distinct from parent type codes, and the session catalog can lag current sessions.
- `riksdag_search_documents`: Search Swedish parliamentary documents and consolidated SFS statutes by words, type, session, committee, ministry, party, member IID or dates, ordered by relevance or descending date. Follow nextCall for further pages; read status and text with riksdag_get_document.
- `riksdag_search_members`: Find members and ministers by name, family-name prefix, party, committee, constituency and service status. Defaults to the service register; register all includes earlier source records through a larger cold request that may time out unless committee or familyNamePrefix narrows it. A committee returns its current holders with their current roles. Use numeric memberId with riksdag_get_member for assignment history.
- `riksdag_search_speeches`: Search speeches within a required parliamentary session, optionally by member, party, reply exclusion, heading tokens or related document. Heading matching covers debate headings only, never body text. relatedDocumentId returns the speeches the source links to a report or interpellation (riksdag_get_document supplies that search as relatedSpeechesCall); a resumed debate’s later segments can lack the link. Search hydrates one text page by default; use get mode with an item speechId to read all remaining text, keeping the returned revision for continuation, and add the item sourceSpeechId when several distinct speeches share that speechId.

## Prompts and resources

### Resources (1)

- `` skill://sweden-parliament-guide/SKILL.md ``: Identifier chains and gates for the riksdag_* tools over Swedish Riksdag open data. Covers motion or bill to committee report, point and votes; report or interpellation to its debate; member to votes and speeches; SFS law to its amendment trail; committee participants. Use when a Riksdag question takes more than one riksdag_* call, or before reporting how a party or member voted, what was said in a debate, or what an SFS law says now.

### Resource templates (1)

- `` skill://{+path} ``
