Skip to main content
Glama
Met Museum MCP Server

Met Museum MCP Server

by mikechao

主题标志

大都会博物馆 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"
      ]
    }
  }
}

与 LibreChat 一起使用

在你的librechat.yaml中添加以下内容

mcpServers:
  metmuseum:
    command: npx
    args:
      - -y
      - metmuseum-mcp

Related MCP server: mcp-va-museum

示例查询

当此服务器连接时,您可以向 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 服务器。

Available Tools

4 tools
get-museum-objectA
Read-onlyIdempotent

Get a museum object by its ID, from the Metropolitan Museum of Art Collection. Use this when the user asks for deeper details on a specific object ID.

Inputs: objectId (required), returnImage. Returns: object

list-departmentsA
Read-onlyIdempotent

List all departments in the Metropolitan Museum of Art (Met Museum)

Inputs: no named parameters. Returns: departments

open-met-explorerA
Read-onlyIdempotent

Open the interactive Met Explorer app for browsing and filtering objects. For exploration intents, pass q so the app can run a live search on open. After opening, keep your chat handoff short and UI-focused. For deeper details on a specific object ID, prefer get-museum-object.

Inputs: q, hasImages, title, departmentId. Returns: initialState

search-museum-objectsA
Read-onlyIdempotent

Search for objects in the Metropolitan Museum of Art (Met Museum). Will return Total objects found, followed by a paginated list of Object Ids. If the Met Explorer app (open-met-explorer) is open and the user is referring to its existing results, prefer using those results from context instead of calling this tool. 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 only objects with images. Additional optional filters are available for highlights, tags, on-view status, artist/culture match, medium, geographic location, and date range. Use page and pageSize to paginate results.

Inputs: q (required), hasImages, title, isHighlight, +10 more. Returns: total, page, pageSize, totalPages, +1 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get-museum-object retrieves details by ID, list-departments lists departments, open-met-explorer launches an interactive app, and search-museum-objects performs filtered searches. There is no ambiguity between them.

    Naming Consistency5/5

    All tool names follow a consistent verb-noun pattern with lowercase hyphens (e.g., get-museum-object, list-departments). No mixing of styles.

    Tool Count5/5

    Four tools is an appropriate count for a museum collection server covering search, detail retrieval, department listing, and an interactive explorer. Not too sparse or overwhelming.

    Completeness4/5

    The tool surface covers key read operations (search, detail, departments) and an interactive explorer. Minor gaps like direct department-based object listing are covered by search filters, so no significant missing functionality.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A server that provides access to the Art Institute of Chicago Collection through natural language interactions. This server allows AI models to search the Art Institute of Chicago Collection and have art works available as a Resource.
      6
      18 npm
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for querying the Victoria and Albert Museum (V\&A) collections via natural language or direct tool calls.
      76 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server for the Solid protocol enabling AI models to read, write, search, and manage resources in Solid pods.
      1
      MIT