personupplysning-mcp
Verified Safeby isakskogstad
Overview
Provides a Model Context Protocol (MCP) server for accessing Swedish company data and financial reports from Bolagsverket API, with local caching in Supabase.
Installation
npm startEnvironment Variables
- NODE_ENV
- MCP_TRANSPORT
- PORT
- HOST
- SUPABASE_URL
- SUPABASE_SERVICE_ROLE_KEY
- BOLAGSVERKET_CLIENT_ID
- BOLAGSVERKET_CLIENT_SECRET
- NODE_OPTIONS
- LOG_LEVEL
Security Notes
The server employs comprehensive input validation using Zod schemas with regex patterns to prevent XSS and SQL injection. Error responses are structured, and stack traces are suppressed in production to prevent information leakage. Environment variables are validated on startup to ensure critical configurations are present. OAuth2 token management includes caching and refresh mechanisms. CORS is configured with `origin: '*'` which is typical for public APIs but could be narrowed if clients are known. An architectural inconsistency exists regarding the primary MCP transport (HTTP JSON-RPC vs. SSE) and endpoints (`/mcp` vs `/sse` and `/messages`), which might lead to confusion but doesn't inherently pose a security vulnerability.
Similar Servers
supabase-mcp-server
This server provides interactive tools and React widgets for exploring and querying your Supabase database and viewing its service status.
kolada-mcp
Provides AI applications with tools to access and analyze Sweden's municipal and regional statistics from the Kolada API, enabling natural language queries against thousands of Key Performance Indicators (KPIs) through semantic search and data retrieval.
KOLADA-MCP
Provides LLMs and AI chatbots with direct access to over 5,000 Key Performance Indicators and statistical data for all 290 Swedish municipalities and 21 regions from the Kolada API.
Kolada-MCP
Facilitates LLM access to comprehensive Swedish municipal and regional statistics from the Kolada API for key performance indicator (KPI) data retrieval and analysis.