
Swiss Culture Mcp
io.github.malkreide由 GitHub 账号 malkreide 发布v1.2.0更新于 Oct 27, 2026
BAK cultural heritage, ISOS, living traditions, RSS
发布方自己的服务:The Culture Commons
概览
只读 MCP 服务器,让助手查询瑞士联邦文化 heritage 数据:ISOS 城镇景观、活态传统、文化奖项、BAK 新闻与开放数据。
- 可以做什么
- 按地名、州或聚落类型搜索、列出并查看 ISOS 受保护城镇景观,并获取清单统计
- 列出并阅读瑞士“活态传统”非物质文化遗产条目详情
- 获取 BAK 最新新闻稿与瑞士文化奖项(如电影奖、文学大奖)
- 查询 opendata.swiss 上的 BAK 数据集
- 读取州、聚落类别与奖项概览等参考资源
- 适用场景
- 适合回答关于瑞士建筑遗产、受保护城镇景观、非物质文化遗产、文化奖项或联邦文化政策的问题,例如教学、空间规划或文化旅游研究。
- 运行要求
- 本地 Python 3.11+ 运行环境,需 uv 或 pip,通常用 uvx 启动。无需 API 密钥或账号。需能访问 geo.admin.ch、news.admin.ch、opendata.swiss 与 lebendige-traditionen.ch。可选环境变量用于配置 HTTP 传输、绑定地址、端口、允许的主机与 CORS 来源。
安装
在 SourceWeft 中
- 打开 控制台中的 Swiss Culture Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
🇨🇭 Part of the Swiss Public Data MCP Portfolio
🏛️ swiss-culture-mcp
[Version] [License: MIT] [Python 3.11+] [MCP] [Data Source] [CI]
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
[Demo: Claude queries ISOS townscapes via MCP tool call]
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
3 Resources: bak://isos/kantone · bak://isos/kategorien · bak://kulturpreise/uebersicht
Data Sources
Prerequisites
- Python 3.11+
uvorpip- No API keys required
Installation
Quickstart
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
Claude Desktop Configuration
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://<host>/mcp. Add it in claude.ai under Settings → MCP Servers.
Render.com (recommended):
- Push/fork the repository to GitHub
- On render.com: New Web Service → connect GitHub repo
- Set environment variables in the Render dashboard — including
MCP_ALLOWED_HOSTS=your-app.onrender.comand, for a browser-based client,ALLOWED_ORIGINS=https://claude.ai - 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:
The two variables guard different things — one does not stand in for the other. Measured against this server on a
0.0.0.0bind, with a request carryingOrigin: https://claude.ai:Read it column by column, because the two failures are not the same kind.
ALLOWED_ORIGINSdecides whether a browser client works at all: without it the request is refused (403from the transport when the Host allow-list is active — a rejectedOrigin; a rejectedHostwould be421) or the browser cannot read the response.MCP_ALLOWED_HOSTSdecides whether the deployment is safe: without itbuild_transport_security()returnsNoneand theHostandOriginheaders 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; leaveALLOWED_ORIGINSunset only when no browser-based client is meant to reach the server, and never leaveMCP_ALLOWED_HOSTSunset there.
⚠️ 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.0deployments.
⚠️ Set
MCP_ALLOWED_HOSTSon a public bind. Without it theHostandOriginheaders 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 foreignHost. The server logsdns_rebinding_protection_offon 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
Project Structure
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.
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 handshake era — pinning against it alone would leave the era
that current clients actually negotiate free to drift.
The modern era is measured, not inferred.
tests/test_modern_era.py builds the server's real
ASGI app and sends requests through it: a 2026-07-28 envelope, an
initialize handshake, and each of the malformed variants. It asserts that a
modern request is answered, that the two eras stay separate (initialize is
not a method on the modern wire; the handshake caps at 2025-11-25 instead of
handing out 2026-07-28), that server/discover names exactly the pinned
revision, that a foreign revision is refused with -32022 naming both the
requested and the supported one, and that ttlMs/cacheScope and
serverInfo arrive as wire fields.
This matters because the modern era exists only on the streamable-HTTP
entry — stdio and the in-process clients speak the initialize handshake and
nothing else. Testing the spec through an in-process client tests the handlers,
not the era. That gap hid a one-character defect: main() started the HTTP
transport as streamable_http, where the SDK's run() takes
streamable-http, so the transport aborted with ValueError and the server
did not serve the spec at all. Every test stayed green, because they mocked
mcp.run and compared the string against a hand-written copy of the same
typo.
Server identity. Spec 2026-07-28 carries serverInfo in the _meta of
every response, not once per session as the handshake era does. This server
fills it with name, title, description, website URL and the version from the
package metadata (importlib.metadata, the same source as the outbound
User-Agent); a hand-maintained literal is rejected by
scripts/check_version_sync.py.
The name is swiss-culture-mcp — the same spelling as the distribution, the
console script, the registry entry and the outbound User-Agent. It read
swiss_culture_mcp until 2026-09-20; an identity spelled differently depending
on where you look is not one. tests/test_servername.py holds the sources
together rather than checking a literal against itself. The Python logger
keeps the underscore on purpose: that is a logger name, not a server identity,
and renaming it would break every operator's logging config without aligning
anything.
Update policy. When the gate fails, do not edit the constant blindly: read
the spec changelog between the two revisions, verify the server still behaves,
then move the constant, this section, README.de.md and
CHANGELOG.md together.
Testing
Example Use Cases
Schools / Education
City Administration / Spatial Planning
AI Working Group / Demos
Safety & Limits
Known Limitations
- ISOS statistics: Sample-based per canton (not exhaustive for all cantons)
- Living Traditions: HTML scraping – may break if lebendige-traditionen.ch changes its structure
- BAK news/prizes: RSS feed limited to the most recent entries
- opendata.swiss CKAN: Full-text search may return results from other publishers
- The addresses this server hands out are measured, not assumed.
scripts/record_fixtures.pyre-checks every one on each run, together with four controls (an invented geo.admin.ch service, an invented BAK path, an invented news organisation number, an invented tradition slug). On 2026-08-08 one was dead:bak_isos_overviewpublished.../home/kulturerbe/baukultur.htmlas its BAK source — HTTP 404, as is the wholekulturerbebranch. It was replaced by the BAK root, which verifiably answers 200, not by a guessed replacement URL. - Everything else held. geo.admin.ch, opendata.swiss, gisos, isos, the news feed with
org-nr=314and the tradition pages all return real content. That null result is recorded too: without it the next pass starts from nothing.
Synergies with Other MCP Servers
swiss-culture-mcp can be combined with other servers in the portfolio:
Changelog
See CHANGELOG.md
Contributing
Contributions are welcome — see CONTRIBUTING.md.
Security
Security posture, hardening details and the responsible-disclosure process are documented in SECURITY.md.
License
MIT License — see LICENSE
Author
Hayal Oezkan · malkreide
Credits & Related Projects
- Data: Bundesamt für Kultur (BAK) – Federal Office of Culture
- ISOS: geo.admin.ch – Federal Office of Topography swisstopo
- Traditions: lebendige-traditionen.ch – BAK living traditions registry
- Protocol: Model Context Protocol – Anthropic / Linux Foundation
- Related: zurich-opendata-mcp – MCP server for Zurich city open data
- Portfolio: Swiss Public Data MCP Portfolio
Installation
Run via uv's uvx — no clone or manual install needed. Add to your MCP client config (mcpServers for Claude Desktop, Cursor and Windsurf; use a top-level servers key for VS Code in .vscode/mcp.json):
来源:README.md,提交 804901e
工具
0版本历史
2- v1.2.0最新Sep 19, 2026
- v1.1.4Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Culture 集成

The Culture Commons
sbs.culture官方发布者
一个远程公共空间,助手可取得具名身份、进入实时房间发言,并读取或追加持久化板块帖子。

Re Culture™ Public Guidance
由 GitHub 账号 israrulhaq7013-web 发布
远程 MCP 服务器,让助手按主题和语言(英语或阿拉伯语)查询 Re Culture™ 关于人类判断的公开指南,并附带版本化来源与审核状态

CultureLib Discover
由 GitHub 账号 tbalcinha 发布
让助手搜索法国文化活动,并比较多个售票渠道的票价。