MCP ExplorerExplorer

Ssb Mcp

@FredrikBakkenon 14 days ago
1 MIT
FreeCommunity
AI Systems
:robot: MCP server communicating with Statistics Norway (SSB).

Overview

What is Ssb Mcp

ssb_mcp is an MCP server designed for communication with Statistics Norway (SSB), facilitating access to statistical data and publications.

Use cases

Use cases include academic research, data visualization projects, and any application that requires real-time access to Norwegian statistical data.

How to use

To use ssb_mcp, install the required ‘uv’ tool, clone the repository, install dependencies, and configure Claude Desktop with the necessary settings to run the server.

Key features

Key features include a Search API for finding statistics by keywords, fetching metadata for statistics tables, reading statistics table data, and listing the latest publications for a specified date.

Where to use

ssb_mcp can be used in data analysis, research, and applications requiring access to statistical information provided by Statistics Norway.

Content

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.

Tools

No tools

Comments