GnistAI GnistAI
Log in

Getting Started with Interaksjoner (Norwegian Drug Interactions)

Norwegian drug interaction checker — check interactions between medications using FEST data from DMP (Direktoratet for medisinske produkter). Look up trade names by ATC code.

All Tutorials   |   Overview   |   Playground   |   MCP   |   REST API   |   Home
Health

Data source: interaksjoner.no (DIPS ASA / DMP — Direktoratet for medisinske produkter)

Overview

Interaksjoner (Norwegian Drug Interactions) wraps interaksjoner.no (DIPS ASA / DMP — Direktoratet for medisinske produkter), handling authentication, pagination, and rate limits for you. This tutorial covers all 3 tools with working code examples you can copy and run.

Prerequisites

  1. Sign up at https://context.gnist.ai/signup for a free API key (100 calls/day).
  2. Choose your integration method: MCP protocol or REST API.

Connect via MCP

Add to your MCP client config (Claude Desktop, Cursor, etc.):

MCP Config
{
  "mcpServers": {
    "gnist-interaksjoner": {
      "url": "https://context.gnist.ai/mcp/interaksjoner/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Tools (3)

check_interactions

Check drug-drug interactions for Norwegian medications via interaksjoner.no. This tool checks interactions between two or more medications using data from FEST (Forskrivnings- og EkspedisjonsSTøtte), the official Norwegian prescription and dispensing support database maintained by DMP (Direktoratet for medisinske produkter). Severity levels: - Level 4: "Bør ikke kombineres" — should not be combined, risk of serious adverse effects - Level 2: "Ta forholdsregler" — take precautions, monitor patient - Level 1: "Akademisk interesse" — academic interest, can generally be combined Returns: Recognized drugs with ATC codes, list of interactions with severity levels, descriptions, and clinical notes. If no interactions are found, returns no_interactions_found=true.

ParameterTypeRequiredDescription
drugslist[string]requiredList of drug names, substance names, or ATC codes to check for interactions. Accepts Norwegian trade names (e.g. 'Paracet', 'Marevan'), international substance names (e.g. 'paracetamol', 'warfarin'),
curl -X POST "https://context.gnist.ai/mcp/interaksjoner/" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "check_interactions", "arguments": {"drugs": "'Paracet'"}}}'
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/interaksjoner/",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={'id': 1,
 'jsonrpc': '2.0',
 'method': 'tools/call',
 'params': {'arguments': {'drugs': "'Paracet'"}, 'name': 'check_interactions'}},
)
print(resp.json())

get_trade_names

Get Norwegian trade names (brand names) for a given ATC code. Maps an ATC (Anatomical Therapeutic Chemical) classification code to the commercial drug names available in Norway. Useful for identifying which brand-name products contain a given active substance. Returns: ATC code, list of trade names, and count.

ParameterTypeRequiredDescription
atc_codestringrequiredATC code to look up trade names for. Examples: 'N02BE01' (paracetamol), 'B01AA03' (warfarin), 'C07AB02' (metoprolol).
curl -X POST "https://context.gnist.ai/mcp/interaksjoner/" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_trade_names", "arguments": {"atc_code": "example"}}}'
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/interaksjoner/",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={'id': 1,
 'jsonrpc': '2.0',
 'method': 'tools/call',
 'params': {'arguments': {'atc_code': 'example'}, 'name': 'get_trade_names'}},
)
print(resp.json())

report_feedback

Report a bug, feature request, or general feedback for this data source. Use this when something doesn't work as expected, when you'd like a new feature, or when you have suggestions for improvement. Args: feedback: Describe the issue or suggestion. feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: general)
curl -X POST "https://context.gnist.ai/mcp/interaksjoner/" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "report_feedback", "arguments": {"feedback": "example"}}}'
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/interaksjoner/",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={'id': 1,
 'jsonrpc': '2.0',
 'method': 'tools/call',
 'params': {'arguments': {'feedback': 'example'}, 'name': 'report_feedback'}},
)
print(resp.json())

FAQ

What data does Interaksjoner (Norwegian Drug Interactions) provide?

Norwegian drug interaction checker — check interactions between medications using FEST data from DMP (Direktoratet for medisinske produkter). Look up trade names by ATC code. It exposes 3 tools: check_interactions, get_trade_names, report_feedback.

What do I need to get started?

A Gnist API key (free tier: 100 calls/day). Sign up at https://context.gnist.ai/signup.

What format does the Interaksjoner (Norwegian Drug Interactions) API return?

JSON, via either MCP protocol (JSON-RPC 2.0) or REST API.

Next Steps

Related Tutorials