Gratis Schweizer JSON-API (25 Endpunkte) · Claude & Cursor MCP (23 Tools)

Gratis Schweizer APIs & MCP-Server für Entwickler.

Nutze 15 offizielle Schweizer Rechner 2026 (Nettolohn, Säule 3a, MWST, IBAN, QR-Rechnung) und 10 Live-Datenfeeds (SBB, MeteoSchweiz, SNB, swisstopo) in deiner App oder deinem KI-Assistenten — kostenlos und ohne API-Key.

Practical Use Cases

What you can build & automate with SchweizGPT

Use Case 1 · AI Assistants (MCP)

Stop Claude, Cursor & ChatGPT from hallucinating Swiss rules

LLMs frequently guess outdated Swiss tax rates, invent train times, or miscalculate Modulo-10 checksums. Connect `/mcp` once so your assistant calls deterministic Swiss tools automatically.

Prompt: "Calculate 2026 net salary for CHF 140k in Zurich (age 36), check if CHF 2,950 rent passes the 1/3 rule, and find the next IC train from Zürich HB to Bern."
Use Case 2 · Finance & Billing Automation

Validate Swiss IBANs, QR-bills & MWST in your backend

Call `/api/public/v1/iban`, `/qr-reference`, and `/vat` from your billing pipeline, ERP, or checkout form to verify Swiss bank accounts and generate 27-digit QR references.

GET https://schweizgpt.com/api/public/v1/iban?iban=CH9300762011623852957
Use Case 3 · HR, Payroll & Relocation Tools

Embed 2026 Swiss salary, Pensum & working-day logic

Compute exact cantonal working days (excluding cantonal holidays), pro-rata 13th month salary, Pensum conversions, and work permit eligibility (L/B/C/G) via JSON.

GET https://schweizgpt.com/api/public/v1/working-days?canton=ZH&from=2026-01-01&to=2026-12-31
Use Case 4 · Live Mobility, Weather & FX Dashboards

Unified JSON for SBB, MeteoSwiss, SNB & swisstopo

Skip XML/CSV parsing and disparate government portals. Query live SBB stationboards, SNB exchange rates, SLF snow depths, and swisstopo geocoding with consistent JSON responses.

GET https://schweizgpt.com/api/public/v1/departures?station=Zürich%20HB&limit=5

Model Context Protocol (MCP) · 23 Tools

Connect SchweizGPT to Claude, Cursor or ChatGPT in 10 seconds

Point your AI client at https://schweizgpt.com/mcp. Your assistant automatically discovers all 23 tools (salary, VAT, Pillar 3a, IBAN, QR-bill, working days, SBB trains, weather, SNB rates, snow, swisstopo, SRF news) with strict Zod parameter schemas.

Test tools in browser
1. Claude Code (Terminal)
claude mcp add --transport http schweizgpt https://schweizgpt.com/mcp
2. Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "schweizgpt": {
      "url": "https://schweizgpt.com/mcp"
    }
  }
}
3. Claude Desktop / ChatGPT URL
https://schweizgpt.com/mcp

Categorized Endpoint & MCP Reference

All 25 Endpoints by Category

Filter by domain below. Every endpoint supports GET query strings and POST JSON bodies.

1. Banking, QR-Bills, VAT & Corporate Setup

Automate Swiss invoice validation, checkout IBAN verification, 27-digit QR references, MWST calculations, and GmbH/AG comparisons.

GET /api/public/v1/ibanMCP: validate_swiss_iban

Validate a Swiss or Liechtenstein IBAN and resolve bank name.

Practical use: Verify a customer or vendor CH/LI IBAN before payout, look up the bank name via 5-digit IID clearing number, and check if it is a QR-IBAN.

Parameters:iban
curl "https://schweizgpt.com/api/public/v1/iban?iban=CH9300762011623852957"
GET /api/public/v1/qr-referenceMCP: validate_swiss_qr_reference

Validate or generate a 27-digit Swiss QR reference (QRR) or ISO 11649 SCOR reference.

Practical use: Generate or validate 27-digit Modulo-10 recursive Swiss QR-bill references (QRR) or ISO 11649 Creditor References (SCOR) for automated invoicing.

Parameters:referencemode
curl "https://schweizgpt.com/api/public/v1/qr-reference?reference=210000000003139471430009017&mode=auto"
GET /api/public/v1/vatMCP: calculate_swiss_vat

Add or remove Swiss VAT (8.1 / 2.6 / 3.8%).

Practical use: Add or strip 2026 Swiss VAT (8.1% standard, 2.6% reduced, 3.8% accommodation) for e-commerce checkouts and ERP billing.

Parameters:amountrateincludesVat
curl "https://schweizgpt.com/api/public/v1/vat?amount=1000&rate=standard&includesVat=false"
GET /api/public/v1/company-formMCP: compare_swiss_company_forms

Compare Swiss Einzelfirma, GmbH, and AG legal forms (CO capital, liability, Zefix).

