๐จ๐ญ Part of the Swiss Public Data MCP Portfolio
๐๏ธ swiss-cultural-heritage-mcp
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:
| Source | Data | API |
|---|---|---|
| SIK-ISEA (SIKART) | ~17,000 Swiss artists โ SIKART biographical data | opendata.swiss CKAN |
| Nationalmuseum (SNM) | Museum collections (numismatics, seals, special collections) | opendata.swiss CKAN |
| Nationalbibliothek (NB) | Swiss national bibliography (Helveticat) | OAI-PMH |
| Memoriav / Memobase | Audiovisual heritage (photo, audio, video) | Linked Open Data (JSON-LD / Hydra) |
| Dodis | Diplomatic Documents of Switzerland (documents, persons, organisations) | JSON-REST (Solr) + permalinks |
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
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
# Clone the repository
git clone https://github.com/malkreide/swiss-cultural-heritage-mcp.git
cd swiss-cultural-heritage-mcp
# Install
pip install -e .
# or with uv:
uv pip install -e .
Or with uvx (no permanent installation):
uvx swiss-cultural-heritage-mcp
Quickstart
# stdio (for Claude Desktop)
python -m swiss_cultural_heritage_mcp.server
# Streamable HTTP (port 8000)
python -m swiss_cultural_heritage_mcp.server --http --port 8000
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):
{
"mcpServers": {
"swiss-cultural-heritage": {
"command": "python",
"args": ["-m", "swiss_cultural_heritage_mcp.server"]
}
}
}
Or with uvx:
{
"mcpServers": {
"swiss-cultural-heritage": {
"command": "uvx",
"args": ["swiss-cultural-heritage-mcp"]
}
}
}
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)
| Tool | Description |
|---|---|
heritage_search_artists |
Search ~17,000 Swiss artists (SIKART) by name or place |
heritage_get_artist |
Full artist profile by SIKART ID (HAUPTNR) |
Nationalmuseum (SNM)
| Tool | Description |
|---|---|
heritage_search_museum_datasets |
Search SNM datasets on opendata.swiss |
heritage_browse_collection |
Browse objects within a collection via CKAN DataStore |
Nationalbibliothek (NB)
| Tool | Description |
|---|---|
heritage_search_helveticat |
Search Swiss national bibliography via OAI-PMH |
heritage_list_nb_collections |
List available OAI-PMH sets |
heritage_get_publication |
Full Dublin Core metadata for a publication |
Cross-Source
| Tool | Description |
|---|---|
heritage_cross_search |
Parallel search across SIK-ISEA + SNM + NB |
Memory institutions (Memobase + Dodis) โ federated facade
| Tool | Description |
|---|---|
search_heritage |
Federated search over Memobase + Dodis (collection = memobase | dodis | all), with date_from / date_to / media_type filters. Every result carries source, permalink and a split metadata/digitised-object licence |
get_heritage_item |
Full metadata for one object (collection, item_id). Metadata + links only โ protected full texts are never reproduced |
list_heritage_collections |
Discovery: which collections exist, their protocol, auth and licences โ including the probed-but-not-connected sources (Bundesarchiv, Landesmuseum) and why |
Example Use Cases
| Query | Tool |
|---|---|
| "Who is Ferdinand Hodler?" | heritage_get_artist |
| "Find Swiss artists born in Basel" | heritage_search_artists |
| "What coins from Zurich does the Nationalmuseum have?" | heritage_browse_collection |
| "Find publications about Volksschule" | heritage_search_helveticat |
| "Search for everything about Sophie Taeuber-Arp" | heritage_cross_search |
| "Sources on the 19th-c. Zurich Volksschule in Swiss memory institutions" | search_heritage |
Architecture
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Claude / AI โโโโโโถโ Swiss Cultural Heritage MCP โโโโโโถโ SIK-ISEA โ
โ (MCP Host) โโโโโโโ (MCP Server) โโโโโโโ opendata.swiss / CKAN โ
โโโโโโโโโโโโโโโโโโโ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 11 Tools ยท 2 Resources โโโโโโถโ Nationalmuseum (SNM) โ
โ 2 Prompts โโโโโโโ opendata.swiss / CKAN โ
โ Stdio | SSE โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โโโโโโถโ Nationalbibliothek (NB) โ
โ No authentication required โโโโโโโ OAI-PMH (Helveticat) โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ search_heritage facade โโโโโโถโ Memobase (JSON-LD/Hydra)โ
โ โโโโโโโ Dodis (JSON-REST/Solr) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Data Source Characteristics
| Source | Protocol | Coverage | Auth |
|---|---|---|---|
| SIK-ISEA (SIKART) | CKAN DataStore | ~17,000 Swiss artists | None |
| Nationalmuseum | CKAN DataStore | Museum collections | None |
| Nationalbibliothek | OAI-PMH | Swiss national bibliography | None |
| Memoriav / Memobase | Linked Open Data (JSON-LD / Hydra, RiC-O) | Audiovisual heritage (~460k records) | None |
| Dodis | JSON-REST (Solr) + stable permalinks | Diplomatic documents, persons, organisations | None |
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:
| Source | Result | Why |
|---|---|---|
| Memobase | โ connected | Linked-Open-Data API (api.memobase.ch, JSON-LD/Hydra); full-text search via ?q=, single record via /record/<id>; pagination via offset/size. Metadata open; digitised objects carry per-object rightsstatements.org rights ("In Copyright", access "onsite"). |
| Dodis | โ connected | JSON-REST/Solr (beta.dodis.ch/api): search via POST /api/solr/query, item via GET /api/solr/full/<id>; stable permalinks dodis.ch/<id>. Metadata open (citation required); documents carry per-document rights (TEI/PDF behind the permalink). |
| Bundesarchiv | โ not connected | The recherche.bar.admin.ch backend (CMI AIS) sits behind eIAM login and Google reCAPTCHA โ not machine-accessible without emulating a session, which is fragile and against the operator's intent. |
| Landesmuseum | โ not connected | sammlung.nationalmuseum.ch has no public API (only an internal, undocumented Ajax/HTML surface) โ connecting it would require scraping, which violates the resilience guardrails. |
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
swiss-cultural-heritage-mcp/
โโโ src/swiss_cultural_heritage_mcp/
โ โโโ __init__.py # Package
โ โโโ server.py # 11 tools, 2 resources, 2 prompts
โโโ tests/
โ โโโ test_server.py # Unit + integration tests (mocked HTTP)
โโโ .github/workflows/ci.yml # GitHub Actions (Python 3.11/3.12/3.13)
โโโ .github/dependabot.yml # Monthly dependency + SDK update PRs
โโโ Dockerfile # Multi-stage, non-root, HEALTHCHECK
โโโ docs/ # security, network-egress, scaling, data-residency, roadmap
โโโ pyproject.toml
โโโ CHANGELOG.md
โโโ CONTRIBUTING.md
โโโ LICENSE
โโโ README.md # This file (English)
โโโ README.de.md # German version
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: The opendata.swiss and OAI-PMH endpoints are not rate-limit-documented; use
limitparameters 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 OAI-PMH. All data is published under open licenses (CC0 / CC BY).
- 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: OAI-PMH harvesting is rate-limited; large result sets require pagination
- Cross-search: Response time depends on the slowest of the three sources
Testing
# Unit tests (no API key required)
PYTHONPATH=src pytest tests/ -m "not live"
# Integration tests (live API calls)
pytest tests/ -m "live"
MCP Protocol Version
| Item | Value |
|---|---|
| Supported MCP protocol version | 2025-11-25 (negotiated by the SDK) |
| SDK | mcp[cli] >=1.0.0,<2.0.0 (pinned in pyproject.toml) |
| Update policy | The SDK pin is the source of truth for the protocol version. Dependabot opens monthly mcp update PRs; protocol-version bumps are reviewed there and recorded in CHANGELOG.md. |
The official mcp SDK negotiates the protocol version during initialize; this server does not override it. Pin the SDK (not a hand-rolled version string) to control which protocol version is spoken.
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):
{
"mcpServers": {
"swiss-cultural-heritage-mcp": {
"command": "uvx",
"args": [
"swiss-cultural-heritage-mcp"
]
}
}
}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swiss_cultural_heritage_mcp-0.5.0.tar.gz.
File metadata
- Download URL: swiss_cultural_heritage_mcp-0.5.0.tar.gz
- Upload date:
- Size: 153.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54d72e4bdeef9bd1d1ae86d92019121f0e246007ad4ff50ba406f94410d300dd
|
|
| MD5 |
d67dd47033b010b944c560d2c0b8ea67
|
|
| BLAKE2b-256 |
05a76dc43edfe45426f2cfa33f381b6ba6c8d476fe73babb17bf4fdd443e68ca
|
Provenance
The following attestation bundles were made for swiss_cultural_heritage_mcp-0.5.0.tar.gz:
Publisher:
publish.yml on malkreide/swiss-cultural-heritage-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swiss_cultural_heritage_mcp-0.5.0.tar.gz -
Subject digest:
54d72e4bdeef9bd1d1ae86d92019121f0e246007ad4ff50ba406f94410d300dd - Sigstore transparency entry: 2306242492
- Sigstore integration time:
-
Permalink:
malkreide/swiss-cultural-heritage-mcp@c26edc5a1f3b139ee78c04ea835db902cb9730df -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/malkreide
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c26edc5a1f3b139ee78c04ea835db902cb9730df -
Trigger Event:
release
-
Statement type:
File details
Details for the file swiss_cultural_heritage_mcp-0.5.0-py3-none-any.whl.
File metadata
- Download URL: swiss_cultural_heritage_mcp-0.5.0-py3-none-any.whl
- Upload date:
- Size: 43.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89e1c216cc2c4163be95c04ad44f91466804ff6f3f73016bb2d426288aa379ef
|
|
| MD5 |
5072d1134a747624589f4ce70d032a3c
|
|
| BLAKE2b-256 |
2e70c8289dd44591191b0a5c258690392b62d460946cfae70c59e3fb10016c22
|
Provenance
The following attestation bundles were made for swiss_cultural_heritage_mcp-0.5.0-py3-none-any.whl:
Publisher:
publish.yml on malkreide/swiss-cultural-heritage-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swiss_cultural_heritage_mcp-0.5.0-py3-none-any.whl -
Subject digest:
89e1c216cc2c4163be95c04ad44f91466804ff6f3f73016bb2d426288aa379ef - Sigstore transparency entry: 2306242692
- Sigstore integration time:
-
Permalink:
malkreide/swiss-cultural-heritage-mcp@c26edc5a1f3b139ee78c04ea835db902cb9730df -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/malkreide
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c26edc5a1f3b139ee78c04ea835db902cb9730df -
Trigger Event:
release
-
Statement type: