{"openapi":"3.0.3","info":{"title":"Gnist Context — Bolagsverket","description":"Swedish company registry — organisation details, legal form, industry codes, and status.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/bolagsverket/`\n- **Toolkit page:** `/toolkits/bolagsverket`\n- **Full API spec:** `/api/openapi.json`\n- **Get an API key:** `/signup`","version":"1.0.0","contact":{"name":"GnistAI","url":"https://gnist.ai"}},"servers":[{"url":"https://context.gnist.ai","description":"Production"}],"paths":{"/rest/bolagsverket/lookup_bolagsverket_company":{"post":{"tags":["Legal"],"summary":"lookup_bolagsverket_company","description":"Look up a Swedish company by its organisation number in Bolagsverket.\n\nReturns company record including name, organisation form, legal form,\nregistration date, business description, SNI industry codes, postal address,\nactive/deregistration status, and any ongoing proceedings (bankruptcy,\nliquidation).\n\nData sourced from Bolagsverket (Swedish Companies Registration Office) and\nSCB (Statistics Sweden) via the VärdefullaDatamängder API.\n\nArgs:\n    org_number: Swedish organisation number — 10 digits.\n\nReturns:\n    Company record, or {\"error\": \"not_found\"} if the org number is unknown.","operationId":"bolagsverket_lookup_bolagsverket_company","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"org_number":{"description":"Swedish organisation number — 10 digits, with or without hyphen (e.g. \"5564866993\", \"556486-6993\").","type":"string"}},"required":["org_number"],"type":"object"}}}}}},"/rest/bolagsverket/search_bolagsverket_companies":{"post":{"tags":["Legal"],"summary":"search_bolagsverket_companies","description":"Search Swedish companies by name in the Bolagsverket bulk-data cache.\n\nReturns matching companies from the locally cached Bolagsverket and SCB\nbulk files. Searches company name and alternate names (case-insensitive).\n\nArgs:\n    name: Company name or partial name to search for.\n    limit: Maximum results (default 20, max 100).\n\nReturns:\n    Object with count and results list.","operationId":"bolagsverket_search_bolagsverket_companies","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"name":{"description":"Company name to search for (at least 2 characters).","type":"string"},"limit":{"default":20,"description":"Maximum number of results to return (1–100).","type":"integer"}},"required":["name"],"type":"object"}}}}}},"/rest/bolagsverket/get_bolagsverket_changes":{"post":{"tags":["Legal"],"summary":"get_bolagsverket_changes","description":"Get recent changes to Swedish company data from Bolagsverket.\n\nReturns field-level diffs (before/after values) for companies whose\ndata changed between ETL runs. Changes are detected by comparing\nweekly bulk-file snapshots from Bolagsverket and SCB.\n\nTracks: name changes, address changes, status changes (deregistration,\nliquidation), industry code (SNI) changes, and legal form changes.\n\nArgs:\n    since: ISO 8601 timestamp — return changes captured after this time.\n    limit: Maximum number of changes to return (1–100, default 50).\n\nReturns:\n    Object with count and list of change records, each containing\n    entity_id (org number), changed_at timestamp, and a list of\n    field changes with before/after values.","operationId":"bolagsverket_get_bolagsverket_changes","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"since":{"description":"ISO 8601 timestamp — return changes captured after this time (e.g. \"2026-04-01T00:00:00Z\").","type":"string"},"limit":{"default":50,"description":"Maximum number of changes to return (1–100, default 50).","maximum":100,"minimum":1,"type":"integer"}},"required":["since"],"type":"object"}}}}}},"/rest/bolagsverket/report_feedback":{"post":{"tags":["Legal"],"summary":"report_feedback","description":"Report a bug, feature request, or general feedback for this data source.\n\nUse this when something doesn't work as expected, when you'd like\na new feature, or when you have suggestions for improvement.\n\nArgs:\n    feedback: Describe the issue or suggestion.\n    feedback_type: One of 'bug', 'feature_request', or 'general'.","operationId":"bolagsverket_report_feedback","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"feedback":{"type":"string"},"feedback_type":{"default":"general","type":"string"}},"required":["feedback"],"type":"object"}}}}}}},"tags":[{"name":"Legal","description":"Data sources: Legal"}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"gnist-api-key","description":"API key passed via request header."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"gnist_api_key","description":"API key passed via query parameter."}}}}