Data source: Bolagsverket (Swedish Companies Registration Office)
Overview
Bolagsverket Annual Reports wraps Bolagsverket (Swedish Companies Registration Office), handling authentication, pagination, and rate limits for you. This tutorial covers all 3 tools with working code examples you can copy and run.
Prerequisites
- Sign up at https://context.gnist.ai/signup for a free API key (100 calls/day).
- Choose your integration method: MCP protocol or REST API.
Connect via MCP
Add to your MCP client config (Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"gnist-bolagsverket-arsredovisning": {
"url": "https://context.gnist.ai/mcp/bolagsverket-arsredovisning/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Tools (3)
list_bolagsverket_annual_reports
List annual reports (årsredovisningar) filed with Bolagsverket for a Swedish company. Returns metadata for each digitally submitted annual report, including document ID, file format, reporting period end date, and registration date. Args: org_number: Swedish organisation number — 10 digits. Returns: List of annual report metadata, or empty list if none found.
| Parameter | Type | Required | Description |
|---|---|---|---|
org_number | string | required | Swedish organisation number — 10 digits, with or without hyphen (e.g. "5564866993", "556486-6993"). |
curl -X POST "https://context.gnist.ai/mcp/bolagsverket-arsredovisning/" \
-H "Content-Type: application/json" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "list_bolagsverket_annual_reports", "arguments": {"org_number": "5564866993"}}}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/mcp/bolagsverket-arsredovisning/",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
json={'id': 1,
'jsonrpc': '2.0',
'method': 'tools/call',
'params': {'arguments': {'org_number': '5564866993'},
'name': 'list_bolagsverket_annual_reports'}},
)
print(resp.json())
get_bolagsverket_annual_report_info
Get download information for a specific Bolagsverket annual report. The annual report is a ZIP file containing the iXBRL filing. Args: document_id: Document ID obtained from list_bolagsverket_annual_reports. Returns: Download info including URL and format, or {"error": "not_found"}.
| Parameter | Type | Required | Description |
|---|---|---|---|
document_id | string | required | Document ID from the list_bolagsverket_annual_reports result. |
curl -X POST "https://context.gnist.ai/mcp/bolagsverket-arsredovisning/" \
-H "Content-Type: application/json" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_bolagsverket_annual_report_info", "arguments": {"document_id": "12345"}}}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/mcp/bolagsverket-arsredovisning/",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
json={'id': 1,
'jsonrpc': '2.0',
'method': 'tools/call',
'params': {'arguments': {'document_id': '12345'},
'name': 'get_bolagsverket_annual_report_info'}},
)
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'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: general) |
curl -X POST "https://context.gnist.ai/mcp/bolagsverket-arsredovisning/" \
-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/bolagsverket-arsredovisning/",
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())
Common Patterns
Use
list_bolagsverket_annual_reports to find items, then get_bolagsverket_annual_report_info to get full details. This two-step pattern is common for exploring data before drilling down.FAQ
What data does Bolagsverket Annual Reports provide?
Swedish annual reports — digitally filed årsredovisningar from Bolagsverket. It exposes 3 tools: list_bolagsverket_annual_reports, get_bolagsverket_annual_report_info, 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 Bolagsverket Annual Reports API return?
JSON, via either MCP protocol (JSON-RPC 2.0) or REST API.