Riksdag & Regering MCP

Svenska Riksdagens och Regeringskansliets öppna data - 27 verktyg för politik, dokument och analys

我该使用它吗

质量与安全性

B
描述质量
58%
模式完整度
78%
命名质量
99%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(25)

  • LOWTool 'search_ledamoter' description lacks action verb在 search_ledamoter 中
  • LOWTool 'search_dokument' description lacks action verb在 search_dokument 中
  • LOWTool 'search_dokument_fulltext' description lacks action verb在 search_dokument_fulltext 中
  • LOWTool 'search_anforanden' description lacks action verb在 search_anforanden 中
  • LOWTool 'search_voteringar' description lacks action verb在 search_voteringar 中
  • LOWTool 'search_regering' description lacks action verb在 search_regering 中
  • LOWTool 'analyze_g0v_by_department' description lacks action verb在 analyze_g0v_by_department 中
  • LOWTool 'get_dokument' description lacks action verb在 get_dokument 中
  • LOWTool 'get_ledamot' description lacks action verb在 get_ledamot 中
  • LOWTool 'get_motioner' description lacks action verb在 get_motioner 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~4,402token 数(工具定义)
~1.2 KB典型响应大小
对注意力有显著影响(占 128k 上下文窗口的 3.44%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "riksdag-regering-mcp": {
      "command": "npx",
      "args": [
        "riksdag-regering-mcp"
      ]
    }
  }
}

可运行的软件包

npmriksdag-regering-mcp2.0.1stdio

远程端点

https://riksdag-regering-ai.onrender.com/mcpstreamable-http

它能做什么

工具清单

工具(32)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_ledamoter(namn, parti, valkrets, status, intressent_id, ...)

Sök efter ledamöter i Riksdagen

输入模式

