Server data from the Official MCP Registry
Query Swedish public data: companies, SCB statistics, weather, transport, and more.
Query Swedish public data: companies, SCB statistics, weather, transport, and more.
The Apiverket MCP server is a well-structured tool for querying Swedish public data APIs. It has proper authentication via environment variables, reasonable input validation, and permissions that match its purpose (HTTP network access, environment variable reading). The main findings are low-severity code quality issues: broad error handling, lack of request logging, and missing content-type validation. No critical security vulnerabilities or malicious patterns detected. Supply chain analysis found 2 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.
4 files analyzed · 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: GOVDATA_API_URL
Environment variable: GOVDATA_API_KEY
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-vinvuk-apiverket-mcp": {
"env": {
"GOVDATA_API_KEY": "your-govdata-api-key-here",
"GOVDATA_API_URL": "your-govdata-api-url-here"
},
"args": [
"-y",
"apiverket-mcp-server"
],
"command": "npx"
}
}
}From the project's GitHub README.
An MCP (Model Context Protocol) server that gives AI assistants access to 120+ Swedish public data endpoints via the Apiverket API. Works with Claude Code, Claude Desktop, Cursor, VS Code, and any MCP-compatible client.
Two tools, one goal: let AI assistants query Swedish public data using natural language.
| Tool | Purpose |
|---|---|
govdata_discover | Search and browse 120+ endpoints across 16 categories |
govdata_query | Call any endpoint and get structured JSON data |
Ask "What's the weather in Stockholm?" or "Show train delays from Gothenburg" — the AI finds the right endpoint, fills in parameters, and returns the data.
Business & Companies, Culture & Media, Demographics, Economy & Finance, Education, Environment & Nature, Geography, Government & Safety, Health & Medicine, Jobs & Labor, Social Insurance, Telecom, Tourism, Transport & Infrastructure, Weather & Climate
Add to your MCP config (~/.claude/claude_code_config.json or Claude Desktop settings):
{
"mcpServers": {
"apiverket": {
"command": "node",
"args": ["/path/to/apiverket-mcp/dist/index.js"],
"env": {
"GOVDATA_API_URL": "https://apiverket.se",
"GOVDATA_API_KEY": "sk_test_demo"
}
}
}
}
Add to .cursor/mcp.json or .vscode/mcp.json:
{
"servers": {
"apiverket": {
"command": "node",
"args": ["/path/to/apiverket-mcp/dist/index.js"],
"env": {
"GOVDATA_API_URL": "https://apiverket.se",
"GOVDATA_API_KEY": "sk_test_demo"
}
}
}
}
{
"mcpServers": {
"apiverket": {
"command": "npx",
"args": ["-y", "apiverket-mcp-server"],
"env": {
"GOVDATA_API_URL": "https://apiverket.se",
"GOVDATA_API_KEY": "sk_test_demo"
}
}
}
}
git clone https://github.com/vinvuk/apiverket-mcp.git
cd apiverket-mcp
npm install
npm run build
| Variable | Default | Description |
|---|---|---|
GOVDATA_API_URL | http://localhost:3010 | Apiverket API base URL |
GOVDATA_API_KEY | sk_test_demo | API key (sk_test_* for sandbox, sk_live_* for production) |
The test key (sk_test_demo) returns sandbox data for all endpoints — no signup required.
govdata_discoverSearch and browse available endpoints.
# List all categories
govdata_discover()
# Search by keyword
govdata_discover(query: "electricity prices")
# Browse a category
govdata_discover(category: "Weather & Climate")
# Search within a category
govdata_discover(query: "forecast", category: "Weather")
govdata_queryCall any endpoint with parameters.
# Current weather
govdata_query(endpoint: "/v1/weather/{city}", path_params: {city: "stockholm"})
# Job search
govdata_query(endpoint: "/v1/jobs/search", query_params: {q: "developer", limit: 5})
# Exchange rates
govdata_query(endpoint: "/v1/rates")
# Train departures
govdata_query(endpoint: "/v1/transport/trains/{station}", path_params: {station: "Cst"})
# Electricity prices by area
govdata_query(endpoint: "/v1/energy/electricity/{area}", path_params: {area: "SE3"})
# Company lookup
govdata_query(endpoint: "/v1/companies/{orgNumber}", path_params: {orgNumber: "5568710426"})
# Police events
govdata_query(endpoint: "/v1/police/events", query_params: {limit: 10})
# VAT validation
govdata_query(endpoint: "/v1/vat/{vatNumber}", path_params: {vatNumber: "SE556871042601"})
govdata_discover searches the built-in endpoint catalog (no API call needed)govdata_query makes authenticated HTTP requests to the Apiverket APIsk_test_demo for sandbox)MIT
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.