Swiss MCP Server

SNB data portal: exchange rates, balance sheet, policy rates, SARON, monetary aggregates

Local serverstdioPython

What is the Swiss MCP server?

Swiss MCP server exists for a simple reason — assistants are far more useful when they can act on Swiss directly instead of describing what you should do. SNB data portal: exchange rates, balance sheet, policy rates, SARON, monetary aggregates.

What you get

swiss-snb-mcp connects AI models to the official Swiss National Bank data portal at data.snb.ch via the Model Context Protocol (MCP). It provides structured access to SNB's public REST API — no authentication required.

  • 💱 Exchange rates — monthly CHF rates for EUR, USD, JPY, GBP, CNY and 22 more currencies
  • 📅 Annual averages — year-by-year rates from 1980 onwards
  • 🏛️ SNB balance sheet — gold, foreign exchange investments, banknotes, sight deposits (monthly)
  • 🔄 Currency conversion — convert any amount to CHF using official SNB rates
  • 📈 Policy rate & SARON — daily fixing, Leitzins, compound rates (1M/3M/6M)
  • 🌍 International rate comparison — SNB, Fed, ECB, Bank of England, Bank of Japan side by side

What the assistant can call

Once Swiss is connected, these are the calls the assistant has available:

  • macOS — ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows — %APPDATA%\Claude\claude_desktop_config.json
  • snb_get_exchange_rates — Monthly CHF rates for EUR, USD, JPY, GBP, CNY and 22 more currencies
  • snb_get_annual_exchange_rates — Annual average rates, data from 1980
  • snb_get_balance_sheet — SNB Bilanz positions in millions CHF (monthly)
  • snb_convert_currency — Convert any amount to CHF using official SNB rates
  • snb_get_cube_data — Generic access to any SNB cube by ID
  • snb_get_cube_metadata — Inspect dimensions and filter values of any cube
  • snb_get_banking_balance_sheet — Banking balance sheets by bank group (monthly/annual, assets/liabilities)
  • snb_get_banking_income — Banking income statements by bank group (annual)
  • snb_get_balance_of_payments — Balance of payments and international investment position (quarterly)
  • snb_get_warehouse_data — Generic access to any SNB Warehouse cube by ID

Configuration and credentials

  • Python 3.11+ - uv or pip - MCP-compatible client (Claude Desktop, Claude Code, or any MCP host) ---

Setting it up

swiss-snb-mcp on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Swiss's toolset — macOS, Windows, snb_get_exchange_rates and 10 more — is a fair guide to whether it matches your workflow. It is maintained by malkreide; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 13 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Swiss.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the swiss mcp server does with a few real requests.

Available tools

ToolWhat it does
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json
snb_get_exchange_ratesMonthly CHF rates for EUR, USD, JPY, GBP, CNY and 22 more currencies
snb_get_annual_exchange_ratesAnnual average rates, data from 1980
snb_get_balance_sheetSNB Bilanz positions in millions CHF (monthly)
snb_convert_currencyConvert any amount to CHF using official SNB rates
snb_get_cube_dataGeneric access to any SNB cube by ID
snb_get_cube_metadataInspect dimensions and filter values of any cube
snb_get_banking_balance_sheetBanking balance sheets by bank group (monthly/annual, assets/liabilities)
snb_get_banking_incomeBanking income statements by bank group (annual)
snb_get_balance_of_paymentsBalance of payments and international investment position (quarterly)
snb_get_warehouse_dataGeneric access to any SNB Warehouse cube by ID
snb_get_warehouse_metadataInspect dimensions and last update of a Warehouse cube

How to install the Swiss MCP server

{
  "mcpServers": {
    "swiss-snb-mcp": {
      "command": "uvx",
      "args": [
        "swiss-snb-mcp"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.11+ - uv or pip - MCP-compatible client (Claude Desktop, Claude Code, or any MCP host) ---

Example prompts to try

  • Use Swiss to macOS.
  • Use Swiss to Windows.
  • Use Swiss to snb get exchange rates.

Frequently asked questions

It connects Swiss to MCP-compatible AI assistants such as Claude and Cursor, exposing 13 tools (macOS, Windows, snb_get_exchange_rates, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Swiss directly.