ssb_mcp

FredrikBakken/ssb_mcp

3.2

If you are the rightful owner of ssb_mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The SSB MCP server facilitates communication with Statistics Norway, enabling users to search for statistics, fetch metadata, read data, and list publications.

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.