SCB
Connect LLMs or AI-chatbots to let them query and interact with official data and statistics from SCB (Sweden Statistics)
claude mcp add --transport http isakskogstad-scb-mcp https://scb-mcp.onrender.com/mcp
How to use
SCB MCP server provides seamless access to Statistics Sweden's PxWebAPI 2.0 data. It exposes over 1,200 Swedish statistical tables across demographics, economy, environment, labor, and education, with data updated monthly or quarterly and population data through November 2025. The server supports natural language-like querying, region code resolution, wildcards, and fuzzy matching to help LLMs and AI chatbots fetch precise statistics. To use it, connect your MCP client to the remote HTTP endpoint provided in the README or deploy a local instance and point your MCP host to the local server. The hosted endpoint at https://scb-mcp.onrender.com/mcp is designed for quick starts and requires no authentication. The server adheres to MCP 2025 standards and supports multiple languages (SV/EN) with region-aware results.
How to install
Prerequisites:
- Node.js and npm (for local installation) or Docker (for containerized deployment)
- Basic command-line tools (git, shell)
Option A — Remote URL (no installation):
- Use the hosted MCP endpoint directly. No installation required.
Option B — Local installation (Node.js):
- Clone the repository
git clone https://github.com/isakskogstad/SCB-MCP.git
cd SCB-MCP
- Install dependencies and build
npm install
npm run build
- Run the local server (example on port 3000)
npm run start
- Configure your MCP client to point to the local server, e.g. http://localhost:3000/mcp
Option C — Docker:
- Build and run the Docker image
docker build -t scb-mcp .
docker run -p 3000:3000 scb-mcp
- Access the MCP endpoint at http://localhost:3000/mcp
Notes:
- If you use the local installation, you can customize the port by setting PORT before starting (e.g., PORT=8080 npm run start).
- The remote URL option is the quickest path to try MCP capabilities without installation.
Additional notes
Tips and considerations:
- The MCP endpoint supports CORS and does not require authentication for the remote host, but consult any policy changes if you deploy locally with authentication.
- Language defaults to Swedish (sv); you can request results in English (en) if supported by your client.
- Rate limiting for the remote service is enforced (30 requests per 10 seconds) to ensure stability.
- If you encounter region name mismatches, use the region code or take advantage of fuzzy matching (e.g., Goteborg -> Göteborg).
- When running locally, ensure the port you choose (e.g., 3000 or 8080) is open and not used by other services.
- For production deployments, consider running behind a reverse proxy and enabling TLS termination.
Related MCP Servers
mcp-rest-api
A TypeScript-based MCP server that enables testing of REST APIs through Cline. This tool allows you to test and interact with any REST API endpoints directly from your development environment.
awesome s
A curated list of excellent Model Context Protocol (MCP) servers.
pfsense
pfSense MCP Server enables security administrators to manage their pfSense firewalls using natural language through AI assistants like Claude Desktop. Simply ask "Show me blocked IPs" or "Run a PCI compliance check" instead of navigating complex interfaces. Supports REST/XML-RPC/SSH connections, and includes built-in complian
fegis
Define AI tools in YAML with natural language schemas. All tool usage is automatically stored in Qdrant vector database, enabling semantic search, filtering, and memory retrieval across sessions.
mcp-install-instructions-generator
Generate MCP Server Installation Instructions for Cursor, Visual Studio Code, Claude Code, Claude Desktop, Windsurf, ChatGPT, Gemini CLI and more
akyn-sdk
Turn any data source into an MCP server in 5 minutes. Build AI-agents-ready knowledge bases.