StäDel Museum Server
БесплатноНе проверенThis server enables AI models to access the Städel Museum's digital collection via OAI-PMH, allowing harvesting of records, retrieval of multilingual metadata,
Описание
This server enables AI models to access the Städel Museum's digital collection via OAI-PMH, allowing harvesting of records, retrieval of multilingual metadata, and fetching of high-resolution images.
README
A Model Context Protocol server that gives AI assistants direct access to the Städel Museum Digital Collection. It talks to the museum's public OAI-PMH interface (LIDO metadata format), so an assistant can harvest object records, read rich multilingual metadata, and display high-resolution artwork images — with an interactive browsing UI (MCP Apps) on top.
This is a personal portfolio project built to demonstrate working with the Model Context Protocol, an OAI-PMH/LIDO harvesting API, and MCP Apps interactive UIs end-to-end — not an official Städel Museum product.
Features
| Tool | Description |
|---|---|
list-sets |
Lists the OAI-PMH sets (e.g. Masterpieces, Prints and Drawings) available to filter by. |
search-museum-objects |
Harvests object identifiers, filtered by set and/or a from/until date range, with pagination via resumptionToken. |
get-museum-object |
Resolves one object's full LIDO record into clean, normalized JSON — titles, artists, date, medium, dimensions, image, license — plus the image itself. |
open-staedel-explorer |
Opens an interactive MCP App UI for browsing and filtering the collection visually, in hosts that support it. |
Because the Städel exposes its collection through OAI-PMH (a harvesting protocol, not a search engine), there is no full-text keyword search — you filter by set and/or date range, then fetch full details per object. The tool descriptions make this explicit so the assistant doesn't assume Google-style search is available.
Architecture
src/
├── index.ts # entry point (stdio or --http)
├── server-utils.ts # transport wiring (stdio / Streamable HTTP)
├── StaedelServer.ts # registers tools + the explorer UI resource
├── api/
│ └── StaedelApiClient.ts # OAI-PMH client: fetch, retry, XML→JSON, error mapping
├── tools/
│ ├── ListSetsTool.ts
│ ├── SearchMuseumObjectsTool.ts
│ ├── GetObjectTool.ts # flattens raw LIDO XML into normalized metadata
│ └── OpenStaedelExplorerTool.ts
├── ui/
│ └── explorerResource.ts # builds the self-contained MCP App HTML for the explorer
├── types/types.ts # Zod schemas for tool inputs/outputs
└── utils/RateLimiter.ts # simple request-spacing limiter for the museum API
The get-museum-object tool does the interesting work: LIDO is a verbose, multilingual, deeply
nested XML format (via fast-xml-parser), and GetObjectTool flattens it into a small, stable
JSON shape — resolving xml:lang variants (preferring English, falling back to German), picking
the highest-resolution image link, and reading each object's actual rights statement instead of
assuming one blanket license.
Licensing & Attribution (important)
- Metadata harvested from the OAI-PMH interface is CC0 1.0 (public domain).
- Images are typically CC BY-SA 4.0 Städel Museum, Frankfurt am Main, though some objects
carry a different rights statement (e.g. Public Domain Mark) —
get-museum-objectreports the actual license for each object rather than hard-coding one. - Whenever an assistant displays or describes an image from this server, it should include the
credit line reported in the
licensefield.
Prerequisites
Installation
git clone https://github.com/topoftheblock/staedel-mcp.git
cd staedel-mcp
corepack enable
pnpm install
pnpm run build
Running
Stdio (used by Claude Desktop, Claude Code, and most MCP clients):
node dist/index.js
Streamable HTTP (for testing with clients that connect over HTTP):
node dist/index.js --http
# -> http://localhost:3001/mcp (override with PORT env var)
Add it to Claude Desktop / Claude Code
Add to your MCP client's config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"staedel-museum": {
"command": "node",
"args": ["/absolute/path/to/staedel-mcp/dist/index.js"]
}
}
}
Try it with the MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.js
Development
pnpm run watch # tsc --watch
pnpm run check # type-check without emitting
The server is a thin, dependency-light wrapper: StaedelApiClient owns all HTTP/XML concerns,
each tool class is a small, independently testable unit, and src/types/types.ts defines the Zod
schemas that make tool inputs/outputs self-documenting to the model.
Configuration
| Environment variable | Default | Purpose |
|---|---|---|
STAEDEL_API_TIMEOUT_MS |
10000 |
Per-request timeout to the Städel API. |
PORT |
3001 |
Port for --http mode. |
Reference
Установка StäDel Museum Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/topoftheblock/staedel-mcpFAQ
StäDel Museum Server MCP бесплатный?
Да, StäDel Museum Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для StäDel Museum Server?
Нет, StäDel Museum Server работает без API-ключей и переменных окружения.
StäDel Museum Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить StäDel Museum Server в Claude Desktop, Claude Code или Cursor?
Открой StäDel Museum Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare StäDel Museum Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
