# Apiverket (npm · apiverket-mcp-server)

Query Swedish public data: companies, SCB statistics, weather, transport, and more.

- Trust score: 69/100 (medium)
- Change this week: +18
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `apiverket-mcp-server`: 69/100 (this document), [markdown](https://verifymcp.io/servers/vinvuk-apiverket-mcp/apiverket-mcp-server.md), [page](https://verifymcp.io/servers/vinvuk-apiverket-mcp/apiverket-mcp-server)

## Channel facts

- Registry: `npm`
- Package: `apiverket-mcp-server`
- Version: `1.0.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 72 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 755 tokens (~251/item across 3 items; 2 tools + 1 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add vinvuk-apiverket-mcp -- npx -y apiverket-mcp-server
```

### Codex

```bash
codex mcp add vinvuk-apiverket-mcp -- npx -y apiverket-mcp-server
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "vinvuk-apiverket-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "apiverket-mcp-server"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add vinvuk-apiverket-mcp --command npx --arg -y --arg apiverket-mcp-server
```

### Hermes

```yaml
mcp_servers:
  vinvuk-apiverket-mcp:
    command: "npx"
    args: ["-y", "apiverket-mcp-server"]
```

### Other

```json
{
  "mcpServers": {
    "vinvuk-apiverket-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "apiverket-mcp-server"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 69, +45)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Schema quality: 100 → unverified
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Stability: unverified → 0.20
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 24, +19)

- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] Schema quality: unverified → 100

### 2026-07-31 (score 5, −46)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 51)

First indexed and scored.

## MCP tools (2)

### `govdata_discover` (~244 tokens)

Discover Apiverket Endpoints

Search and browse available Swedish government data endpoints in the Apiverket API.

Use this tool to find the right endpoint before calling govdata_query. The API covers 139 endpoints across 16 categories including weather, transport, economy, health, environment, parliament, police, education, and more.

Args:
  \- query (string, optional): Keyword to search across endpoint names, descriptions, and paths
  \- category (string, optional): Filter by category name

When called with no arguments, returns all available categories with endpoint counts.

Examples:
  \- Find weather endpoints: query="weather"
  \- Browse transport category: category="Transport"
  \- Find pension info: query="pension"
  \- List all categories: (no arguments)

Returns:
  Matching endpoints with their paths, parameters, and descriptions.

Input parameters:

- `category` (string): Filter by category name (e.g. 'Weather & Climate', 'Economy & Finance'). Use without query to browse a category.
- `query` (string): Search keyword to find relevant endpoints (e.g. 'weather', 'train', 'population', 'pension'). Leave empty to list all categories.

### `govdata_query` (~490 tokens)

Query Apiverket API

Call any Apiverket API endpoint to retrieve Swedish government data.

Use govdata_discover first to find the right endpoint path and required parameters. Then call this tool with the endpoint path and any path/query parameters.

Args:
  \- endpoint (string, required): The API path (e.g. "/v1/weather/{city}")
  \- path_params (object, optional): Values for path parameters like {city}, {code}, {id}
  \- query_params (object, optional): Query string parameters (q, limit, offset, lat, lon, etc.)

Examples:
  \- Current weather in Stockholm:
    endpoint="/v1/weather/{city}", path_params={"city": "stockholm"}
  \- Search jobs:
    endpoint="/v1/jobs/search", query_params={"q": "developer", "limit": 5}
  \- Train departures from Stockholm Central:
    endpoint="/v1/transport/trains/{station}", path_params={"station": "Cst"}
  \- Exchange rates:
    endpoint="/v1/rates"
  \- Population by municipality:
    endpoint="/v1/population/{municipalityCode}", path_params={"municipalityCode": "0180"}
  \- Police events in Stockholm:
    endpoint="/v1/police/events", query_params={"location": "Stockholm", "limit": 10}
  \- Find EV chargers near a location:
    endpoint="/v1/infrastructure/ev-chargers", query_params={"lat": 59.33, "lon": 18.07}

Returns:
  The API response as JSON, containing a "meta" envelope with request info and a "data" object with the actual data.

Error handling:
  \- Returns clear error messages if the API is unreachable, the endpoint doesn't exist, or parameters are invalid
  \- Large responses are automatically truncated with pagination guidance

Input parameters:

- `endpoint` (string, required): API endpoint path from the discover tool (e.g. '/v1/weather/{city}', '/v1/rates', '/v1/police/events')
- `path_params` (object): Path parameter values to substitute in the endpoint URL. Example: { "city": "stockholm" } for /v1/weather/{city}
- `query_params` (object): Query string parameters. Example: { "q": "developer", "limit": 5 } for search endpoints

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/vinvuk-apiverket-mcp/apiverket-mcp-server#diagnostics

## Score history

- 2026-08-03: 69
- 2026-08-02: 69
- 2026-08-01: 24
- 2026-07-31: 5
- 2026-07-30: 51
- 2026-07-28: 51
- 2026-07-27: 51

## Links

- npm package: https://www.npmjs.com/package/apiverket-mcp-server
- Socket report: https://socket.dev/npm/package/apiverket-mcp-server
- Repository: https://github.com/vinvuk/apiverket-mcp
- Changelog RSS feed: https://verifymcp.io/servers/vinvuk-apiverket-mcp/apiverket-mcp-server/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/vinvuk-apiverket-mcp/apiverket-mcp-server/changelog.json
- HTML version of this page: https://verifymcp.io/servers/vinvuk-apiverket-mcp/apiverket-mcp-server
