Back to Browse

Swiss Cultural Heritage MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Heritage inventories, monument lists, archaeological registers

About

Heritage inventories, monument lists, archaeological registers

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (64/66 approved).

4 files analyzed Β· 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-malkreide-swiss-cultural-heritage-mcp": {
      "args": [
        "swiss-cultural-heritage-mcp"
      ],
      "command": "uvx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub 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

πŸ‡©πŸ‡ͺ Deutsche Version


Overview

swiss-cultural-heritage-mcp provides AI-native access to Swiss cultural heritage data sources, all without authentication:

SourceDataAPI
SIK-ISEA (SIKART)~17,000 Swiss artists β€” SIKART biographical dataopendata.swiss CKAN
Nationalmuseum (SNM)Museum collections (numismatics, seals, special collections)opendata.swiss CKAN
Nationalbibliothek (NB)Swiss national bibliography (Helveticat)OAI-PMH
Memoriav / MemobaseAudiovisual heritage (photo, audio, video)Linked Open Data (JSON-LD / Hydra)
DodisDiplomatic 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

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

# 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):

  1. Push/fork the repository to GitHub
  2. On render.com: New Web Service β†’ connect GitHub repo
  3. Select region Frankfurt (EU) β€” required for Swiss public-sector use under revDSG / EDΓ–B. See docs/data-residency.md.
  4. Set start command: python -m swiss_cultural_heritage_mcp.server --http --port 8000
  5. 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)

ToolDescription
heritage_search_artistsSearch ~17,000 Swiss artists (SIKART) by name or place
heritage_get_artistFull artist profile by SIKART ID (HAUPTNR)

Nationalmuseum (SNM)

ToolDescription
heritage_search_museum_datasetsSearch SNM datasets on opendata.swiss
heritage_browse_collectionBrowse objects within a collection via CKAN DataStore

Nationalbibliothek (NB)

ToolDescription
heritage_search_helveticatSearch Swiss national bibliography via OAI-PMH
heritage_list_nb_collectionsList available OAI-PMH sets
heritage_get_publicationFull Dublin Core metadata for a publication

Cross-Source

ToolDescription
heritage_cross_searchParallel search across SIK-ISEA + SNM + NB

Memory institutions (Memobase + Dodis) β€” federated facade

ToolDescription
search_heritageFederated 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_itemFull metadata for one object (collection, item_id). Metadata + links only β€” protected full texts are never reproduced
list_heritage_collectionsDiscovery: which collections exist, their protocol, auth and licences β€” including the probed-but-not-connected sources (Bundesarchiv, Landesmuseum) and why

Example Use Cases

QueryTool
"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

SourceProtocolCoverageAuth
SIK-ISEA (SIKART)CKAN DataStore~17,000 Swiss artistsNone
NationalmuseumCKAN DataStoreMuseum collectionsNone
NationalbibliothekOAI-PMHSwiss national bibliographyNone
Memoriav / MemobaseLinked Open Data (JSON-LD / Hydra, RiC-O)Audiovisual heritage (~460k records)None
DodisJSON-REST (Solr) + stable permalinksDiplomatic documents, persons, organisationsNone

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:

SourceResultWhy
Memobaseβœ… connectedLinked-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βœ… connectedJSON-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 connectedThe 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 connectedsammlung.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.py rather than a tools/ 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 limit parameters 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"

# Lint and format, as CI runs them
ruff check src/ tests/ scripts/
ruff format --check src/ tests/ scripts/

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

ItemValue
SDKmcp[cli]>=2.0.0,<3 (pinned in pyproject.toml)
Served via the initialize handshake2024-11-05 … 2025-11-25 β€” the handshake ceiling
Served via the per-request envelope2026-07-28
Who picksThe client's first request, once per connection: a request carrying the 2026-07-28 _meta envelope opens a modern connection, anything else opens a handshake connection. A later claim from the other era is refused.
Update policyThe 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.

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.


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

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"
      ]
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!