Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Swiss Culture MCP

by malkreideversion 1.2.0i★ 1iRuns on your computerRepository ↗
Registry nameio.github.malkreide/swiss-culture-mcp

How to install

What it does

BAK cultural heritage, ISOS, living traditions, RSS

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity4/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score16/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Swiss Culture MCP. Follow https://mcp.popnx.com/i/malkreide-swiss-culture-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Swiss Culture MCP for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "swiss-culture": { "command": "uvx", "args": [ "swiss-culture-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Swiss Culture MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "swiss-culture": {
          "command": "uvx",
          "args": [
            "swiss-culture-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Swiss Culture MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Swiss Culture MCP or shows a Swiss Culture MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Swiss Culture MCP yet

Swiss Culture MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Swiss Culture MCP

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Swiss Culture MCP for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user swiss-culture -- uvx swiss-culture-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Swiss Culture MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user swiss-culture -- uvx swiss-culture-mcp
  4. Type /mcp in Claude Code

    You should see Swiss Culture MCP listed as connected

  5. Try it

    Use Swiss Culture MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Swiss Culture MCP or shows a Swiss Culture MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Swiss Culture MCP for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "swiss-culture": { "command": "uvx", "args": [ "swiss-culture-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Swiss Culture MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Swiss Culture MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Swiss Culture MCP or shows a Swiss Culture MCP tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Swiss Culture MCP for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "swiss-culture": { "type": "stdio", "command": "uvx", "args": [ "swiss-culture-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Swiss Culture MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Swiss Culture MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Swiss Culture MCP or shows a Swiss Culture MCP tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Swiss Culture MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user swiss-culture -- uvx swiss-culture-mcp

Claude Desktop (claude_desktop_config.json)

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

Cursor (~/.cursor/mcp.json)

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

VS Code (mcp.json)

{
  "servers": {
    "swiss-culture": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "swiss-culture-mcp"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
21/wk
Connection
Runs on your computer
Latest versioni
1.2.0
Categoryi
Other
Published to registryi
Sep 20, 2026
Code last changedi
Nov 13, 2026
Maker
malkreide
Packages
pypi: swiss-culture-mcp
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account malkreide, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 7 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for swiss-culture-mcp@1.2.0

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/malkreide-swiss-culture-mcp.svg)](https://mcp.popnx.com/en/servers/malkreide-swiss-culture-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 86% of the other 20868 servers in this category
  • Published to the registry more recently than 41% of the other 20868 servers in this category
  • Basic checks equal to or better than 99% of the other 20868 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Swiss Culture MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 7 days ago, and the latest version (1.2.0) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

by koala73Widely used★ 90.9KUpdated 4 days ago

Runs in the cloud✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 2 months ago

Runs in the cloud✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 31 days ago

Runs in the cloud✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Runs in the cloudRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Runs in the cloud✓ service owner · jitsu.com
Compared with similar ones
This one
Swiss Culture MCP
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/41/44/4
LicenseMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

🇨🇭 Part of the [Swiss Public Data MCP Portfolio](https://github.com/malkreide)

🏛️ swiss-culture-mcp

MCP server for Swiss cultural heritage data from the Federal Office of Culture (BAK) — ISOS townscapes, Living Traditions, cultural prizes, press releases. No API key required.

🌐 English | [Deutsch](README.de.md)


Overview

swiss-culture-mcp makes Swiss cultural data accessible to AI assistants. The server connects LLMs like Claude with Switzerland's national cultural heritage: from protected townscapes (ISOS) to living traditions of intangible cultural heritage and current cultural awards.

Sources: geo.admin.ch REST API · news.admin.ch RSS · opendata.swiss CKAN · lebendige-traditionen.ch

No API key required. All data sources are publicly available (Open Government Data).

Anchor demo query: *"Which protected townscapes are there in the school districts of the city of Zurich, and what living traditions are practised there?"*


Features

  • 🏘️ ISOS search – Federal Inventory of Swiss Townscapes Worth Protecting by name, canton or settlement type
  • 📜 Living Traditions – 228 entries of Swiss intangible cultural heritage
  • 🏆 Cultural prizes – Swiss Film Prize, Grand Prix Literature, Music Prize and more
  • 📰 BAK press releases – current news from the Federal Office of Culture
  • 📦 Open data catalogue – BAK datasets on opendata.swiss
  • ☁️ Dual transport – stdio for Claude Desktop, Streamable HTTP for cloud deployment
#ToolDescription
1bak_search_isosSearch ISOS townscapes by place name
2bak_isos_by_kantonList all ISOS objects in a canton
3bak_get_isos_detailGet full details of an ISOS object
4bak_isos_by_kategorieFilter ISOS by settlement type (Stadt, Dorf, etc.)
5bak_isos_statisticsISOS inventory statistics (sampled by canton)
6bak_get_newsCurrent BAK press releases
7bak_get_kulturpreiseSwiss cultural prizes (Film Prize, Grand Prix Literature, etc.)
8bak_get_opendataBAK datasets on opendata.swiss
9bak_list_traditionsList Switzerland's Living Traditions
10bak_get_tradition_detailGet detailed description of a tradition

3 Resources: bak://isos/kantone · bak://isos/kategorien · bak://kulturpreise/uebersicht


Data Sources

SourceAPI TypeContent
geo.admin.chREST MapServerISOS (Federal Inventory of Swiss Townscapes)
news.admin.chRSS FeedBAK press releases, cultural prizes
opendata.swissCKAN REST APIBAK open data datasets
lebendige-traditionen.chJSON (the website's own interface)228 entries of intangible cultural heritage

Prerequisites

  • Python 3.11+
  • uv or pip
  • No API keys required

Installation

# Recommended: uvx (no install step needed)

uvx swiss-culture-mcp

Alternative: pip

pip install swiss-culture-mcp


Quickstart

# Start the server (stdio mode for Claude Desktop)

uvx swiss-culture-mcp

Try it immediately in Claude Desktop:

*"Show me all protected townscapes in the canton of Graubünden"*

*"Which living traditions are practised in canton Appenzell?"*

*"Which Swiss cultural prizes were awarded in 2026?"*


Configuration

Environment Variables
VariableDefaultDescription
MCP_TRANSPORTstdioTransport: stdio or streamable_http (streamable-http is accepted too). The 2026-07-28 era is reachable only over the HTTP transport.
MCP_HOST127.0.0.1Bind host for HTTP transport (loopback by default)
MCP_PORT8000Port for HTTP transport
MCP_ALLOW_PUBLIC_BINDfalseIf true, permits binding 0.0.0.0 without auth. Set this only behind an authenticating reverse proxy (e.g. Cloudflare Access, oauth2-proxy).
MCP_ALLOWED_HOSTS*(empty)*Comma-separated hostnames this server answers to, without a scheme (mcp.example.ch). Feeds the Host/Origin check of the HTTP transport. Set it for every non-loopback deployment — see the warning below. Loopback stays allowed regardless, so container health checks keep working.
ALLOWED_ORIGINS*(empty)*Comma-separated CORS origins, with scheme (https://claude.ai). Empty means no browser-based MCP client is permitted; stdio and non-browser clients are unaffected. * works but is logged as a warning.
LOG_LEVELINFODEBUG, INFO, WARNING, ERROR — structured JSON logs to stderr
Claude Desktop Configuration
{

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

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

After restarting Claude Desktop, all tools are available. Example queries:

  • "Show me all protected townscapes in the canton of Graubünden"
  • "What is the Alphorn and Büchelspiel tradition?"
  • "Which Swiss cultural prizes were awarded in 2026?"
  • "Is the old town of Stein am Rhein in the ISOS inventory?"
  • "Which living traditions are practised in canton Appenzell?"
Cloud Deployment (Streamable HTTP)

For use via claude.ai in the browser (e.g. on managed workstations without local software):

The connector URL is always the deployment's host plus the transport path: `https:// /mcp`. Add it in claude.ai under Settings → MCP Servers.

Render.com (recommended):

  1. Push/fork the repository to GitHub
  2. On render.com: New Web Service → connect GitHub repo
  3. Set environment variables in the Render dashboard — including MCP_ALLOWED_HOSTS=your-app.onrender.com and, for a browser-based client, ALLOWED_ORIGINS=https://claude.ai
  4. In claude.ai under Settings → MCP Servers, add: https://your-app.onrender.com/mcp

Docker. The repository ships a multi-stage Dockerfile (python:3.13-slim, non-root, TCP health check). It presets the transport, a 0.0.0.0 bind and MCP_ALLOW_PUBLIC_BIND=true, because inside a container the platform's edge proxy is the only way in. MCP_ALLOWED_HOSTS is deliberately left unset in the image — the hostname depends on where you deploy, and a guessed one would reject every real request with HTTP 421:

docker build -t swiss-culture-mcp .

docker run -p 8000:8000 \ -e MCP_ALLOWED_HOSTS=mcp.example.ch \ -e ALLOWED_ORIGINS=https://claude.ai \ swiss-culture-mcp

**The two variables guard different things — one does not stand in for the

other.** Measured against this server on a 0.0.0.0 bind, with a request

carrying Origin: https://claude.ai:

| MCP_ALLOWED_HOSTS | ALLOWED_ORIGINS | Host/Origin check | POST | Preflight |

|---|---|---|---|---|

| set | set | active | 200 | allowed |

| set | — | active | `403` | refused |

| — | set | off | 200 | allowed |

| — | — | off | 200 | refused |

Read it column by column, because the two failures are not the same kind.

`ALLOWED_ORIGINS` decides whether a browser client works at all: without

it the request is refused (403 from the transport when the Host allow-list

is active — a rejected Origin; a rejected Host would be 421) or the

browser cannot read the response. **MCP_ALLOWED_HOSTS decides whether the

deployment is safe**: without it build_transport_security() returns None

and the Host and Origin headers are not checked at all. Row three is the

trap — a browser client connects and everything looks fine, through a

deployment open to DNS rebinding. Set both on a public bind; leave

ALLOWED_ORIGINS unset only when no browser-based client is meant to reach

the server, and never leave MCP_ALLOWED_HOSTS unset there.

# Local HTTP mode (loopback only — safe default, no allow-list needed)

MCP_TRANSPORT=streamable_http MCP_PORT=8000 python -m swiss_culture_mcp.server

Public bind (DANGEROUS — only behind an authenticating reverse proxy)

MCP_TRANSPORT=streamable_http MCP_HOST=0.0.0.0 MCP_ALLOW_PUBLIC_BIND=true \ MCP_ALLOWED_HOSTS=mcp.example.ch python -m swiss_culture_mcp.server

⚠️ Security: The server itself has no authentication. Binding to a public

interface without an upstream auth layer turns it into an open proxy for the

federal data sources. Always run an authenticating reverse proxy (Cloudflare

Access, oauth2-proxy, nginx + auth_request) in front of 0.0.0.0 deployments.

⚠️ Set `MCP_ALLOWED_HOSTS` on a public bind. Without it the Host and

Origin headers are not checked at all, which leaves the server open to

DNS rebinding: an attacker points a victim's browser at it and talks to it

under a foreign Host. The server logs dns_rebinding_protection_off on

every such start — that line is the symptom, not a formality. A loopback bind

needs no allow-list; the SDK derives one from the bind host itself.


Architecture

┌─────────────────┐     ┌──────────────────────────┐     ┌──────────────────────────┐

│ Claude / AI │────▶│ Swiss Culture MCP │────▶│ geo.admin.ch REST │ │ (MCP Host) │◀────│ (MCP Server) │◀────│ news.admin.ch RSS │ └─────────────────┘ │ │ │ opendata.swiss CKAN │ │ 10 Tools · 3 Resources │ │ lebendige-traditionen │ │ Stdio | Streamable HTTP │ └──────────────────────────┘ └──────────────────────────┘


Project Structure

swiss-culture-mcp/

├── src/ │ └── swiss_culture_mcp/ │ ├── init.py │ └── server.py # All 10 tools, 3 resources ├── tests/ │ ├── conftest.py # pytest configuration │ └── test_server.py # 36 tests (unit + live) ├── pyproject.toml ├── CHANGELOG.md ├── CONTRIBUTING.md # Contribution guide (English) ├── CONTRIBUTING.de.md # Contribution guide (German) ├── SECURITY.md # Security policy & posture (English) ├── SECURITY.de.md # Security policy & posture (German) ├── LICENSE ├── README.md # This file (English) └── README.de.md # German version


MCP Protocol Version

This server speaks two protocol eras over the same endpoint. The client's first request on a connection decides which one applies; a later claim from the other era is refused.

EraRevisionWho reaches it
initialize handshake2024-11-05 … `2025-11-25`What today's clients speak. The server answers with the revision asked for, or with the 2025-11-25 ceiling when the request asks for something newer.
Per-request envelope`2026-07-28`A request carrying the 2026-07-28 _meta envelope opens a modern connection.

Both revisions are pinned in tests/test_protocol_version.py and asserted against the installed SDK, so a Dependabot bump of mcp cannot move either one silently.

Note that the SDK's LATEST_PROTOCOL_VERSION is an alias for the modern era, not for the h

Only the beginning is shown; read the rest in the repo