READMEmain
We couldn't render this README. Read it on GitHub
SSB MCP
Model context protocol (MCP) for communicating with Statistics Norway / Statistisk sentralbyrå (SSB).
This MCP server supports the following operations:
- Use the Search API to find statistics based on keywords.
- Fetch statistics table metadata.
- Read the statistics table data.
- List the latest publications for a given date.
Getting Started
Prerequisites
Make sure you have uv installed on your machine. You can install it with:
curl -LsSf https://astral.sh/uv/install.sh | sh
Setup
-
Clone the repository with:
git clone https://github.com/FredrikBakken/ssb_mcp -
Install the project dependencies:
cd ssb_mcp/ uv sync -
Configure Claude Desktop by adding the following settings to
~/.config/Claude/claude_desktop_config.json:{ "mcpServers": { "ssb": { "command": "uv", "args": [ "--directory", "/<path>/ssb_mcp", "run", "ssb_mcp/main.py" ] } } }PS: Make sure to change the
<path>value first.
Now you're all set - next step is to open the Claude Desktop application on your machine.
