Skip to main content
ClaudeWave
cyanheads avatar
cyanheads

met-museum-mcp-server

Ver en GitHub

Search the Metropolitan Museum of Art collection, fetch full artwork records and open-access images via MCP. STDIO or Streamable HTTP.

MCP ServersRegistry oficial3 estrellas0 forksTypeScriptApache-2.0Actualizado today
ClaudeWave Trust Score
87/100
Trusted
Passed
  • Open-source license (Apache-2.0)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
Last scanned: 6/11/2026
Install in Claude Code / Claude Desktop
Method: Manual
Claude Code CLI
git clone https://github.com/cyanheads/met-museum-mcp-server
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "met-museum": {
      "command": "node",
      "args": ["/path/to/met-museum-mcp-server/dist/index.js"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Clone https://github.com/cyanheads/met-museum-mcp-server and follow its README for install instructions.
Casos de uso

Resumen de MCP Servers

<div align="center">
  <h1>@cyanheads/met-museum-mcp-server</h1>
  <p><b>Search the Metropolitan Museum of Art collection, fetch full artwork records and open-access images via MCP. STDIO or Streamable HTTP.</b>
  <div>3 Tools</div>
  </p>
</div>

<div align="center">

[![Version](https://img.shields.io/badge/Version-0.2.1-blue.svg?style=flat-square)](./CHANGELOG.md) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Docker](https://img.shields.io/badge/Docker-ghcr.io-2496ED?style=flat-square&logo=docker&logoColor=white)](https://github.com/users/cyanheads/packages/container/package/met-museum-mcp-server) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^1.29.0-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![npm](https://img.shields.io/npm/v/@cyanheads/met-museum-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/met-museum-mcp-server) [![TypeScript](https://img.shields.io/badge/TypeScript-^5.9.3-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.3.0-blueviolet.svg?style=flat-square)](https://bun.sh/)

</div>

<div align="center">

[![Install in Claude Desktop](https://img.shields.io/badge/Install_in-Claude_Desktop-D97757?style=for-the-badge&logo=anthropic&logoColor=white)](https://github.com/cyanheads/met-museum-mcp-server/releases/latest/download/met-museum-mcp-server.mcpb) [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=met-museum-mcp-server&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBjeWFuaGVhZHMvbWV0LW11c2V1bS1tY3Atc2VydmVyIl19) [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=for-the-badge&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode:mcp/install?%7B%22name%22%3A%22met-museum-mcp-server%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40cyanheads%2Fmet-museum-mcp-server%22%5D%7D)

[![Framework](https://img.shields.io/badge/Built%20on-@cyanheads/mcp--ts--core-67E8F9?style=flat-square)](https://www.npmjs.com/package/@cyanheads/mcp-ts-core)

</div>

<div align="center">

**Public Hosted Server:** [https://met-museum.caseyjhand.com/mcp](https://met-museum.caseyjhand.com/mcp)

</div>

---

## Tools

Three tools for browsing and fetching Metropolitan Museum of Art collection data:

| Tool | Description |
|:---|:---|
| `met_list_departments` | Return all 19 curatorial departments with their numeric IDs and display names |
| `met_search_collections` | Search the collection by keyword with filters for department, date range, medium, geography, on-view status, public-domain status, and highlight designation |
| `met_get_object` | Fetch full records for one or more object IDs — metadata, provenance, artist info, CC0 image URLs, tags, and Wikidata links |

### `met_list_departments`

Return the 19 curatorial departments at The Metropolitan Museum of Art with their numeric IDs and display names.

- Live fetch — remains accurate if the Met reorganizes
- Use before `met_search_collections` to discover valid `departmentId` values

---

### `met_search_collections`

Search the Met collection by keyword and optional filters.

- Keyword search across title, artist name, culture, medium, tags, and other text fields
- Filter by department ID (use `met_list_departments` to get valid IDs)
- Filter by date range (integer years, negative = BCE)
- Filter by medium/classification (e.g., `"Paintings"`, `"Sculptures"`, `"Ceramics"`) — maps to the classification field, not material descriptions
- Filter by geographic origin — country, region, or city; multiple values are AND-combined
- `isPublicDomain=true` restricts to CC0 open-access objects (guaranteed usable image URLs)
- `hasImages=true` includes any object with images (includes copyrighted works without reusable URLs)
- `isHighlight=true` restricts to collection highlights designated by the Met
- `isOnView=true` restricts to objects currently on display in a Met gallery
- Returns total match count, truncation indicator, and up to `limit` object IDs (default 20, max 500)
- Chain returned IDs to `met_get_object` in batches of up to 20

---

### `met_get_object`

Fetch full records for one or more Met Museum object IDs.

- Accepts 1–20 IDs per call; fetches run in parallel (concurrency-limited)
- Partial-success — a single 404 does not fail the whole batch; failed IDs are reported per-ID
- Full metadata: title, department, classification, medium, dimensions, date, culture, period, dynasty, accession number, credit line, gallery number
- Artist data: display name, biography, nationality, dates, Getty ULAN URL, Wikidata URL
- Constituents array for all associated persons (null for anonymous/unattributed works)
- Controlled vocabulary tags with Getty AAT and Wikidata URLs
- Canonical metmuseum.org URL for human follow-up
- CC0 objects return full-resolution and web-display image URLs plus additional image arrays
- Object-level Wikidata URL for enrichment via external knowledge graph tools

## Features

Built on [`@cyanheads/mcp-ts-core`](https://www.npmjs.com/package/@cyanheads/mcp-ts-core):

- Declarative tool definitions — single file per tool, framework handles registration and validation
- Unified error handling — handlers throw, framework catches, classifies, and formats
- Pluggable auth: `none`, `jwt`, `oauth`
- Swappable storage backends: `in-memory`, `filesystem`, `Supabase`, `Cloudflare KV/R2/D1`
- Structured logging with optional OpenTelemetry tracing
- STDIO and Streamable HTTP transports

Metropolitan Museum of Art collection:

- 500K+ artworks spanning 5,000 years from the Met's public collection API
- CC0 open-access data from [The Metropolitan Museum of Art](https://www.metmuseum.org/) — free to use without permission or attribution
- Parallel batch fetching with configurable concurrency for `met_get_object`
- Linked data on every object — Getty ULAN and AAT URLs, Wikidata entity URLs for artists, tags, and works

Agent-friendly output:

- Provenance on every record — `isPublicDomain` and `hasCC0Image` flags distinguish CC0 objects from works with inaccessible images, so agents can reason about what they can actually display
- Partial failure reporting — `met_get_object` returns `objects` and `failed` arrays so callers receive successful records alongside structured per-ID error context
- Truncation signaling — `met_search_collections` returns `total`, `returned`, and `truncated` fields so agents know when to refine filters or increase `limit`

## Getting started

### Public Hosted Instance

A public instance is available at `https://met-museum.caseyjhand.com/mcp` — no installation required. Point any MCP client at it via Streamable HTTP:

```json
{
  "mcpServers": {
    "met-museum-mcp-server": {
      "type": "streamable-http",
      "url": "https://met-museum.caseyjhand.com/mcp"
    }
  }
}
```

### Self-Hosted / Local

Add the following to your MCP client configuration file.

```json
{
  "mcpServers": {
    "met-museum-mcp-server": {
      "type": "stdio",
      "command": "bunx",
      "args": ["@cyanheads/met-museum-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}
```

Or with npx (no Bun required):

```json
{
  "mcpServers": {
    "met-museum-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@cyanheads/met-museum-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}
```

Or with Docker:

```json
{
  "mcpServers": {
    "met-museum-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "MCP_TRANSPORT_TYPE=stdio",
        "ghcr.io/cyanheads/met-museum-mcp-server:latest"
      ]
    }
  }
}
```

For Streamable HTTP, set the transport and start the server:

```sh
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
# Server listens at http://localhost:3010/mcp
```

### Prerequisites

- [Bun v1.3.0](https://bun.sh/) or higher (or Node.js v24+).
- No API key required — the Met Collection API is public and unauthenticated.

### Installation

1. **Clone the repository:**

```sh
git clone https://github.com/cyanheads/met-museum-mcp-server.git
```

2. **Navigate into the directory:**

```sh
cd met-museum-mcp-server
```

3. **Install dependencies:**

```sh
bun install
```

4. **Configure environment:**

```sh
cp .env.example .env
# edit .env as needed (all vars are optional)
```

## Configuration

All configuration is validated at startup via Zod schemas in `src/config/server-config.ts`.

| Variable | Description | Default |
|:---|:---|:---|
| `MCP_TRANSPORT_TYPE` | Transport: `stdio` or `http` | `stdio` |
| `MCP_HTTP_PORT` | HTTP server port | `3010` |
| `MCP_AUTH_MODE` | Authentication: `none`, `jwt`, or `oauth` | `none` |
| `MCP_LOG_LEVEL` | Log level (`debug`, `info`, `warning`, `error`) | `info` |
| `LOGS_DIR` | Directory for log files (Node.js only) | `<project-root>/logs` |
| `OTEL_ENABLED` | Enable OpenTelemetry instrumentation | `false` |
| `MET_BASE_URL` | Met Collection API base URL (override for local stubs) | `https://collectionapi.metmuseum.org/public/collection/v1` |
| `MET_REQUEST_TIMEOUT_MS` | Per-request HTTP timeout in milliseconds | `10000` |
| `MET_BATCH_CONCURRENCY` | Max parallel fetches in `met_get_object` | `5` |

See [`.env.example`](./.env.example) for the full list of optional overrides.

## Running the server

### Local development

- **Build and run:**

  ```sh
  # One-time build
  bun run rebuild

  # Run the built server
  bun run start:stdio
  # or
  bun run start:http
  ```

- **Run checks and tests:**

  ```sh
  bun run devcheck   # Lint, format, typecheck, security
  bun run test       # Vitest test suite
  bun run lint:mcp   # Validate MCP definit
ai-agentsartbuncultural-heritagemcpmcp-servermodel-context-protocolmuseumopen-accesstypescript

Lo que la gente pregunta sobre met-museum-mcp-server

¿Qué es cyanheads/met-museum-mcp-server?

+

cyanheads/met-museum-mcp-server es mcp servers para el ecosistema de Claude AI. Search the Metropolitan Museum of Art collection, fetch full artwork records and open-access images via MCP. STDIO or Streamable HTTP. Tiene 3 estrellas en GitHub y se actualizó por última vez today.

¿Cómo se instala met-museum-mcp-server?

+

Puedes instalar met-museum-mcp-server clonando el repositorio (https://github.com/cyanheads/met-museum-mcp-server) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar cyanheads/met-museum-mcp-server?

+

Nuestro agente de seguridad ha analizado cyanheads/met-museum-mcp-server y le ha asignado un Trust Score de 87/100 (tier: Trusted). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene cyanheads/met-museum-mcp-server?

+

cyanheads/met-museum-mcp-server es mantenido por cyanheads. La última actividad registrada en GitHub es de today, con 0 issues abiertos.

¿Hay alternativas a met-museum-mcp-server?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega met-museum-mcp-server en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: cyanheads/met-museum-mcp-server
[![Featured on ClaudeWave](https://claudewave.com/api/badge/cyanheads-met-museum-mcp-server)](https://claudewave.com/repo/cyanheads-met-museum-mcp-server)
<a href="https://claudewave.com/repo/cyanheads-met-museum-mcp-server"><img src="https://claudewave.com/api/badge/cyanheads-met-museum-mcp-server" alt="Featured on ClaudeWave: cyanheads/met-museum-mcp-server" width="320" height="64" /></a>

Más MCP Servers

Alternativas a met-museum-mcp-server