Government
Data source: Doffin (DFØ — Direktoratet for forvaltning og økonomistyring)
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/doffin/
claude_desktop_config.json
{
"mcpServers": {
"gnist-doffin": {
"url": "https://context.gnist.ai/mcp/doffin/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/doffin/" \
-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_notice", "arguments": {"notice_id": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/doffin/
4 endpoints available:
GET /rest/doffin/search_noticesGET /rest/doffin/get_noticeGET /rest/doffin/get_doffin_changesGET /rest/doffin/report_feedback
Shell
curl "https://context.gnist.ai/rest/doffin/get_notice?notice_id=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/doffin/get_notice",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"notice_id": "example"
},
)
print(resp.json())
Command Line
Command
gc doffin
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (4)
search_noticesSearch Norwegian public procurement notices on Doffin (doffin.no).
| Parameter | Type | Required | Description |
|---|---|---|---|
text | any | optional | Free text search across notice titles and descriptions (e.g. "IKT", "rådgivning", "konsulentbistand", "veibygging"). |
status | any | optional | Filter by notice status: 'ACTIVE' (open for bids), 'EXPIRED' (deadline passed), 'AWARDED' (contract awarded), 'CANCELLED'. |
notice_type | any | optional | Filter by notice type: 'COMPETITION' (open tender), 'RESULT' (award notice), 'PLANNING' (prior information), 'MODIFICATION', 'CORRIGENDUM'. |
cpv_code | any | optional | Filter by CPV (Common Procurement Vocabulary) code — 8-digit EU classification (e.g. '72000000' for IT services, '45000000' for construction). |
location | any | optional | Filter by Norwegian NUTS region code: 'NO03' (Oslo), 'NO08' (Vestland), 'NO0A' (Trøndelag), 'NO07' (Vestfold og Telemark), etc. |
page | integer | optional | Page number, 1-based (default 1). (default: 1) |
page_size | integer | optional | Results per page (1-50, default 20). (default: 20) |
get_noticeGet detailed information about a specific Doffin procurement notice.
| Parameter | Type | Required | Description |
|---|---|---|---|
notice_id | string | required | Doffin notice ID in format YYYY-NNNNNN (e.g. "2026-105515"). Found in search results. |
get_doffin_changesGet recent changes to Norwegian public procurement tenders from Doffin.
| Parameter | Type | Required | Description |
|---|---|---|---|
since | string | required | ISO 8601 timestamp — return changes captured after this time (e.g. "2026-04-01T00:00:00Z"). |
limit | integer | optional | Maximum number of changes to return (1–100, default 50). (default: 50) |
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") |