Skip to main content
Glama
IsakRizell
by IsakRizell

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 stdio

Tools 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 8765

Rate limit

SCB allows 30 requests per 10 seconds. The client throttles to 28/10s to stay safe.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityStale
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables querying Statistics Finland's public statistical database using PxWeb API. Supports retrieving table metadata and pulling data with PxWeb query objects.
    16
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables 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.
    13
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables querying Statistics Sweden PxWeb data through tools for navigating subjects, retrieving table metadata, and pulling data using PxWeb query objects.
    13
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IsakRizell/scb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server