protogrid

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

sweden-parliament-mcp-server

R0· no sign-in

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

v0.2.2 · active · repository · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality87good
Trust94of 100
Uptime, 30 days100%
Latency p50331 msp95 574 ms

Connect

8 clients · secrets stay placeholders
Add to CursorAdd to VS Codeopens the client, which asks before adding the server
{
  "mcpServers": {
    "sweden-parliament-mcp-server": {
      "type": "http",
      "url": "https://sweden-parliament.caseyjhand.com/mcp"
    }
  }
}
claude mcp add --transport http sweden-parliament-mcp-server https://sweden-parliament.caseyjhand.com/mcp
[mcp_servers.sweden-parliament-mcp-server]
url = "https://sweden-parliament.caseyjhand.com/mcp"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "sweden-parliament-mcp-server": {
      "type": "remote",
      "url": "https://sweden-parliament.caseyjhand.com/mcp",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "sweden-parliament-mcp-server": {
      "type": "http",
      "url": "https://sweden-parliament.caseyjhand.com/mcp"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=sweden-parliament-mcp-server&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vc3dlZGVuLXBhcmxpYW1lbnQuY2FzZXlqaGFuZC5jb20vbWNwIn0%3D"
}
{
  "servers": {
    "sweden-parliament-mcp-server": {
      "type": "http",
      "url": "https://sweden-parliament.caseyjhand.com/mcp"
    }
  },
  "deeplink": "vscode:mcp/install?%7B%22name%22%3A%22sweden-parliament-mcp-server%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fsweden-parliament.caseyjhand.com%2Fmcp%22%7D"
}
{
  "mcpServers": {
    "sweden-parliament-mcp-server": {
      "httpUrl": "https://sweden-parliament.caseyjhand.com/mcp"
    }
  }
}
extensions:
  "sweden-parliament-mcp-server":
    enabled: true
    name: "sweden-parliament-mcp-server"
    type: streamable_http
    uri: "https://sweden-parliament.caseyjhand.com/mcp"
    timeout: 300

Quality 87 / 100good

protocol88 · weight 25
  • pass
    protocol.modernsupports 2026-07-28 (server/discover)
  • pass
    protocol.statelessanswers without a session
  • pass
    protocol.transportstreamable HTTP
  • warn
    protocol.list_ttltools/list declares ttlMs 0, so clients re-fetch it on every use
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene89 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • pass
    tools.description_lengthdescriptions are concise
  • pass
    tools.schemasevery tool has an object input schema
  • pass
    tools.annotations7 of 7 tools declare readOnlyHint or destructiveHint
  • fail
    tools.directory_hintsno 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_costabout 4,118 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
  • pass
    tools.hidden_textno hidden text in tool, prompt or resource definitions
  • pass
    tools.poisoningno instructions aimed at the model in tool, prompt or resource definitions
stability83 · weight 15
  • warn
    stability.changes16 tool changes in 30 days
  • pass
    stability.rug_pullno tool changed its meaning under the same name
  • pass
    stability.new_linksno tool change named a new site
dependenciesn/a · weight 15

7 tools, about 4,118 tokens to load them all · tool set 1e5e5c737997 · tools last changed 2026-11-28 · checked 2026-11-29 15:30 UTC

Definition changes

  • riksdag_get_voteschangedinput schema, output schema
  • riksdag_search_speecheschangeddescription, input schema, output schema
    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 · 90% of words in common

    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.

  • riksdag_get_memberchangedoutput schema
  • riksdag_search_memberschangedinput schema, output schema
  • riksdag_search_documentschangeddescription, input schema, output schema
    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 · 97% of words in common

    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_get_voteschangedinput schema, output schema
  • riksdag_search_speecheschangedinput schema, output schema
  • riksdag_search_memberschangeddescription, input schema, output schema
    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 · 73% of words in common

    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_documentschangedinput schema, output schema
  • riksdag_get_voteschangeddescription, input schema, output schema
    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 · 73% of words in common

    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.

Showing the latest 10. Full history: list_changes · trend: quality JSON.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 94 / 100

provenance80
liveness100
freshness100
hygiene100

+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. How it is computed.

Dependencies

@cyanheads/[email protected] npmthis version is not known to the dependency resolver

@cyanheads/[email protected] npmthis version is not known to the dependency resolver

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.

Endpoints

Last 30 days100% of probes answered
remoteauthreachableuptime 30dp50p95protocollast ok
https://sweden-parliament.caseyjhand.com/mcp streamable-httpnoneyes100%331 ms574 ms2026-07-282026-11-29
packageregistryversionruntimesecrets
@cyanheads/sweden-parliament-mcp-servernpm0.2.2npx
@cyanheads/sweden-parliament-mcp-servernpm0.2.2npx

Tools (7)

riksdag_get_documentread-onlyRead 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_memberread-onlyRead 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_votesread-onlyRead 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_referenceread-onlyLook 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_documentsread-onlySearch 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_membersread-onlyFind 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_speechesread-onlySearch 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.

Schemas: list_tools.

Prompts and resources (1 resource, 1 resource template)

Resources

skill://sweden-parliament-guide/SKILL.mdtext/markdownIdentifier 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

skill://{+path}

Definitions only, never their content. Full lists: prompts, resources.

Similar MCP servers

More from io.github.cyanheads

And 153 more from this publisher.

Official server.json
{
  "name": "io.github.cyanheads/sweden-parliament-mcp-server",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://sweden-parliament.caseyjhand.com/mcp",
      "type": "streamable-http"
    }
  ],
  "version": "0.2.2",
  "packages": [
    {
      "version": "0.2.2",
      "transport": {
        "type": "stdio"
      },
      "identifier": "@cyanheads/sweden-parliament-mcp-server",
      "runtimeHint": "npx",
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "environmentVariables": [
        {
          "name": "MCP_LOG_LEVEL",
          "format": "string",
          "default": "info",
          "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
        }
      ]
    },
    {
      "version": "0.2.2",
      "transport": {
        "url": "http://localhost:3010/mcp",
        "type": "streamable-http"
      },
      "identifier": "@cyanheads/sweden-parliament-mcp-server",
      "runtimeHint": "npx",
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "environmentVariables": [
        {
          "name": "MCP_TRANSPORT_TYPE",
          "value": "http",
          "format": "string",
          "description": "Selects the HTTP transport."
        },
        {
          "name": "MCP_HTTP_HOST",
          "format": "string",
          "default": "127.0.0.1",
          "description": "The hostname for the HTTP server."
        },
        {
          "name": "MCP_HTTP_PORT",
          "format": "string",
          "default": "3010",
          "description": "The port to run the HTTP server on."
        },
        {
          "name": "MCP_HTTP_ENDPOINT_PATH",
          "format": "string",
          "default": "/mcp",
          "description": "The endpoint path for the MCP server."
        },
        {
          "name": "MCP_AUTH_MODE",
          "format": "string",
          "default": "none",
          "description": "Authentication mode to use: 'none', 'jwt', or 'oauth'."
        },
        {
          "name": "MCP_LOG_LEVEL",
          "format": "string",
          "default": "info",
          "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
        }
      ]
    }
  ],
  "repository": {
    "url": "https://github.com/cyanheads/sweden-parliament-mcp-server",
    "source": "github"
  },
  "description": "Search Swedish parliamentary documents, speeches, votes, members, and statutes."
}