Met Museum MCP Server

by mikechao
Verified

Integrations

  • Accesses the Metropolitan Museum of Art's Open Access data, including images available under Open Access which can be added to the server's resources and displayed to users.

大都会博物馆 MCP 服务器

一个模型上下文协议 (MCP) 服务器,可通过自然语言交互访问大都会艺术博物馆的藏品。该服务器允许 AI 模型搜索大都会艺术博物馆的艺术藏品,并将艺术品作为资源提供。

特征

该服务器为 AI 模型提供以下工具,以便与大都会艺术博物馆的艺术收藏进行互动

1.列出部门(list-departments)

列出大都会博物馆所有有效部门

  • 输入:
    • 没有任何
  • 输出:
    Department ID: 1, Display Name: American Decorative Arts Department ID: 3, Display Name: Ancient Near Eastern Art ...

2. 搜索博物馆物品(search-museum-objects)

根据输入在大都会博物馆搜索各种物品。

  • 输入:
    • q (字符串):搜索词,例如向日葵
    • hasImages (布尔值,可选,默认值:false):仅搜索带有图像的对象
    • title (布尔值,可选,默认值:false):返回与查询匹配的对象,具体来说是根据标题字段搜索对象。
    • departmentId (数字,可选):返回属于特定部门的对象。
  • 输出:
    Total objects found: 54 Object IDs: 436532, 789578, 436840, 438722,...

3. 获取博物馆物品(get-museum-object)

从大都会博物馆获取特定对象,其中包含有关该对象的所有开放存取数据,包括其图像(如果该图像可在开放存取下获得)。

如果有图像,则会通过对象的标题将其添加到服务器的资源中。

  • 输入:
    • objectId (数字):要检索的对象的 id
    • returnImage (布尔值,可选,默认值:true):是否返回对象的图像(如果可用)并将其添加到服务器资源
  • 输出:
    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-portraits
    如果 returnImage 为 true
    **base64 encoding of jpeg image**

与 Claude Desktop 一起使用

将其添加到您的claude_desktop_config.json中:

{ "mcp-servers": { "met-museum": { "command": "npx", "args": [ "-y", "metmuseum-mcp" ] } } }

示例查询

当此服务器连接时,您可以向 AI 模型询问以下一些问题:

Can you show me a few painting 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"?

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

执照

此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。

免责声明

该图书馆与纽约大都会艺术博物馆并无正式合作关系。它是大都会艺术博物馆藏品 API的第三方实现,并带有 MCP 服务器。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

一个 MCP 服务器,允许用户通过 AI 模型探索大都会艺术博物馆的藏品。并将发现的艺术品作为资源添加到服务器上。

  1. Features
    1. 1. List Departments (list-departments)
    2. 2. Search Museum Objects (search-museum-objects)
    3. 3. Get Museum Objects (get-museum-object)
    4. Usage with Claude Desktop
    5. Usage with LibreChat
  2. Example queries
    1. Contributing
      1. License
        1. Disclaimer
          ID: 9y2pun97iv