
Swiss Cultural Heritage Mcp
io.github.malkreide由 GitHub 帳號 malkreide 發布v0.6.0更新於 Oct 24, 2026
Swiss cultural heritage: SIKART artists, Nationalmuseum, Helveticat, Memobase, Dodis
概覽
讓助理無需驗證即可檢索瑞士文化遺產資料來源——SIKART 藝術家、國家博物館藏品、Helveticat 書目、Memobase 與 Dodis。
- 可以做什麼
- 透過五個瑞士文化遺產資料來源提供十一個唯讀工具。藝術家工具可檢索約 17,000 位 SIKART 藝術家並取得完整檔案;博物館工具可檢索國家博物館資料集並瀏覽藏品物件;圖書館工具透過 SRU 與 OAI-PMH 檢索 Helveticat 並列出其 68 個集合。跨來源檢索工具可平行查詢 SIK-ISEA、國家博物館與國家圖書館,聯邦門面(search_heritage、get_heritage_item、list_heritage_collections)涵蓋 Memobase 與 Dodis,回傳來源、永久連結,以及分別標示的詮釋資料與數位化物件授權。
- 適用情境
- 適合瑞士文化遺產相關的藝術、歷史與文學研究問題:藝術家傳記、博物館藏品、國家書目紀錄、視聽檔案與外交文件。當助理需要依據機構一手資料而非一般網頁結果作答時,值得加入。
- 執行需求
- 以 Python 本機程序透過 stdio 執行;需要 Python 3.11+ 以及 uv(建議)或 pip。可透過 uvx swiss_cultural_heritage_mcp 或從儲存庫執行 pip install -e . 安裝。未宣告 API 金鑰、帳號或環境變數。需要連線至上游瑞士文化遺產 API 的網路存取。另有選用的 HTTP 模式供雲端或瀏覽器部署使用。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Swiss Cultural Heritage Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
🇨🇭 Part of the Swiss Public Data MCP Portfolio
🏛️ swiss-cultural-heritage-mcp
[Version] [License: MIT] [Python 3.11+] [MCP] [No Auth Required] [CI]
MCP Server for Swiss cultural heritage — SIK-ISEA artists, Nationalmuseum collections, and the Nationalbibliothek bibliography
Overview
swiss-cultural-heritage-mcp provides AI-native access to Swiss cultural heritage data sources, all without authentication:
This server completes the humanistic dimension of the Swiss public data portfolio — history, literature, and art — alongside existing servers for law (fedlex-mcp), transport, statistics, and more.
The memory-institution facade (Memobase + Dodis) is exposed through three
federated tools — search_heritage, get_heritage_item, list_heritage_collections —
rather than one tool-family per source. Every result carries source, permalink and
licence, and the licence is reported separately for metadata and for the
digitised object (they diverge: metadata is open Linked Open Data, but a
digitised object may be In Copyright). Only metadata and links are returned —
copyright-protected full texts (e.g. Dodis transcriptions) are never reproduced.
Anchor demo query (art): "Find works by Zurich-based painters from the 19th century in the Nationalmuseum, and cross-reference with their biography in the SIK-ISEA artist database."
Anchor demo query (memory institutions): "Which sources on the development of the Zurich Volksschule in the 19th century can be found in the Swiss memory institutions?" → search_heritage(query="Volksschule Zürich", collection="all", date_from="1800", date_to="1899").
Demo
[Demo: Claude using heritage_cross_search]
Features
- 🏛️ 11 tools, 2 resources, 2 prompts across five data sources
- 🔍
heritage_cross_search— parallel search across SIK-ISEA + SNM + NB in a single call - 🏛️
search_heritage— federated facade over Memobase + Dodis with per-result source, permalink and split metadata/digitised-object licence - 🌐 Bilingual output (Markdown / JSON)
- 🔓 No API key required — all data under open licenses
- ☁️ Dual transport — stdio (Claude Desktop) + Streamable HTTP (cloud)
- 📚 Prompt templates for art research and finding educational materials
Project phase: Phase 1 — read-only. Every tool is annotated readOnlyHint: true; there are no write or destructive operations. Moving to Phase 2 (write-capable) requires the prerequisites in docs/roadmap.md.
Prerequisites
- Python 3.11+
- uv (recommended) or pip
Installation
Or with uvx (no permanent installation):
Quickstart
Try it immediately in Claude Desktop:
"Who is Ferdinand Hodler?" "What coins does the Nationalmuseum have from Zurich?" "Find publications about Volksschule in the Swiss national bibliography"
→ More use cases by audience →
Configuration
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Or with uvx:
Config file locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Cloud Deployment (SSE for browser access)
For use via claude.ai in the browser (e.g. on managed workstations without local software):
Render.com (recommended):
- Push/fork the repository to GitHub
- On render.com: New Web Service → connect GitHub repo
- Select region
Frankfurt(EU) — required for Swiss public-sector use under revDSG / EDÖB. Seedocs/data-residency.md. - Set start command:
python -m swiss_cultural_heritage_mcp.server --http --port 8000 - In claude.ai under Settings → MCP Servers, add:
https://your-app.onrender.com/sse
💡 "stdio for the developer laptop, SSE for the browser."
For container deployments (Docker / Kubernetes / Cloud Run): the repository ships a hardened Dockerfile (non-root UID 10001). See docs/security.md for recommended SecurityContext and docs/network-egress.md for egress policy. The service runs single-instance by default; before scaling horizontally, see docs/scaling.md for the session-affinity prerequisites.
Available Tools
SIK-ISEA (Swiss Art Research)
Nationalmuseum (SNM)
Nationalbibliothek (NB)
Cross-Source
Memory institutions (Memobase + Dodis) — federated facade
Example Use Cases
Architecture
Data Source Characteristics
Architecture decision — memory-institution facade
Verified by a live probe on 2026-07-19 (methodology: mcp-data-source-probe). Four memory institutions were evaluated; only two expose a clean, no-auth, standardised interface and are connected:
Consequences: three federated tools instead of four tool-families; every result
carries source + permalink + a split metadata/digitised-object licence; no
copyright-protected full text is reproduced (metadata + links only); bar and
landesmuseum are documented as gated via list_heritage_collections, not scraped.
Project Structure
Single-file server: the 11 tools live in one
server.pyrather than atools/package. At this size a single, linear module is easier to read and review than a split; if the tool count grows materially, the SIK-ISEA / SNM / NB / cross-search blocks are the natural split points.
Safety & Limits
- Read-only: All tools perform HTTP GET requests only — no data is written, modified, or deleted.
- No personal data: The APIs return institutional records (artworks, publications, artists). No personally identifiable information (PII) is processed or stored by this server.
- Rate limits: No throttling was observed in roughly 380 probe requests on 2026-09-20. That says nothing about the published terms: the National Library's SRU and OAI-PMH terms of use have not been checked by this project (see
PROBE_REPORT_helveticat.md). Uselimitparameters conservatively. The server enforces a 30s timeout per request. - Data freshness: Records reflect the upstream source at query time. No caching is performed by this server.
- Terms of service: Data is subject to the ToS of each source — SIK-ISEA, opendata.swiss, Nationalbibliothek. The opendata.swiss datasets carry open licences (CC0 / CC BY). For the National Library this project has not verified the terms of either endpoint. Where a record carries its own rights statement it is surfaced as
rights(MARC 506/540) — many records carry none. The licence line in the attribution footer is the source's general statement, not a per-record one, and JSON responses carry no footer at all. Check with the source before redistributing. - No guarantees: This server is a community project, not affiliated with SIK-ISEA, SNM, or NB. Availability depends on upstream APIs.
Known Limitations
- SIK-ISEA: Artist data is updated periodically; very recent acquisitions may not yet be reflected
- Nationalmuseum: Only datasets published on opendata.swiss are accessible; not all SNM collections are available
- Nationalbibliothek:
maximumRecordsis capped at 50 server-side, silently — a request for more returns 50 without a warning. SRU cannot filter by OAI set, soqueryandset_specuse different endpoints and cannot be combined into one server-side search.from_date/until_dateare the catalogue record's modification dates, not publication years. Measured 2026-09-20; seePROBE_REPORT_helveticat.md. - Cross-search: Response time depends on the slowest of the three sources
Testing
Ruff is pinned to an exact version in pyproject.toml ([project.optional-dependencies] dev), so pip install -e ".[dev]" gives you the version CI uses and the lint gates agree with it. Installing a newer ruff on top changes the rule set and the formatter, and reports differences on code nobody touched. See CONTRIBUTING.md.
MCP Protocol Version
This server does not override the negotiation — the official mcp SDK decides, and both eras are reachable over either transport (stdio and HTTP alike). Pin the SDK, not a hand-rolled version string, to control which protocol versions are spoken. The numbers above are the pinned SDK's own registry (mcp_types.version: HANDSHAKE_PROTOCOL_VERSIONS, MODERN_PROTOCOL_VERSIONS) — read them there rather than from this table if the pin has moved.
Both revisions are pinned in
tests/test_protocol_version.py and asserted
against the installed SDK — including the handshake ceiling, measured against a
live initialize through the assembled ASGI stack. A Dependabot bump of mcp
can no longer move either number without this table going stale unnoticed.
Server identity
The identifier is hyphenated, like the repository, the PyPI package and the
console script. The Python module keeps underscores — python -m swiss_cultural_heritage_mcp.server above is not an inconsistency, it is the
only spelling Python allows for a package name.
The 2026-07-28 era has no handshake. Instead of sending serverInfo once per
connection, the SDK stamps the identity into the _meta of every response,
and server/discover carries exactly one field beyond the capabilities:
instructions.
The SDK supplies none of these on its own — Server.server_info says so
outright: "An unversioned server reports an empty version; the SDK never
substitutes its own." Until 18 September 2026 this server passed none of them and
reported "version": "" on every call. That is now measured in
tests/test_server_identity.py, across both
eras and through real HTTP requests: a constructor argument that is set is not
yet a field on the wire.
Version, description and URL are derived, not written. A literal in the shipped
path would be a second truth next to pyproject.toml — the very drift
scripts/check_version_sync.py forbids for the version number.
Changelog
See CHANGELOG.md
Contributing
See CONTRIBUTING.md
Security
See SECURITY.md (Deutsch) for the security posture and how to report a vulnerability.
License
MIT License — see LICENSE
Author
Hayal Oezkan · malkreide
Credits & Related Projects
- SIK-ISEA: www.sik-isea.ch — Swiss Institute for Art Research
- Nationalmuseum: www.nationalmuseum.ch / opendata.swiss
- Nationalbibliothek: www.nb.admin.ch — Swiss National Library
- Protocol: Model Context Protocol — Anthropic / Linux Foundation
- Related: eth-library-mcp — ETH Library: full Swiss library coverage (ETH = science, NB = humanities)
- Related: fedlex-mcp — Cultural heritage law + primary legislation
- Related: zurich-opendata-mcp — Spatial-historical: museum objects + Zurich geodata
- 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,提交 18b45ff
工具
0版本歷史
2- v0.6.0最新Sep 19, 2026
- v0.5.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分