Skip to main content

MCP Server for Swiss Cultural Heritage Data (BAK) โ€” ISOS, Cultural Prizes, Living Traditions

Project description

๐Ÿ‡จ๐Ÿ‡ญ Part of the Swiss Public Data MCP Portfolio

๐Ÿ›๏ธ swiss-culture-mcp

Version License: MIT Python 3.11+ MCP Data Source

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.

๐Ÿ‡ฉ๐Ÿ‡ช Deutsche Version


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
# Tool Description
1 bak_search_isos Search ISOS townscapes by place name
2 bak_isos_by_kanton List all ISOS objects in a canton
3 bak_get_isos_detail Get full details of an ISOS object
4 bak_isos_by_kategorie Filter ISOS by settlement type (Stadt, Dorf, etc.)
5 bak_isos_statistics ISOS inventory statistics (sampled by canton)
6 bak_get_news Current BAK press releases
7 bak_get_kulturpreise Swiss cultural prizes (Film Prize, Grand Prix Literature, etc.)
8 bak_get_opendata BAK datasets on opendata.swiss
9 bak_list_traditions List Switzerland's Living Traditions
10 bak_get_tradition_detail Get detailed description of a tradition

3 Resources: bak://isos/kantone ยท bak://isos/kategorien ยท bak://kulturpreise/uebersicht


Data Sources

Source API Type Content
geo.admin.ch REST MapServer ISOS (Federal Inventory of Swiss Townscapes)
news.admin.ch RSS Feed BAK press releases, cultural prizes
opendata.swiss CKAN REST API BAK open data datasets
lebendige-traditionen.ch HTML Fetch 228 entries of intangible cultural heritage

Prerequisites

  • Python 3.11+
  • uv or pip
  • No API keys required

Installation

# Recommended: uvx (no install step needed)
uvx swiss-culture-mcp

# Alternative: pip
pip install swiss-culture-mcp

Quickstart

# Start the server (stdio mode for Claude Desktop)
uvx swiss-culture-mcp

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

Variable Default Description
MCP_TRANSPORT stdio Transport: stdio or streamable_http
MCP_PORT 8000 Port for HTTP transport

Claude Desktop Configuration

{
  "mcpServers": {
    "swiss-culture": {
      "command": "uvx",
      "args": ["swiss-culture-mcp"]
    }
  }
}

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

Render.com (recommended):

  1. Push/fork the repository to GitHub
  2. On render.com: New Web Service โ†’ connect GitHub repo
  3. Set environment variables in the Render dashboard
  4. In claude.ai under Settings โ†’ MCP Servers, add: https://your-app.onrender.com/mcp
# Docker / local HTTP mode
MCP_TRANSPORT=streamable_http MCP_PORT=8000 python -m swiss_culture_mcp.server

Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   Claude / AI   โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚   Swiss Culture MCP      โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  geo.admin.ch REST       โ”‚
โ”‚   (MCP Host)    โ”‚โ—€โ”€โ”€โ”€โ”€โ”‚   (MCP Server)           โ”‚โ—€โ”€โ”€โ”€โ”€โ”‚  news.admin.ch RSS       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ”‚                          โ”‚     โ”‚  opendata.swiss CKAN     โ”‚
                        โ”‚  10 Tools ยท 3 Resources  โ”‚     โ”‚  lebendige-traditionen   โ”‚
                        โ”‚  Stdio | Streamable HTTP  โ”‚     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Project Structure

swiss-culture-mcp/
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ swiss_culture_mcp/
โ”‚       โ”œโ”€โ”€ __init__.py
โ”‚       โ””โ”€โ”€ server.py          # All 10 tools, 3 resources
โ”œโ”€โ”€ tests/
โ”‚   โ”œโ”€โ”€ conftest.py            # pytest configuration
โ”‚   โ””โ”€โ”€ test_server.py         # 36 tests (unit + live)
โ”œโ”€โ”€ pyproject.toml
โ”œโ”€โ”€ CHANGELOG.md
โ”œโ”€โ”€ CONTRIBUTING.md
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ README.md                  # This file (English)
โ””โ”€โ”€ README.de.md               # German version

Testing

# Unit tests (no API key required)
PYTHONPATH=src pytest tests/ -m "not live"

# Integration tests (live API calls)
PYTHONPATH=src pytest tests/ -m "live"

Example Use Cases

Schools / Education

"Which protected townscapes are there in the school districts of the city of Zurich?"
โ†’ bak_isos_by_kanton(kanton="ZH") + bak_get_isos_detail(...)

"Find living traditions for a project week on the theme of cultural heritage"
โ†’ bak_list_traditions() + bak_get_tradition_detail(slug="...")

"Which UNESCO World Heritage Sites are also in ISOS?"
โ†’ bak_search_isos(query="...") + bak_get_opendata(query="UNESCO")

City Administration / Spatial Planning

"Is the building at address X within an ISOS perimeter?"
โ†’ bak_search_isos(query="community/place name")

"Which BAK datasets are available for GIS integration?"
โ†’ bak_get_opendata() โ†’ WMS/WFS URLs for GIS software

AI Working Group / Demos

"Show current cultural policy of the federal government"
โ†’ bak_get_news() + bak_get_kulturpreise()

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

Synergies with Other MCP Servers

swiss-culture-mcp can be combined with other servers in the portfolio:

Combination Use Case
+ swiss-transport-mcp Cultural tourism: day trips to traditions by public transport
+ zurich-opendata-mcp Local cultural atlas: ISOS + Zurich city events
+ global-education-mcp Cultural education in international comparison
+ fedlex-mcp Cultural property transfer act + BAK enforcement practice
+ swiss-statistics-mcp Cultural expenditure by canton (BFS data)

Changelog

See CHANGELOG.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_culture_mcp-1.0.0.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

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

swiss_culture_mcp-1.0.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file swiss_culture_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: swiss_culture_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swiss_culture_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 58c45fcd84512ab5d4e26c62bb2c612e8210a3da8d9437f24710d9846ae53f2c
MD5 511894d769dda4117f89f5164c4301bb
BLAKE2b-256 0563744ee335cb8d84b12973aa06a81dcaf9793e498107f5857767e26f267403

See more details on using hashes here.

Provenance

The following attestation bundles were made for swiss_culture_mcp-1.0.0.tar.gz:

Publisher: publish.yml on malkreide/swiss-culture-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_culture_mcp-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for swiss_culture_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f36007074903e0f6af5255fe381c6a1f9f618c9770e641f64eeb2649ab12d298
MD5 c919c61563b095f1fbe941b07a2850af
BLAKE2b-256 9c5dbb30978394649142e01234ba43f7bc00d48914025866ee1234cd013fa10f

See more details on using hashes here.

Provenance

The following attestation bundles were made for swiss_culture_mcp-1.0.0-py3-none-any.whl:

Publisher: publish.yml on malkreide/swiss-culture-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