GnistAI GnistAI
Log in

Stortinget (Norwegian Parliament)

Norwegian Parliament data — representatives, committees, cases/bills, votes, and topic taxonomy.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 10 tools tools 10 10 Government

Data source: Stortinget (data.stortinget.no)

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/stortinget/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-stortinget": {
      "url": "https://context.gnist.ai/mcp/stortinget/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/stortinget/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_representatives", "arguments": {"period_id": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/stortinget/

10 endpoints available:

Shell
curl "https://context.gnist.ai/rest/stortinget/get_representatives?period_id=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/stortinget/get_representatives",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "period_id": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc stortinget

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (10)

list_sessions
List all parliamentary sessions in the Norwegian Storting.
get_current_representatives
Get all current members of the Norwegian Parliament (Stortinget).
get_representatives
Get representatives for a specific parliamentary period.
ParameterTypeRequiredDescription
period_idstringrequiredParliamentary period (e.g. '2021-2025').
list_parties
List political parties in the Norwegian Parliament.
ParameterTypeRequiredDescription
session_idanyoptionalOptional session (e.g. '2024-2025'). Omit for all parties.
list_committees
List parliamentary committees for a given session.
ParameterTypeRequiredDescription
session_idstringrequiredParliamentary session (e.g. '2024-2025').
get_cases
Get all cases (bills, propositions, questions) for a parliamentary session.
ParameterTypeRequiredDescription
session_idstringrequiredParliamentary session (e.g. '2024-2025').
get_case
Get detailed information about a specific parliamentary case.
ParameterTypeRequiredDescription
case_idintegerrequiredNumeric case ID (e.g. 103839).
get_votes
Get voting results for a parliamentary case.
ParameterTypeRequiredDescription
case_idintegerrequiredNumeric case ID (e.g. 103839).
list_topics
List the parliamentary topic taxonomy.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related