{
  "type": "object",
  "properties": {
    "namn": {
      "type": "string",
      "description": "Namn att söka efter (förnamn eller efternamn)"
    },
    "parti": {
      "type": "string",
      "description": "Parti (t.ex. S, M, SD, V, MP, C, L, KD)"
    },
    "valkrets": {
      "type": "string",
      "description": "Valkrets"
    },
    "status": {
      "type": "string",
      "description": "Status (tjänstgörande, tjänstledig, etc.)"
    },
    "intressent_id": {
      "type": "string",
      "description": "Ledamots-ID"
    },
    "page": {
      "type": "number",
      "minimum": 1,
      "default": 1,
      "description": "Sida för paginering"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Max antal resultat"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_dokument(titel, doktyp, typ, subtyp, rm, ...)

Sök efter riksdagsdokument

输入模式

{
  "type": "object",
  "properties": {
    "titel": {
      "type": "string",
      "description": "Titel eller fritext att söka efter"
    },
    "doktyp": {
      "type": "string",
      "description": "Dokumenttyp (t.ex. mot, prop, bet, skr)"
    },
    "typ": {
      "type": "string",
      "description": "Huvudtyp för dokumentet"
    },
    "subtyp": {
      "type": "string",
      "description": "Undertyp"
    },
    "rm": {
      "type": "string",
      "description": "Riksmöte (t.ex. 2024/25)"
    },
    "organ": {
      "type": "string",
      "description": "Organ (t.ex. KU, FiU, UU)"
    },
    "bet": {
      "type": "string",
      "description": "Beteckning (t.ex. AU10)"
    },
    "tempbeteckning": {
      "type": "string",
      "description": "Temporär beteckning"
    },
    "nummer": {
      "type": "string",
      "description": "Dokumentnummer"
    },
    "iid": {
      "type": "string",
      "description": "Ledamots-ID"
    },
    "parti": {
      "type": "string",
      "description": "Parti"
    },
    "talare": {
      "type": "string",
      "description": "Talare"
    },
    "mottagare": {
      "type": "string",
      "description": "Mottagare"
    },
    "status": {
      "type": "string",
      "description": "Status (planerat, antaget etc.)"
    },
    "subtitle": {
      "type": "string",
      "description": "Undertitel"
    },
    "relaterat_id": {
      "type": "string",
      "description": "Relaterat dokument-ID"
    },
    "avd": {
      "type": "string",
      "description": "Avdelning"
    },
    "webbtv": {
      "type": "boolean",
      "description": "Hitta dokument med webbtv"
    },
    "exakt": {
      "type": "boolean",
      "description": "Kräv exakt matchning"
    },
    "planering": {
      "type": "boolean",
      "description": "Inkludera planeringsdata"
    },
    "facets": {
      "type": "string",
      "description": "Facetteringar"
    },
    "rapport": {
      "type": "string",
      "description": "Rapporttyp (rdlstat etc.)"
    },
    "sort": {
      "type": "string",
      "description": "Sorteringsordning"
    },
    "sortorder": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "description": "Sorteringsriktning"
    },
    "from_date": {
      "type": "string",
      "description": "Från datum (YYYY-MM-DD)"
    },
    "to_date": {
      "type": "string",
      "description": "Till datum (YYYY-MM-DD)"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Max antal resultat"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_dokument_fulltext(query, limit)

Fulltextsök i dokument

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "description": "Text att söka efter"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Max antal resultat (ökad från 20 till 50)"
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_anforanden(talare, parti, debattnamn, text, rm, ...)

Sök efter anföranden

输入模式

{
  "type": "object",
  "properties": {
    "talare": {
      "type": "string",
      "description": "Talare att söka efter"
    },
    "parti": {
      "type": "string",
      "description": "Parti"
    },
    "debattnamn": {
      "type": "string",
      "description": "Debattnamn"
    },
    "text": {
      "type": "string",
      "description": "Text att söka i anförandet"
    },
    "rm": {
      "type": "string",
      "description": "Riksmöte"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Max antal resultat"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_voteringar(rm, bet, punkt, iid, parti, ...)

Sök efter voteringar och röster

输入模式

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string",
      "description": "Riksmöte"
    },
    "bet": {
      "type": "string",
      "description": "Beteckning"
    },
    "punkt": {
      "type": "string",
      "description": "Punkt"
    },
    "iid": {
      "type": "string",
      "description": "Ledamots-ID"
    },
    "parti": {
      "type": "string",
      "description": "Parti"
    },
    "valkrets": {
      "type": "string",
      "description": "Valkrets"
    },
    "rost": {
      "type": "string",
      "description": "Röst (Ja, Nej, Avstår, Frånvarande)"
    },
    "avser": {
      "type": "string",
      "description": "Vad voteringen avser"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 20
    },
    "groupBy": {
      "type": "string",
      "enum": [
        "parti",
        "valkrets",
        "namn"
      ],
      "description": "Vill du gruppera resultatet?"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_regering(title, departement, type, dateFrom, dateTo, ...)

Sök i Regeringskansliets dokument via g0v.se

输入模式

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Titel att söka efter"
    },
    "departement": {
      "type": "string",
      "description": "Departement"
    },
    "type": {
      "type": "string",
      "description": "Dokumenttyp (t.ex. pressmeddelanden, propositioner, sou, ds, dir, remisser, regeringsuppdrag, rapporter, tal, debattartiklar, uttalanden, artiklar)"
    },
    "dateFrom": {
      "type": "string",
      "description": "Från datum (YYYY-MM-DD)"
    },
    "dateTo": {
      "type": "string",
      "description": "Till datum (YYYY-MM-DD)"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 10,
      "description": "Max antal resultat (default: 10 för att minska response-storlek)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_g0v_document_types

Hämta en lista över tillgängliga dokumenttyper från Regeringskansliet (via g0v.se)

输入模式

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_g0v_category_codes

Hämta en lista över kategorikoder från Regeringskansliet (via g0v.se)

输入模式

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡get_g0v_latest_update

Hämta information om senaste uppdateringen från Regeringskansliet (via g0v.se)

输入模式

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_g0v_document_content(regeringenUrl)

Hämta innehållet i ett specifikt dokument från Regeringskansliet (via g0v.se) i Markdown-format

输入模式

{
  "type": "object",
  "properties": {
    "regeringenUrl": {
      "type": "string",
      "format": "uri",
      "description": "The URL of the document on regeringen.se to fetch its Markdown content from g0v.se."
    }
  },
  "required": [
    "regeringenUrl"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢analyze_g0v_by_department(dateFrom, dateTo)

Analysera dokument från Regeringskansliet (via g0v.se) per departement

输入模式

{
  "type": "object",
  "properties": {
    "dateFrom": {
      "type": "string",
      "description": "Från datum (YYYY-MM-DD)"
    },
    "dateTo": {
      "type": "string",
      "description": "Till datum (YYYY-MM-DD)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_dokument(dok_id, include_full_text)

Hämta detaljer om ett specifikt riksdagsdokument

输入模式

{
  "type": "object",
  "properties": {
    "dok_id": {
      "type": "string",
      "minLength": 2,
      "description": "Dokument ID, t.ex. H901FiU1"
    },
    "include_full_text": {
      "type": "boolean",
      "default": false,
      "description": "Inkludera fulltext (kan vara mycket stor data)"
    }
  },
  "required": [
    "dok_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_ledamot(intressent_id)

Hämta detaljer om en ledamot

输入模式

{
  "type": "object",
  "properties": {
    "intressent_id": {
      "type": "string",
      "description": "Ledamotens intressent ID"
    }
  },
  "required": [
    "intressent_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_motioner(rm, limit)

Senaste motionerna

输入模式

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_propositioner(rm, limit)

Senaste propositionerna

输入模式

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_betankanden(rm, organ, limit)

Senaste betänkandena

输入模式

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string"
    },
    "organ": {
      "type": "string"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_fragor(rm, limit)

Skriftliga frågor

输入模式

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_interpellationer(rm, limit)

Interpellationer

输入模式

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_utskott

Lista kända utskott

输入模式

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_regering_document(document_id, type)

Hämta regeringsdokument (alla typer: pressmeddelanden, propositioner, SOU, etc.)

输入模式

{
  "type": "object",
  "properties": {
    "document_id": {
      "type": "string",
      "description": "ID eller URL-del för dokumentet"
    },
    "type": {
      "type": "string",
      "enum": [
        "pressmeddelanden",
        "propositioner",
        "sou",
        "ds",
        "dir",
        "remisser",
        "regeringsuppdrag",
        "rapporter",
        "tal",
        "debattartiklar",
        "uttalanden",
        "artiklar"
      ],
      "description": "Dokumenttyp (om känd). Om inte angiven, söks i alla typer."
    }
  },
  "required": [
    "document_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪summarize_regering_document(document_id, type, max_length)

Sammanfatta regeringsdokument (alla typer)

输入模式

{
  "type": "object",
  "properties": {
    "document_id": {
      "type": "string",
      "description": "ID eller URL-del för dokumentet"
    },
    "type": {
      "type": "string",
      "enum": [
        "pressmeddelanden",
        "propositioner",
        "sou",
        "ds",
        "dir",
        "remisser",
        "regeringsuppdrag",
        "rapporter",
        "tal",
        "debattartiklar",
        "uttalanden",
        "artiklar"
      ],
      "description": "Dokumenttyp (om känd)"
    },
    "max_length": {
      "type": "number",
      "default": 500,
      "description": "Max längd på sammanfattning"
    }
  },
  "required": [
    "document_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_dokument_innehall(dok_id, include_full_text)

Hämta dokumentinnehåll och sammanfattning

输入模式

{
  "type": "object",
  "properties": {
    "dok_id": {
      "type": "string",
      "description": "Dokument ID"
    },
    "include_full_text": {
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "dok_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢fetch_paginated_documents(doktyp, sok, rm, page, pageSize, ...)

Paginerad hämtning av dokument

输入模式

{
  "type": "object",
  "properties": {
    "doktyp": {
      "type": "string",
      "description": "Dokumenttyp (mot, prop, bet, etc.)"
    },
    "sok": {
      "type": "string",
      "description": "Sökterm"
    },
    "rm": {
      "type": "string",
      "description": "Riksmöte (t.ex. 2024/25)"
    },
    "page": {
      "type": "number",
      "minimum": 1,
      "maximum": 10000,
      "default": 1,
      "description": "Sidnummer (1-indexerad)"
    },
    "pageSize": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Antal resultat per sida"
    },
    "fetchAll": {
      "type": "boolean",
      "default": false,
      "description": "Hämta alla sidor (varning: kan vara långsamt!)"
    },
    "maxPages": {
      "type": "number",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Max antal sidor att hämta om fetchAll=true"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢fetch_paginated_anforanden(sok, talare, parti, rm, page, ...)

Paginerad hämtning av anföranden

输入模式

{
  "type": "object",
  "properties": {
    "sok": {
      "type": "string",
      "description": "Sökterm i anförande-text"
    },
    "talare": {
      "type": "string",
      "description": "Talarens namn"
    },
    "parti": {
      "type": "string",
      "description": "Parti"
    },
    "rm": {
      "type": "string",
      "description": "Riksmöte"
    },
    "page": {
      "type": "number",
      "minimum": 1,
      "maximum": 10000,
      "default": 1,
      "description": "Sidnummer"
    },
    "pageSize": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 100,
      "description": "Antal per sida"
    },
    "fetchAll": {
      "type": "boolean",
      "default": false,
      "description": "Hämta alla sidor"
    },
    "maxPages": {
      "type": "number",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Max antal sidor"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢batch_fetch_documents(doktyp, riksmoten, maxPerRiksmote)

Batch-hämta dokument för flera riksmöten

输入模式

{
  "type": "object",
  "properties": {
    "doktyp": {
      "type": "string",
      "description": "Dokumenttyp"
    },
    "riksmoten": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Lista av riksmöten"
    },
    "maxPerRiksmote": {
      "type": "number",
      "minimum": 1,
      "maximum": 300,
      "default": 100,
      "description": "Max dokument per riksmöte"
    }
  },
  "required": [
    "doktyp",
    "riksmoten"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_calendar_events(from, tom, akt, org, limit, ...)

Hämta kalenderhändelser

输入模式

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "Från datum (YYYY-MM-DD)"
    },
    "tom": {
      "type": "string",
      "description": "Till datum (YYYY-MM-DD)"
    },
    "akt": {
      "type": "string",
      "description": "Aktivitetstyp eller kombinationskod"
    },
    "org": {
      "type": "string",
      "description": "Organ (UTSK, kammaren etc.)"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 500,
      "default": 200
    },
    "sort": {
      "type": "string",
      "description": "Sorteringsordning (t.ex. \"DTSTART\")"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_voting_group(rm, bet, punkt, groupBy, limit)

Hämta voteringar grupperade per parti/valkrets

输入模式

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string",
      "description": "Riksmöte"
    },
    "bet": {
      "type": "string",
      "description": "Beteckning"
    },
    "punkt": {
      "type": "string",
      "description": "Punkt"
    },
    "groupBy": {
      "type": "string",
      "enum": [
        "parti",
        "valkrets",
        "namn"
      ],
      "description": "Grupperingsnivå"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 500,
      "default": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_reports

Lista tillgängliga rapporter

输入模式

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢fetch_report(report, limit)

Hämta en rapport (HTML/JSON)

输入模式

{
  "type": "object",
  "properties": {
    "report": {
      "type": "string",
      "enum": [
        "ledamotsstatistik",
        "kontaktutskott",
        "aldersstatistik",
        "konstatsstatistik",
        "mandatperiod",
        "diarium"
      ]
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 500,
      "default": 200
    }
  },
  "required": [
    "report"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢enhanced_government_search(query, limit, regeringenLimit, includeRegeringen)

Kombinerad sökning i Riksdagen och Regeringen

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "description": "Sökterm som används mot alla källor"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 100,
      "default": 20,
      "description": "Max antal resultat per kategori (Riksdagen dokument/anföranden)"
    },
    "regeringenLimit": {
      "type": "number",
      "minimum": 1,
      "maximum": 20,
      "default": 5,
      "description": "Max antal resultat per regeringskategori (för att begränsa response-storlek)"
    },
    "includeRegeringen": {
      "type": "boolean",
      "default": true,
      "description": "Inkludera resultat från Regeringskansliet"
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_sync_status

Visa enklare status för datakällor

输入模式

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_data_dictionary(dataset)

Visa dataset och fältbeskrivningar

输入模式

{
  "type": "object",
  "properties": {
    "dataset": {
      "type": "string",
      "description": "Valfritt dataset-ID att filtrera på"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本32 个工具
已验证未记录版本32 个工具