met-museum-mcp-server MCP Server
Search the Met collection, browse by department or update date, fetch full records and CC0 images.
met-museum-mcp-server scores 72 (Good), licensed Apache-2.0 and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 5 tools. Filed under Search. GitHub shows 5 stars. Package registries report about 594 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
72 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade B
79/100 for listing completeness. Lost points: 4 of 5 tools barely described, short summary.
How quality is graded
Where the 72 comes from
22 + 20 + 6 + 10 + 4 + 10 = 72. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 6 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cyanheads-met-museum-mcp-server": { "command": "npx", "args": [ "-y", "@cyanheads/met-museum-mcp-server@0.10.1" ], "env": { "MCP_LOG_LEVEL": "info" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
MCP_TRANSPORT_TYPE | Optional | Selects the HTTP transport. |
MCP_HTTP_HOST | Optional | The hostname for the HTTP server. |
MCP_HTTP_PORT | Optional | The port to run the HTTP server on. |
MCP_HTTP_ENDPOINT_PATH | Optional | The endpoint path for the MCP server. |
MCP_SESSION_MODE | Optional | HTTP session mode: auto, stateful, or stateless. This server explicitly sets stateless; the framework schema default is auto. |
MCP_AUTH_MODE | Optional | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
Tools5Tool docs quality grade F
All capabilitiesctx.logtoolrequest-scoped logging, ctx.state for tenant-scoped storage
met_get_objecttool<sub>tool</sub>
<sub>tool</sub>
met_list_objectstool<sub>tool</sub>
<sub>tool</sub>
About
Public Hosted Server: https://met-museum.caseyjhand.com/mcp
Overview
The Metropolitan Museum of Art's collection of 500,000+ works spanning 5,000 years. Search by keyword and filters, browse by department, and fetch full object records with provenance and CC0 open-access images.
Tools
| 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, optionally matched in titles, tags, or artists and cultures only, with filters for department, date range, object type, geography, image availability, on-view status, and highlight designation |
met_list_objects | List every object ID in a department, every object created or revised since a date, or both, without a keyword |
met_get_object | Fetch full records for one or more object IDs — metadata, provenance, artist info, CC0 image URLs, tags, and Wikidata links — optionally with up to 3 CC0 images as image content |
Capability reference
met_list_departments tool
- No input; returns all 19 curatorial departments, each a numeric
departmentIdwith itsdisplayName(e.g., "Egyptian Art") departmentIdvalues are the valid input for thedepartmentIdfilter onmet_search_collectionsandmet_list_objects- Typed errors:
upstream_blocked,upstream_unavailable(the Met answered 500/502/503/504 through every retry),upstream_rate_limited(the Met answered 429), andretry_deadline_exceeded(the call's time budget ran out)
met_search_collections tool
- Keyword
q(required), matched across all text fields unlessmatchFieldnarrows it to"title","tags", or"artistOrCulture"(the attributed artist or the culture);"*"matches everything, for a search by filters alone. Filters:departmentId,medium(one object type, case-sensitive, e.g."Paintings"; one object can match several, so counts split bymediumcan overlap),dateBegin/dateEnd(integer years, negative = BCE, set together; an object matches only when its whole date span lies inside the window), onegeoLocation(a whole place, case-sensitive, e.g."Greece"),hasImages,isOnView, andisHighlight(trueonly) - Up to 500 IDs per page (default 20), paged by
offset/nextOffsetthrough the first 10,000 matches;totalreports the full count.departmentId7 (The Cloisters) and 17 (Medieval Art) share one result set at the Met, so a page can hold fewer thanlimitIDs, which anoticeflags - Zero matches is a result with a
notice, not an error; every result echoes the applied query aseffectiveQuery. Typed errors:invalid_date_range,invalid_filter(a blankq,medium, orgeoLocation),invalid_department,upstream_blocked,upstream_unavailable,upstream_rate_limited,retry_deadline_exceeded
met_list_objects tool
- Filters
departmentId(frommet_list_departments) andupdatedSince(YYYY-MM-DD, records created or revised on or after that day), alone or together; with neither, the whole collection (over 500,000 IDs). Up to 500 IDs per page (default 20) in ascending order, paged byoffset/nextOffsetwith no depth limit - An empty list is a result with a
notice, not an error; every result echoes the applied filters aseffectiveQuery. Typed errors:invalid_department,invalid_date(an impossible date such as2026-02-30),upstream_blocked,upstream_unavailable,upstream_rate_limited,retry_deadline_exceeded - Lists are cached for up to an hour, so a record revised in the last hour may not appear yet
met_get_object tool
- Fetches 20 distinct IDs per call, from
met_search_collectionsormet_list_objects; a list of up to 500 is accepted, and the IDs past the first 20 come back inremainingIDs. The index can list IDs the Met no longer serves, so drop an ID that 404s - Partial success: per-ID errors land in
failed[], and the call fails only when every ID does (all_not_found,upstream_blocked,upstream_rate_limited,retry_deadline_exceeded,upstream_unavailable, orall_failed) - Non-public-domain objects (
isPublicDomain/hasCC0Image) return emptyprimaryImage,primaryImageSmall, andadditionalImages.includeImages: trueattaches the CC0 image (about 600 px) of the first 3 records that have one as image content incontent[]only, with each record's outcome inimages[]
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
Met Museum-specific:
- 500K+ artworks spanning 5,000 years from the Met's public collection API
- CC0 open-access data from The Metropolitan Museum of Art — 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
- Met API failures surface on every tool as typed errors (
upstream_blockedfor a 403 firewall block,upstream_unavailablefor 5xx,upstream_rate_limitedfor 429), never as the Met's raw error page met_get_objectstops requesting the rest of a batch once the Met is blocking, down, or throttling, so a bad batch costs only a few requests
Agent-friendly output:
- Provenance on every record:
isPublicDomainandhasCC0Imageflags show which images can be displayed - Partial failure reporting:
met_get_objectreturnsobjectsandfailedarrays, so successes arrive alongside per-ID errors - Truncation signaling:
met_search_collectionsandmet_list_objectsreturntotal,returned,truncated,remaining,nextOffset, and the resolvedoffset - Published agent skill:
met-museum-guide(skill://met-museum-guide/SKILL.md) carries the checks for fetch budgets, attributions, date windows, searches past 10,000 matches, andgeoLocationmatches
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:
{
"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.
{
"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):
{
"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:
{
"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:
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
# Server listens at http://localhost:3010/mcp
Prerequisites
- Bun v1.4.4 or higher (or Node.js v24+).
- No API key required — the Met Collection API is public and unauthenticated.
Installation
- Clone the repository:
git clone https://github.com/cyanheads/met-museum-mcp-server.git
- Navigate into the directory:
cd met-museum-mcp-server
- Install dependencies:
bun install
- Configure environment:
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_SESSION_MODE | HTTP session mode: auto, stateful, or stateless | stateless |
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 |
LOG_TOOL_FAILURE_PAYLOADS | Log each failed tool call's arguments and result, redacted by key name and capped at LOG_TOOL_FAILURE_PAYLOAD_MAX_BYTES (default 16384). A secret inside a free-form value is not redacted. | false |
OTEL_ENABLED | Enable OpenTelemetry instrumentation | false |
MET_BASE_URL | Met Collection API root; override for local stubs | https://collectionapi.metmuseum.org/public/collection |
MET_REQUEST_TIMEOUT_MS | Per-request HTTP timeout in milliseconds | 10000 |
MET_CALL_DEADLINE_MS | Time budget in milliseconds for one tool call, retries included; exceeding it fails with retry_deadline_exceeded | 30000 |
MET_BATCH_CONCURRENCY | Max parallel fetches in met_get_object | 5 |
MET_CLAMP_LIMITS | Read a limit above 500 on met_search_collections and met_list_objects as a 500-ID page, with a notice, instead of rejecting it; false makes 500 the schema maximum | true |
See .env.example for the full list of optional overrides.
Running the server
Local development
-
Build and run:
# One-time build bun run rebuild # Run the built server bun run start:stdio # or bun run start:http -
Run checks and tests:
bun run devcheck # Lint, format, typecheck, security bun run test # Vitest test suite bun run lint:mcp # Validate MCP definitions against spec
Docker
docker build -t met-museum-mcp-server .
docker run --rm -p 3010:3010 met-museum-mcp-server
The Dockerfile defaults to HTTP transport, stateless session mode, and logs to /var/log/met-museum-mcp-server. OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.
Project structure
| Directory | Purpose |
|---|---|
src/index.ts | createApp() entry point — registers tools and inits the Met service. |
src/config | Server-specific environment variable parsing and validation with Zod. |
src/mcp-server/tools | Tool definitions (*.tool.ts) — met_list_departments, met_search_collections, met_list_objects, met_get_object. |
src/services/met | Met Collection API client — HTTP, call deadline, response normalization, cached object-ID lists. |
tests/ | Unit and integration tests mirroring src/. |
Development guide
See CLAUDE.md for development guidelines and architectural rules. The short version:
- Handlers throw, framework catches — no
try/catchin tool logic - Use
ctx.logfor request-scoped logging,ctx.statefor tenant-scoped storage - Register new tools via the arrays in
createApp()insrc/index.ts - Wrap external API calls: validate raw → normalize to domain type → return output schema; never fabricate missing fields
Contributing
Issues are welcome. Run checks and tests before submitting:
bun run devcheck
bun run test
Data attribution
Data from The Metropolitan Museum of Art Collection API (CC0).
License
Apache-2.0 — see LICENSE for details.
Frequently asked questions
What is met-museum-mcp-server MCP Server?
Search the Met collection, browse by department or update date, fetch full records and CC0 images.
How do I install met-museum-mcp-server MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. met-museum-mcp-server MCP Server runs locally from the npm package @cyanheads/met-museum-mcp-server with the command npx -y @cyanheads/met-museum-mcp-server@0.10.1.
Is met-museum-mcp-server MCP Server free and open source?
Yes. met-museum-mcp-server MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does met-museum-mcp-server MCP Server support remote (HTTP) connections?
Yes. met-museum-mcp-server MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does met-museum-mcp-server MCP Server provide?
met-museum-mcp-server MCP Server provides 5 tools, including ctx.log, met_get_object, met_list_departments, and met_list_objects. See the full tool list for descriptions and parameters.
How is met-museum-mcp-server MCP Server's trust score calculated?
met-museum-mcp-server MCP Server scores 72 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.