SNB data portal: exchange rates, balance sheet, policy rates, SARON, monetary aggregates
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
π¨π Part of the Swiss Public Data MCP Portfolio
MCP server for the Swiss National Bank (SNB) data portal β exchange rates, balance sheet, interest rates, SARON, monetary aggregates, banking statistics, and balance of payments.
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.
The server covers three tiers of datasets, all confirmed against the live API:
Phase 1 β Dedicated tools:
devkum publishes against CHF β including two USD forward rates, which are labelled as suchPhase 2 β Via generic cube tools (snb_get_cube_data + snb_get_cube_metadata):
Phase 3 β Warehouse API (banking statistics) and balance of payments:
Anchor demo query: "What was the EUR/CHF exchange rate during the 2015 Franc shock, and where does the SNB policy rate stand today compared to the Fed and ECB?"
uv or pipVia uvx (recommended β no permanent installation needed):
Via pip:
From source:
Claude Desktop β add to claude_desktop_config.json:
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonTry it immediately in Claude Desktop:
"What is the current EUR/CHF exchange rate according to the SNB?" "Show me the SNB balance sheet for the last 12 months β gold and foreign reserves."
No API key or authentication required. The SNB data portal is fully public.
Optional environment variable:
| Variable | Default | Description |
|---|---|---|
SNB_TIMEOUT | 15 | HTTP request timeout in seconds |
| Tool | Description |
|---|---|
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 |
| Tool | Description |
|---|---|
snb_get_cube_data | Generic access to any SNB cube by ID |
snb_get_cube_metadata | Inspect dimensions and filter values of any cube |
| Tool | Description |
|---|---|
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 |
snb_get_warehouse_metadata | Inspect dimensions and last update of a Warehouse cube |
Discovery aids served as MCP resources rather than tools so they don't crowd the tool manifest:
| URI | Description |
|---|---|
data://snb/currencies | All 28 currency IDs with labels and units |
data://snb/balance-sheet-positions | Asset and liability position IDs |
data://snb/cubes | All verified Cube-API IDs (Phase 1β2) + discovery guide |
data://snb/warehouse-cubes | Available Warehouse cube IDs (BSTA) |
data://snb/bank-groups | All 12 bank group IDs with labels |
| Query | Tool |
|---|---|
| "What is the current EUR/CHF rate?" | snb_get_exchange_rates |
| "Convert CHF 10,000 to USD" | snb_convert_currency |
| "Show SNB gold reserves over the last year" | snb_get_balance_sheet |
| "What is the current SNB policy rate?" | snb_get_cube_data (cube: snbgwdzid) |
| "How do SNB, Fed and ECB rates compare?" | snb_get_cube_data (cube: snboffzisa) |
| "What is the SARON 3M compound rate?" | snb_get_cube_data (cube: zirepo) |
| "How fast is M3 money supply growing?" | snb_get_cube_data (cube: snbmonagg) |
| "Total assets of all Swiss banks?" | snb_get_banking_balance_sheet |
| "Income statement of cantonal banks?" | snb_get_banking_income (bank_group: G10) |
| "Switzerland's balance of payments?" | snb_get_balance_of_payments |
| "Which cubes are available?" | resource data://snb/cubes |
β More use cases by audience β
| Aspect | Details |
|---|---|
| Access | Read-only (readOnlyHint: true) β the server cannot modify or delete any data |
| Personal data | No personal data β all sources are aggregated, public macroeconomic statistics |
| Rate limits | SNB Warehouse API has WAF protection (HTTP 503 after ~100 rapid requests); the server retries automatically with exponential backoff (max 3 retries, delays 2/4/8s) |
| Timeout | 15 seconds per API call |
| Authentication | No API keys required β both APIs (/api/cube/ and /api/warehouse/cube/) are publicly accessible |
| Data source | Swiss National Bank β data.snb.ch |
| Terms of Service | Subject to SNB's Terms of Use and Copyright; data is free for non-commercial use with source attribution |
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/swiss-snb-mcp)<a href="https://allmcps.com/mcp/swiss-snb-mcp"><img src="https://allmcps.com/api/badge/swiss-snb-mcp?style=directory" alt="Swiss Snb MCP on AllMCPs" /></a>