Practical use: Compare minimum capital, liability, and setup costs across Einzelfirma (CHF 0), GmbH (CHF 20k), and AG (CHF 100k).

Parameters:startingCapitalChfexpectedAnnualRevenueChffoundersCountlimitPersonalLiabilityanonymousShareholders
curl "https://schweizgpt.com/api/public/v1/company-form?startingCapitalChf=35000&expectedAnnualRevenueChf=180000&foundersCount=1"

2. Salary, Payroll, Working Days & Permits

Power HR tools, offer calculators, time-tracking, and relocation workflows with 2026 Swiss statutory rules.

GET /api/public/v1/net-salaryMCP: calculate_swiss_net_salary

Swiss gross-to-net salary calculator (2026 AHV/IV/EO, ALV, NBU/KTG, BVG + tax).

Practical use: Compute 2026 net salary from gross annual pay after AHV/IV/EO (5.3%), ALV (1.1%), NBU, BVG 2nd-pillar age brackets, and tax.

Parameters:grossAnnualagepaymentsPerYearnbuKtgPercenteffectiveTaxPercent
curl "https://schweizgpt.com/api/public/v1/net-salary?grossAnnual=110000&age=35&paymentsPerYear=13&effectiveTaxPercent=14"
GET /api/public/v1/workloadMCP: convert_swiss_salary_workload

Convert salary between workloads and periods.

Practical use: Convert salaries between full-time (100%) and part-time Pensum (e.g. 60% or 80%), 12 vs. 13 monthly installments, and hourly rates.

Parameters:amountperiodfromPercenttoPercentpaymentsPerYearhoursPerWeekFullTime
curl "https://schweizgpt.com/api/public/v1/workload?amount=7000&toPercent=80&paymentsPerYear=13"
GET /api/public/v1/13th-salaryMCP: calculate_13th_salary

Pro-rata 13th month salary.

Practical use: Calculate pro-rata 13th month salary entitlements for employees joining or leaving mid-year.

Parameters:monthlySalarymonthsWorked
curl "https://schweizgpt.com/api/public/v1/13th-salary?monthlySalary=6500&monthsWorked=8"
GET /api/public/v1/working-daysMCP: count_swiss_working_days

Working days between two dates (inclusive).

Practical use: Count exact Monday–Friday working days between two dates after subtracting official public holidays for any of the 26 cantons.

Parameters:cantonstartend
curl "https://schweizgpt.com/api/public/v1/working-days?canton=BE&start=2026-01-01&end=2026-12-31"
GET /api/public/v1/holidaysMCP: get_swiss_public_holidays

Public holidays for a canton and year.

Practical use: Retrieve the complete calendar of public holidays (including Easter-dependent dates) for any Swiss canton and year.

Parameters:cantonyear
curl "https://schweizgpt.com/api/public/v1/holidays?canton=ZH&year=2026"
GET /api/public/v1/permit-finderMCP: find_swiss_permit

Determine applicable Swiss work/residence permit (L, B, C, G) and statutory rules.

Practical use: Determine the applicable Swiss residence/work permit (L, B, C, or G cross-border) based on nationality and employment contract.

Parameters:nationalityGrouppurposeyearsInSwitzerland
curl "https://schweizgpt.com/api/public/v1/permit-finder?nationalityGroup=eu-efta&purpose=employment-long&yearsInSwitzerland=0"

3. Tax, Pension, Housing & SBB Break-Even

Financial planning, wealth advisory, and mobility cost comparison endpoints built on 2026 federal figures.

GET /api/public/v1/pillar-3aMCP: calculate_pillar_3a

Pillar 3a 2026 deduction limit and estimated saving.

Practical use: Calculate 2026 Pillar 3a maximum contribution room (CHF 7,258 with BVG / CHF 36,288 without BVG) and estimated tax savings.

Parameters:hasPensionFundnetEarnedIncomecontributionmarginalTaxRate
curl "https://schweizgpt.com/api/public/v1/pillar-3a?hasPensionFund=true&contribution=7258&marginalTaxRate=25"
GET /api/public/v1/health-franchiseMCP: health-franchise (REST)

Compare total annual LAMal/KVG health insurance cost by franchise level.

Practical use: Compare total annual health costs (premiums + deductible + 10% retention up to CHF 700) across all 6 adult LAMal franchises (CHF 300–2,500).

Parameters:expectedCostsp300p500p1000p1500p2000p2500
curl "https://schweizgpt.com/api/public/v1/health-franchise?expectedCosts=1200&p300=415&p2500=287"
GET /api/public/v1/rentMCP: check_swiss_rent_affordability

One-third rule check and max. deposit.

Practical use: Check whether monthly rent meets the Swiss one-third gross income rule and compute the maximum 3-month residential deposit (CO Art. 257e).

Parameters:grossMonthlyIncomenetRentcharges
curl "https://schweizgpt.com/api/public/v1/rent?grossMonthlyIncome=8500&netRent=2200&charges=250"
GET /api/public/v1/ga-halbtaxMCP: compare_sbb_ga_halbtax

