scb-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@scb-mcpSearch for tables about population in Sweden"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
scb-mcp
MCP server that wraps Statistics Sweden's PxWebApi so LLMs can query SCB's statistical database directly.
Install
git clone https://github.com/IsakRizell/scb-mcp.git
cd scb-mcp
pip install -e .Requires Python 3.11+.
Related MCP server: mcp-sistat-si
Register with Claude Code
claude mcp add scb --scope user -- scb-mcp --transport stdioTools then show up as mcp__scb__* in every session.
Tools
navigate(path)— list children of a catalog node.path=""for root.get_table_metadata(table_id)— variables, value codes, time range for a table.query_table(table_id, query)— single PxWebApi query.query_table_chunked(table_id, query, chunk_by, chunk_size)— auto-splits queries over SCB's ~150k cell limit and merges results.search_tables(keyword, start_path, max_results, max_depth)— BFS the catalog tree for tables matching a keyword.
Transports
stdio(default for MCP clients)http— Streamable HTTP at/mcp+ legacy SSE at/sse+/messages
scb-mcp --transport http --port 8765Rate limit
SCB allows 30 requests per 10 seconds. The client throttles to 28/10s to stay safe.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Statistics Sweden (SCB) - 1200+ tables with population, economy, environment data
Query official statistics of Catalonia (Idescat): tables, metadata and JSON-stat data via MCP.
Eurostat MCP — wraps Eurostat Statistical Data API (no auth required)
Statistics Norway (SSB) PxWebApi MCP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying Statistics Finland's public statistical database using PxWeb API. Supports retrieving table metadata and pulling data with PxWeb query objects.2 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables querying statistical data from the Statistical Office of the Republic of Slovenia (SURS) via SiStat PxWeb, including navigating table trees, retrieving table metadata, and querying table data.2 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Statistics Sweden PxWeb data through tools for navigating subjects, retrieving table metadata, and pulling data using PxWeb query objects.3 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables access to Statistics Iceland data through the PxWeb API for querying tables and navigating subject trees.2 npmMIT