MCPInstall
ssb_mcp logo

ssb_mcp

by FredrikBakken 2 stars FredrikBakken/ssb_mcp

:robot: MCP server communicating with Statistics Norway (SSB).

READMEmain

SSB MCP

Model context protocol (MCP) for communicating with Statistics Norway / Statistisk sentralbyrå (SSB).

This MCP server supports the following operations:

  1. Use the Search API to find statistics based on keywords.
  2. Fetch statistics table metadata.
  3. Read the statistics table data.
  4. 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

  1. Clone the repository with:

    git clone https://github.com/FredrikBakken/ssb_mcp
    
  2. Install the project dependencies:

    cd ssb_mcp/
    uv sync
    
  3. 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.