Skip to main content

MCP Server for Swiss cultural heritage data โ€” SIK-ISEA, Nationalmuseum, Nationalbibliothek

Project description

๐Ÿ‡จ๐Ÿ‡ญ 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 three major Swiss cultural heritage data sources, all without authentication:

Source Data API
SIK-ISEA 50,000+ Swiss artists (biographies, techniques, cantons) REST/CSV
Nationalmuseum (SNM) Museum collections (numismatics, seals, special collections) opendata.swiss CKAN
Nationalbibliothek (NB) Swiss national bibliography (Helveticat) OAI-PMH

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.

Anchor demo query: "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."

Demo

Demo: Claude using heritage_cross_search


Features

  • ๐Ÿ›๏ธ 9 tools, 2 resources, 2 prompts across three data sources
  • ๐Ÿ” heritage_cross_search โ€” parallel search across all three sources in a single call
  • ๐ŸŒ 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

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.


Available Tools

SIK-ISEA (Swiss Art Research)

Tool Description
heritage_search_artists Search 50,000+ Swiss artists by name, region, period, technique
heritage_get_artist Full artist profile by SIK-ISEA ID

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

Example Use Cases

Query Tool
"Who is Ferdinand Hodler?" heritage_get_artist
"Find 19th-century painters from canton Bern" 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

Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   Claude / AI   โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  Swiss Cultural Heritage MCP  โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  SIK-ISEA                โ”‚
โ”‚   (MCP Host)    โ”‚โ—€โ”€โ”€โ”€โ”€โ”‚  (MCP Server)                โ”‚โ—€โ”€โ”€โ”€โ”€โ”‚  REST/CSV                โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ”‚                              โ”‚     โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
                        โ”‚  9 Tools ยท 2 Resources       โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  Nationalmuseum (SNM)    โ”‚
                        โ”‚  2 Prompts                   โ”‚โ—€โ”€โ”€โ”€โ”€โ”‚  opendata.swiss / CKAN   โ”‚
                        โ”‚  Stdio | SSE                 โ”‚     โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
                        โ”‚                              โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  Nationalbibliothek (NB) โ”‚
                        โ”‚  No authentication required  โ”‚โ—€โ”€โ”€โ”€โ”€โ”‚  OAI-PMH (Helveticat)    โ”‚
                        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Data Source Characteristics

Source Protocol Coverage Auth
SIK-ISEA REST/CSV 50,000+ Swiss artists None
Nationalmuseum CKAN DataStore Museum collections None
Nationalbibliothek OAI-PMH Swiss national bibliography None

Project Structure

swiss-cultural-heritage-mcp/
โ”œโ”€โ”€ src/swiss_cultural_heritage_mcp/
โ”‚   โ”œโ”€โ”€ __init__.py              # Package
โ”‚   โ””โ”€โ”€ server.py                # 9 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)
โ”œโ”€โ”€ pyproject.toml
โ”œโ”€โ”€ CHANGELOG.md
โ”œโ”€โ”€ CONTRIBUTING.md
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ README.md                    # This file (English)
โ””โ”€โ”€ README.de.md                 # German version

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: SIK-ISEA 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"

Changelog

See CHANGELOG.md


Contributing

See CONTRIBUTING.md


License

MIT License โ€” see LICENSE


Author

Hayal Oezkan ยท malkreide


Credits & Related Projects

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swiss_cultural_heritage_mcp-0.2.0.tar.gz (49.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swiss_cultural_heritage_mcp-0.2.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file swiss_cultural_heritage_mcp-0.2.0.tar.gz.

File metadata

File hashes

Hashes for swiss_cultural_heritage_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0acc1d56548174a9b5e53f8878c9b8e10eca51f9c48bf2456b96c961ccc05852
MD5 b26ba9ec21453e7202b44d73faf3b3ce
BLAKE2b-256 5efe9f80e06aab974590f5a94c3089c276e7fb043ab74e101aee1c7f755e1f69

See more details on using hashes here.

Provenance

The following attestation bundles were made for swiss_cultural_heritage_mcp-0.2.0.tar.gz:

Publisher: publish.yml on malkreide/swiss-cultural-heritage-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swiss_cultural_heritage_mcp-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for swiss_cultural_heritage_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 822c80c2755afa2e0c1ea28b78282072b64beb02789186b350c6baa11daa6ab3
MD5 f3f4d5b6dd2b508cb0aa56645ec309ec
BLAKE2b-256 71a76457f854282dd15aef2fdc75289be2e97b49ead986bb8fb4abf67e539931

See more details on using hashes here.

Provenance

The following attestation bundles were made for swiss_cultural_heritage_mcp-0.2.0-py3-none-any.whl:

Publisher: publish.yml on malkreide/swiss-cultural-heritage-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page