Met Museum Server
平台与服务by mikechao
通过自然语言访问 Metropolitan Museum of Art 馆藏,可搜索艺术品、获取详细信息,并轻松探索各部门资源,增强 AI 的艺术数据能力。
什么是 Met Museum Server?
通过自然语言访问 Metropolitan Museum of Art 馆藏,可搜索艺术品、获取详细信息,并轻松探索各部门资源,增强 AI 的艺术数据能力。
核心功能 (3 个工具)
list-departmentsList all departments in the Metropolitan Museum of Art (Met Museum)
search-museum-objectsSearch for objects in the Metropolitan Museum of Art (Met Museum). Will return Total objects found, followed by a list of Object Ids.The parameter title should be set to true if you want to search for objects by title.The parameter hasImages is false by default, but can be set to true to return objects without images.If the parameter hasImages is true, the parameter title should be false.
get-museum-objectGet a museum object by its ID, from the Metropolitan Museum of Art Collection
README
Met Museum MCP Server
A Model Context Protocol (MCP) server that provides access to the Metropolitan Museum of Art Collection through natural language interactions. This server allows AI models to search The Met's art collection and retrieve artwork details (including images) via tool results.
<a href="https://glama.ai/mcp/servers/@mikechao/metmuseum-mcp"><img width="380" height="200" src="https://glama.ai/mcp/servers/@mikechao/metmuseum-mcp/badge" alt="Met Museum MCP Server" /></a>
Table of Contents
- Features
- MCP Apps
- Prerequisites
- Quick Start
- Configuration
- Transports
- Usage with ChatGPT
- Usage with Claude Desktop
- Usage with LibreChat
- Example Queries
- Development
- Contributing
- License
- Disclaimer
Hosted deployment
A hosted deployment is available on Fronteir AI.
Features
This server provides AI models the following tools to interact with the art collection of The Met:
1. List Departments (list-departments)
Lists all the valid departments at The Met
- Inputs:
- None
- Output:
code
Department ID: 1, Display Name: American Decorative Arts Department ID: 3, Display Name: Ancient Near Eastern Art ...
2. Search Museum Objects (search-museum-objects)
Search for various objects in The Met based on the inputs.
-
Inputs:
q(string): The search term e.g. sunflowershasImages(boolean, optional, default: false): Only search for objects with imagestitle(boolean, optional, default: false): Returns objects that match the query, specifically searching against the title field for objects.departmentId(number, optional): Returns objects that are a part of a specific department.page(number, optional, default: 1): 1-based page number for results.pageSize(number, optional, default: 24): Number of Object IDs per page (max 100).
-
Outputs:
codeTotal objects found: 54 Page: 1/3 Object IDs: 436532, 789578, 436840, 438722,...
3. Get Museum Object (get-museum-object)
Get a specific object from The Met containing all open access data about that object, including its image (if the image is available under Open Access).
If there is an image and returnImage is true, it is returned as an image content block in the tool result (base64-encoded JPEG).
Use this tool when the user asks for deeper details on a specific artwork and you already have an objectId.
- Inputs:
objectId(number): The id of the object to retrievereturnImage(boolean, optional, default: true): Whether to include the object's image (if available) in the tool result
- Outputs:
If returnImage is truecode
Title: Self-Portrait with a Straw Hat (obverse: The Potato Peeler) Artist: Vincent van Gogh Artist Bio: Dutch, Zundert 1853–1890 Auvers-sur-Oise Department: European Paintings Credit Line: Bequest of Miss Adelaide Milton de Groot (1876-1967), 1967 Medium: Oil on canvas Dimensions: 16 x 12 1/2 in. (40.6 x 31.8 cm) Primary Image URL: https://images.metmuseum.org/CRDImages/ep/original/DT1502_cropped2.jpg Tags: Men, Self-portraitscode**base64 encoding of jpeg image**
4. Open Met Explorer App (open-met-explorer)
Launches an interactive MCP App (ui://met/explorer.html) that can search, filter, and inspect objects from within MCP clients that support Apps.
Recommended flow:
-
Use
open-met-explorerto launch and browse live search results (passqto start searching immediately). -
After creating a curated list from current results, use
get-museum-objectonly for items the user wants to explore in depth. -
Inputs (all optional):
q(string): Initial search term.hasImages(boolean, default: true): Prefer objects with images.title(boolean, default: false): Search titles only.departmentId(number): Pre-select a department filter.
-
Output:
codeOpens the Met Explorer app in the client UI.
MCP Apps
<p align="center"> <a href="https://www.youtube.com/watch?v=kFxVjg-TYhM"> <img src="https://img.youtube.com/vi/kFxVjg-TYhM/maxresdefault.jpg" alt="Watch the demo" width="80%"> </a> <br> <a href="https://www.youtube.com/watch?v=kFxVjg-TYhM"><em>▶️ Click to watch the demo video</em></a> </p>There are now MCP Apps in this MCP Server. There is a UI component for the Open Met Explorer App tool and the Get Museum Object tool.
Prerequisites
- Node.js v18 or later
Quick Start
Run the server directly with npx — no install required:
npx -y metmuseum-mcp
This starts the server using stdio transport, which is what most MCP desktop clients expect.
For client-specific setup, see:
- Usage with Claude Desktop
- Usage with ChatGPT (requires Streamable HTTP transport)
- Usage with LibreChat
Configuration
The following environment variable applies to all transports:
| Variable | Default | Description |
|---|---|---|
MET_API_TIMEOUT_MS | 10000 | Timeout in milliseconds for outbound requests to the Met Collection API. |
MET_API_DEBUG | false | Enables debug logging to stderr for schema validation failures (accepted truthy values: 1, true, yes, on). |
Transports
This server supports two transports:
- Stdio transport (default): Used by MCP desktop clients (Claude Desktop, LibreChat MCP, etc.).
- Streamable HTTP transport: Run with
--httpto expose an MCP endpoint at/mcp.
Streamable HTTP Transport
Run with npx (recommended for end users):
npx -y metmuseum-mcp --http
Or run from a local clone:
pnpm run build
node dist/index.js --http
The server listens on:
http://localhost:3001/mcp
You can control HTTP server behavior with environment variables:
| Variable | Default | Description |
|---|---|---|
PORT | 3001 | HTTP port used by the Streamable HTTP server. |
HOST | 127.0.0.1 | Network interface the HTTP server binds to. |
ALLOWED_HOSTS | localhost,127.0.0.1 | Comma-separated host allowlist for host header validation (example: localhost,127.0.0.1,my-domain.com). |
Example:
HOST=127.0.0.1 PORT=8080 ALLOWED_HOSTS=localhost,127.0.0.1 npx -y metmuseum-mcp --http
Usage with ChatGPT
The following steps allow you to use Met Museum MCP with the web UI of ChatGPT
1. Enable Developer Mode in ChatGPT
Settings → Apps → Advanced settings → Developer mode
Additional instructions here
2. Run the Met Museum MCP Server with Streamable HTTP Transport
npx -y metmuseum-mcp --http
By default the server will be listening on http://127.0.0.1:3001/mcp
3. Create a local tunnel to expose the MCP Server to ChatGPT
Sign up and configure ngrok, the free plan works.
ngrok http http://127.0.0.1:3001 --host-header=rewrite
Take note of the forwarding URL.
...
Forwarding https://john-joe-asdf.ngrok-free.dev -> http://localhost:3001
...
4. Add Met Museum MCP as a Connector to ChatGPT
Click Apps
Click Create Apps
Fill out the form using the URL from step 3 as the MCP Server URL, but add /mcp.
https://john-joe-asdf.ngrok-free.dev/mcp
For Authentication, select 'No Auth'
Tick the checkbox for 'I understand and want to continue'
Then click Create.
5. Using the Met Museum MCP Server
In the prompt input field you can use @name-of-server-from-step3 or In the ChatGPT UI, click the '+' button, scroll to '...more', select the newly created Met app, and enter your query.
Usage with Claude Desktop
Via MCP Bundle (MCPB)
- Download the
mcpbfile from the Releases - Open it with Claude Desktop or Go to File -> Settings -> Extensions and drag the .mcpb file to the window to install it
Via npx
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"met-museum": {
"command": "npx",
"args": [
"-y",
"metmuseum-mcp"
]
}
}
}
Usage with LibreChat
Add the following in your librechat.yaml
mcpServers:
metmuseum:
command: npx
args:
- -y
- metmuseum-mcp
Example Queries
Here are some questions you can ask the AI model when this server is connected:
Can you help me explore the works of Vincent Van Gogh?
Can you help me explore the Met?
Can you show me a few paintings from the Asian Art department?
Can you find the painting titled "Corridor in the Asylum"?
Can you find any art that has "cat" in the title or features "cats"?
Development
This project uses pnpm for local development and CI.
corepack enable
pnpm install
pnpm run build
pnpm run check
For non-interactive shells/CI runners, use CI=true pnpm install --frozen-lockfile.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Disclaimer
This library is not officially associated with The Metropolitan Museum of Art in New York. It is a third-party implementation of the The Metropolitan Museum of Art Collection API with a MCP Server.
常见问题
Met Museum Server 是什么?
通过自然语言访问 Metropolitan Museum of Art 馆藏,可搜索艺术品、获取详细信息,并轻松探索各部门资源,增强 AI 的艺术数据能力。
Met Museum Server 提供哪些工具?
提供 3 个工具,包括 list-departments、search-museum-objects、get-museum-object。
相关 Skills
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
接口测试套件
by alirezarezvani
扫描 Next.js、Express、FastAPI、Django REST 的 API 路由,自动生成覆盖鉴权、参数校验、错误码、分页、上传与限流场景的 Vitest 或 Pytest 测试套件。
✎ 帮你把API与集成测试自动化跑顺,减少回归漏测;能力全面,尤其适合复杂接口场景的QA团队。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。
