Legal
Data source: CVR via cvrapi.dk (free public API, Det Centrale Virksomhedsregister)
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/cvr/
claude_desktop_config.json
{
"mcpServers": {
"gnist-cvr": {
"url": "https://context.gnist.ai/mcp/cvr/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/cvr/" \
-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": "lookup_cvr_company", "arguments": {"cvr_number": 1}}}'
REST API
API Root
https://context.gnist.ai/rest/cvr/
4 endpoints available:
GET /rest/cvr/lookup_cvr_companyGET /rest/cvr/search_cvr_companyGET /rest/cvr/lookup_cvr_production_unitGET /rest/cvr/report_feedback
Shell
curl "https://context.gnist.ai/rest/cvr/lookup_cvr_company?cvr_number=1" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/cvr/lookup_cvr_company",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"cvr_number": 1
},
)
print(resp.json())
Command Line
Command
gc cvr
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (4)
lookup_cvr_companyLook up a Danish company by its CVR number.
| Parameter | Type | Required | Description |
|---|---|---|---|
cvr_number | integer | required | Danish CVR number (8 digits, e.g. 10150817 for Carlsberg). |
search_cvr_companySearch for a Danish company by name in the Central Business Register (CVR).
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | required | Company name to search for (e.g. 'Novo Nordisk', 'LEGO'). |
lookup_cvr_production_unitLook up a Danish production unit by its P-nummer.
| Parameter | Type | Required | Description |
|---|---|---|---|
pno | integer | required | Danish production unit number (P-nummer, 10 digits). |
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") |