GnistAI GnistAI
Log in

eInnsyn (Norwegian Public Records)

Norwegian public records — journal entries, case folders, and meeting documents from government agencies.

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

Data source: eInnsyn (einnsyn.no)

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/einnsyn/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-einnsyn": {
      "url": "https://context.gnist.ai/mcp/einnsyn/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/einnsyn/" \
  -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": "search_records", "arguments": {"query": "example"}}}'

API REST API

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

6 endpoints available:

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

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

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc einnsyn

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

Install
pip install gnistai

Available Tools (6)

search_records
Search Norwegian public records — journal entries, case folders, and meeting documents.
ParameterTypeRequiredDescription
querystringrequiredFree-text search. Supports exact match with quotes, exclusion with minus.
entityanyoptionalFilter by type: 'Journalpost', 'Saksmappe', 'Moetemappe', or 'Moetesak'.
limitintegeroptionalResults per page (1-100, default 25). (default: 25)
journal_date_fromanyoptionalFilter by journal date start (ISO date, e.g. '2025-01-01').
journal_date_toanyoptionalFilter by journal date end (ISO date).
journalpost_typeanyoptionalFilter journal type: 'inngaaende_dokument', 'utgaaende_dokument', 'organinternt_dokument_uten_oppfoelging', 'organinternt_dokument_for_oppfoelging'.
sort_bystringoptionalSort order (default 'score'). Options: 'score', 'journaldato', 'publisertDato', 'tittel', 'administrativEnhetNavn'. (default: "score")
get_journal_entry
Get a specific journal entry (journalpost) from eInnsyn.
ParameterTypeRequiredDescription
journalpost_idstringrequiredThe journal entry ID (e.g. 'jp_...' or a UUID).
get_case_folder
Get a case folder (saksmappe) from eInnsyn.
ParameterTypeRequiredDescription
saksmappe_idstringrequiredThe case folder ID (e.g. 'sm_...' or a UUID).
list_organizations
List government organizations registered in eInnsyn.
ParameterTypeRequiredDescription
limitintegeroptionalNumber of organizations to return (1-100, default 25). (default: 25)
get_publication_statistics
Get aggregate publication statistics for eInnsyn records.
ParameterTypeRequiredDescription
intervalstringoptionalAggregation interval: 'hour', 'day', 'week', 'month', 'year'. (default: "month")
date_fromanyoptionalStart date (ISO, e.g. '2025-01-01'). Defaults to one year ago.
date_toanyoptionalEnd date (ISO). Defaults to today.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related