SBB GA vs. Half-Fare (Halbtax) 2026 break-even and total annual cost comparison.

Practical use: Compare 2026 SBB GA Travelcard (CHF 3,995) vs. Half-Fare (CHF 190/170) vs. full-fare tickets and return the exact CHF 7,610 break-even.

Parameters:fullFareSpendPerYearcategorytravelClassrenewal
curl "https://schweizgpt.com/api/public/v1/ga-halbtax?fullFareSpendPerYear=4500&category=adult&travelClass=2"
GET /api/public/v1/compound-interestMCP: compound-interest (REST)

Savings growth with monthly compounding.

Practical use: Project multi-year CHF savings and investment compounding from an initial lump sum and monthly contributions.

Parameters:initialmonthlyannualRatePercentyears
curl "https://schweizgpt.com/api/public/v1/compound-interest?initial=10000&monthly=500&annualRatePercent=3&years=20"

4. Live SBB Transport, Weather & Geodata

Real-time Swiss public transport timetables, station coordinates, weather forecasts, and official swisstopo address geocoding.

GET /api/public/v1/departuresMCP: get_swiss_departures

Live departures from a Swiss stop, with delays.

Practical use: Fetch live SBB/ZVV departures from any Swiss station with line number, destination, platform, and real-time delay minutes.

Parameters:stationlimit
curl "https://schweizgpt.com/api/public/v1/departures?station=Zürich HB&limit=5"
GET /api/public/v1/connectionsMCP: get_swiss_connections

Next train/tram/bus connections between two stops.

Practical use: Find the next public transport connections between any two Swiss stations with duration, transfer count, and train products.

Parameters:fromtolimit
curl "https://schweizgpt.com/api/public/v1/connections?from=Zürich HB&to=Bern"
GET /api/public/v1/stationsMCP: search_swiss_stations

Search Swiss public transport stops (SBB, ZVV, …).

Practical use: Search Swiss train, tram, bus, and boat stops by name and retrieve official UIC stop IDs and WGS84 coordinates.

Parameters:querylimit
curl "https://schweizgpt.com/api/public/v1/stations?query=Zürich HB"
GET /api/public/v1/weatherMCP: get_swiss_weather

Current weather and forecast for a Swiss place.

Practical use: Query current temperature, wind speed, and multi-day weather forecast for any Swiss town, city, or mountain station.

Parameters:placedays
curl "https://schweizgpt.com/api/public/v1/weather?place=Zermatt&days=4"
GET /api/public/v1/geocodeMCP: geocode_swiss_address

Geocode a Swiss address or place (swisstopo).

Practical use: Convert any Swiss street address, postal code, or place name into exact coordinates and canton via Federal Office of Topography swisstopo.

Parameters:querylimit
curl "https://schweizgpt.com/api/public/v1/geocode?query=Bahnhofstrasse Zürich"

5. Live SNB FX, Alpine Snow, Earthquakes & Open Data

Official Swiss National Bank foreign exchange rates, SLF alpine snow stations, ETH SED earthquake alerts, opendata.swiss, and SRF news.

GET /api/public/v1/exchange-ratesMCP: get_swiss_exchange_rates

Latest SNB monthly average exchange rates (CHF).

Practical use: Retrieve official Swiss National Bank (SNB) CHF exchange rates for EUR, USD, GBP, JPY, and major currencies.

Parameters:None required
curl "https://schweizgpt.com/api/public/v1/exchange-rates"
GET /api/public/v1/snowMCP: get_swiss_snow_conditions

Snow depth at SLF measurement stations.

Practical use: Query live snow depth (cm) and 24-hour new snow across SLF measurement stations filtered by canton and altitude.

Parameters:cantonminAltitudelimit
curl "https://schweizgpt.com/api/public/v1/snow?canton=GR&minAltitude=2000"
GET /api/public/v1/earthquakesMCP: get_swiss_earthquakes

Recent earthquakes in Switzerland (SED/ETH).

Practical use: Monitor recent seismic events in and around Switzerland from the Swiss Seismological Service (SED) at ETH Zürich.

Parameters:minMagnitudedayslimit
curl "https://schweizgpt.com/api/public/v1/earthquakes?minMagnitude=2.5&days=30"
GET /api/public/v1/open-dataMCP: search_swiss_open_data

Search Switzerland's national open-data catalogue.

Practical use: Search thousands of federal, cantonal, and municipal open government datasets on opendata.swiss.

Parameters:querylimit
curl "https://schweizgpt.com/api/public/v1/open-data?query=groundwater"
GET /api/public/v1/newsMCP: get_swiss_news

Latest Swiss news headlines (SRF).

Practical use: Fetch the latest national Swiss news headlines and summaries from SRF Schweizer Radio und Fernsehen.

Parameters:limit
curl "https://schweizgpt.com/api/public/v1/news?limit=5"