Apiverket MCP logo

Apiverket MCP

by vinvuk

Discover and query Swedish public data endpoints through Apiverket, including weather, transport, company, and government data.

Install Apiverket MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "vinvuk-apiverket-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "apiverket-mcp-server"
      ],
      "env": {
        "GOVDATA_API_URL": "YOUR_VALUE_HERE",
        "GOVDATA_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 2 tools correctly (29d ago).

Overview

Swedish public-data discovery and querying are provided by the vinvuk/apiverket-mcp MCP server through the Apiverket API. Agents can search a catalog of 139 endpoints across 16 categories, then call a selected endpoint with path and query parameters. The server also reports API-key tier, usage, and company-data quotas through its account tool. Reach for it when an agent needs structured Swedish data such as weather, transport, jobs, population, police events, or company information.

Use cases

  • Discover Swedish government endpoints by topic or category
  • Query weather, transport, population, and police data
  • Search and enrich Swedish company records
  • Retrieve jobs, education, environmental, or municipal data
  • Inspect API tier and usage limits

Key features

  • Searches 139 Apiverket endpoints across 16 categories
  • Calls discovered endpoints with path and query parameters
  • Returns structured JSON with metadata and data fields
  • Reports account tier, usage, and company quotas
  • Provides recovery guidance for API and parameter errors
  • Truncates large responses with pagination guidance

Tools2

What Apiverket MCP lets your agent do. Expand a tool for its parameters.

Verified live~896 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

6/7 checks healthy over the last 80d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · apiverket-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads200Package downloads in the last 30 days.
Last commit4mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed2Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Apiverket MCP works

What vinvuk/apiverket-mcp MCP server does

The vinvuk/apiverket-mcp MCP server connects MCP-compatible AI clients to Swedish public data exposed by Apiverket. It provides endpoint discovery before data retrieval, helping an agent identify supported paths, required parameters, and the relevant data category instead of guessing API routes.

The catalog contains 139 endpoints in 16 categories. Supported areas include weather, transport, economy, health, environment, parliament, police, education, municipalities, jobs, culture, tourism, geography, and company data. Returned API results use JSON with a metadata envelope and a data object.

Three MCP tools are documented:

  • govdata_discover searches endpoint names, descriptions, paths, and categories. With no arguments, it lists available categories and endpoint counts.
  • govdata_query calls a discovered Apiverket path with optional path and query parameters.
  • govdata_account shows sanitized key information, account tier, daily usage, company-search and company-lookup quotas, reset timing, and relevant limits.

How it works

The vinvuk/apiverket-mcp MCP server runs locally over stdio. Discovery uses the built-in endpoint catalog without making an API request. Query operations send the selected path and parameters to Apiverket using the configured API key. Structured failures are returned as recovery guidance, including cases where the API is unreachable, a path is unsupported, or parameters are invalid.

A typical workflow is:

  1. Search with govdata_discover using a topic such as weather, train departures, pension, or company data.
  2. Read the returned endpoint path, parameters, and description.
  3. Call govdata_query with the required path and query values.
  4. Use pagination guidance if the response is truncated.
  5. Check govdata_account after rate limits or when quota and tier details matter.

Company workflows distinguish searching by name from looking up a known organisation number. Search results can provide an org_number for later lookup, while the documented company API does not expose board, officer, owner, or UBO subresources.

Setup and configuration

Use Node.js 18 or newer. The documented MCP client configuration starts the package with npx -y apiverket-mcp-server. Configure these variables:

  • GOVDATA_API_URL: Apiverket base URL; the documented default is https://apiverket.se.
  • GOVDATA_API_KEY: API credential; sk_test_demo is available for sandbox setup, while live keys are used for production data.

The repository can also be built from source with npm install followed by npm run build after cloning it. The project is licensed under MIT.

Tools and capabilities

The vinvuk/apiverket-mcp MCP server supports endpoint search by keyword or category, direct calls with path parameters such as city or station, and query parameters such as search terms, coordinates, limits, and offsets. Example data tasks include retrieving Stockholm weather, train departures, exchange rates, municipal population, police events, electric-vehicle chargers, job listings, and company records, provided the corresponding endpoint is discovered first.

Limitations and notes

An Apiverket API key is required, although the documented sandbox key can be used to verify client setup. Daily limits and company-search or company-lookup quotas vary by key tier. Agents should not infer undocumented paths; discovery is the supported way to select endpoints and understand required parameters. Large responses may be truncated, with pagination instructions returned to the client.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Apiverket MCP

Run it with Node.js 18 or newer using `npx -y apiverket-mcp-server` in your MCP client configuration.

Yes.

Set `GOVDATA_API_KEY`. The documented default `sk_test_demo` supports sandbox setup; live Apiverket keys are used for production data.

Call `govdata_discover` with a keyword or category, then use the returned path and parameters with `govdata_query`.

Yes. Call `govdata_account` to inspect tier, daily usage, company-search and company-lookup quotas, reset timing, and related limits.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewApiverket MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/vinvuk-apiverket-mcp?style=directory)](https://allmcps.com/mcp/vinvuk-apiverket-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/vinvuk-apiverket-mcp"><img src="https://allmcps.com/api/badge/vinvuk-apiverket-mcp?style=directory" alt="Apiverket MCP on AllMCPs" /></a>