
Scb Mcp
Connects your Claude workspace directly to Statistics Sweden's PxWebAPI 2.0, giving you programmatic access to over 1,200 official statistical tables covering population, economy, environment, labor, and education data dating back to the 1950s. You get four main tools: search tables by keyword and category, resolve region names to official codes with fuzzy matching (handles "Goteborg" to "Göteborg"), preview table metadata and dimensions before fetching, and pull actual data with precise selections. The smart part is the region resolver, which maps natural language queries like "Lerum" to code 1441, and the preview tool that shows you what dimensions exist before you query. Reach for this when you need authoritative Swedish statistics without manually browsing SCB's web interface or wrestling with their API docs.
- GitHub stars
- 8
- tools
- 5
- transport
- HTTP
- last updated
- Nov 28, 2025
Tools
5 toolsPublic tool metadata for what this MCP can expose to an agent.
search_tablesHitta befolkningsrelaterade tabeller / Search for statistical tables by query and optional category.
Hitta befolkningsrelaterade tabeller / Search for statistical tables by query and optional category.
No parameter schema in public metadata yet.
find_region_codeResolve region codes from a place name, with fuzzy matching (e.g. "Lerum" → 1441).
Resolve region codes from a place name, with fuzzy matching (e.g. "Lerum" → 1441).
No parameter schema in public metadata yet.
get_table_dataFetch data from a statistical table for a given tableId and selection.
Fetch data from a statistical table for a given tableId and selection.
No parameter schema in public metadata yet.
preview_dataPreview a dataset before fetching the full data, to test a query.
Preview a dataset before fetching the full data, to test a query.
No parameter schema in public metadata yet.
get_table_variablesRetrieve the variables and codes for a table before querying it.
Retrieve the variables and codes for a table before querying it.
No parameter schema in public metadata yet.
Sponsors
Readme
📊 SCB MCP Server
SCB MCP är server som LLM:s och AI-chatbotar kan använda för att söka, hitta och hämta officiell data och statistik från Statistikbyrån (SCB). Det omfattar 1 200+ statistiktabeller med data om befolkning & demografi, ekonomi & finans, miljö, arbetsmarknad, utbildning och transport. Perfekt för att bygga interaktiva instrumentpaneler, forskningsverktyg och utbildningsapplikationer.
Översikt
🇬🇧 Overview
The SCB MCP server provides seamless integration with Statistics Sweden's PxWebAPI 2.0, enabling LLM:s to access:
Details
- Repository
- github.com/isakskogstad/scb-mcp
- Category
- Data & Analytics
- Transport
- HTTP
- Registry
- MCP registry, active