Legal
Data source: domstol.no (Norwegian Courts Administration)
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/domstol/
claude_desktop_config.json
{
"mcpServers": {
"gnist-domstol": {
"url": "https://context.gnist.ai/mcp/domstol/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/domstol/" \
-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_hearings", "arguments": {"date_from": "example", "date_to": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/domstol/
3 endpoints available:
GET /rest/domstol/search_hearingsGET /rest/domstol/list_courtsGET /rest/domstol/report_feedback
Shell
curl "https://context.gnist.ai/rest/domstol/search_hearings?date_from=example&date_to=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/domstol/search_hearings",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"date_from": "example",
"date_to": "example"
},
)
print(resp.json())
Command Line
Command
gc domstol
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (3)
search_hearingsSearch Norwegian court hearing schedules (berammingslister).
| Parameter | Type | Required | Description |
|---|---|---|---|
date_from | string | required | Start date (ISO format, e.g. '2026-03-17'). |
date_to | string | required | End date (ISO format, e.g. '2026-03-24'). |
query | any | optional | Optional free-text search (e.g. court name, case subject). |
page | integer | optional | Page number (1-indexed, default 1). (default: 1) |
page_size | integer | optional | Results per page (1-100, default 25). (default: 25) |
sort_by | string | optional | Sort field: 'rettsmoeteDato' (hearing date) or 'rettsmoete'. (default: "rettsmoeteDato") |
sort_ascending | boolean | optional | Sort direction (default true = earliest first). (default: true) |
list_courtsList all known Norwegian courts.
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |