芝加哥艺术学院 MCP 服务器
一个模型上下文协议 (MCP) 服务器,可通过自然语言交互访问芝加哥艺术学院的藏品。该服务器允许 AI 模型搜索芝加哥艺术学院的艺术藏品,并将艺术品作为资源提供。
特征
该服务器为AI模型提供了以下与艺术收藏品进行交互的工具。
1. 按标题搜索(search-by-title)
在芝加哥艺术学院按标题搜索艺术品
- 输入:
title
(字符串)要搜索的艺术品的标题。limit
(数字,可选,默认为 10)每页返回的资源数量。page
(数字,可选,默认为 1)返回结果的页码。用于分页。
- 输出:
Title: Nighthawks
Artwork ID: 111628
Thumbnail alt text: Scene in a diner, viewed through wrap-around glass windows, at night on an empty urban street. A light-skinned man and woman, he in a suit and she in a red dress, sit together at a triangular wood bar, eyes downcast. At left sits another man, his back to the viewer. Behind the counter is a light-skinned man in a white uniform. The interior lights cast a yellow glow that spills onto the street in pale green. Above the diner a sign reads, "Phillies."
Score: 1055.3839
-----
Title: Nighthawks
Artwork ID: 118165
Thumbnail alt text: A work made of chromogenic print.
Score: 57.28689
Pagination Info
Total: 2
Total Pages: 1
Current Page: 1
2. 获取特定艺术品(get-artwork-by-id)
根据艺术品的 ID 获取其附加信息(包括可用的图像)。
- 输入:
- 输出:
Title: Nighthawks
Artist: Edward Hopper (American, 1882–1967)
Artist ID: 34996
Description: <p>About <em>Nighthawks</em> Edward Hopper recollected, “unconsciously, probably, I was painting the loneliness of a large city.” In an all-night diner, three customers sit at the counter opposite a server, each appear to be lost in thought and disengaged from one another. The composition is tightly organized and spare in details: there is no entrance to the establishment, no debris on the streets. Through harmonious geometric forms and the glow of the diner’s electric lighting, Hopper created a serene, beautiful, yet enigmatic scene. Although inspired by a restaurant Hopper had seen on Greenwich Avenue in New York, the painting is not a realistic transcription of an actual place. As viewers, we are left to wonder about the figures, their relationships, and this imagined world.</p>
Image ID: 831a05de-d3f6-f4fa-a460-23008dd58dda
Place of Origin: United States
Dimensions: 84.1 × 152.4 cm (33 1/8 × 60 in.)
Medium: Oil on canvas
Credit Line: Friends of American Art Collection
Department: Arts of the Americas
Is On View: Yes
Main Reference Number: 1942.51
Has not been viewed much: No
Date Start: 1942
Date End: 1942
Date: 1942
Fiscal Year: 1942
Is Public Domain: No
Gallery: Gallery 262
Artwork Type: Painting
Artist Title: Edward Hopper
Artist Titles: Edward Hopper
Style Title: Modernism
**image encoded in base64 if available
3.全文搜索(full-text-search)
对元数据包含搜索查询的艺术品执行全文搜索。
- 输入:
query
(字符串)用于搜索元数据的术语。limit
(数字,可选,默认为 10)每页返回的资源数量。page
(数字,可选,默认为 1)返回结果的页码。用于分页。
- 输出:
Title: Untitled
Artwork ID: 62290
Thumbnail alt text: A work made of oil and enamel on paper, mounted on composition board.
Score: 108.70728
-----
...
...
-----
Title: Homage to the Square: Light Passage
Artwork ID: 5569
Thumbnail alt text: Painting of overlapping squares in grey, yellow, gold, and orange.
Score: 104.18398
Pagination Info
Total: 8399
Total Pages: 840
Current Page: 1
4. 艺术家搜索(search-for-artist)
搜索特定艺术家
- 输入:
name
(字符串)要搜索的艺术家的姓名。limit
(数字,可选,默认为 10)每页返回的资源数量。page
(数字,可选,默认为 1)返回结果的页码。用于分页。
- 输出:
Title: Vincent van Gogh
Artist ID: 40610
Score: 55.865852
-----
Title: Imitator of Vincent van Gogh
Artist ID: 47301
Score: 48.782307
Pagination Info
Total: 2
Total Pages: 1
Current Page: 1
5. 按艺术家查找艺术品(get-artwork-by-artist)
查找艺术家的艺术作品
- 输入:
id
(数字)用于搜索作品的艺术家 ID。应为search-for-artist
工具的艺术家 ID。limit
(数字,可选,默认为 10)每页返回的资源数量。page
(数字,可选,默认为 1)返回结果的页码。用于分页。
- 输出:
Title: The Bedroom
Artwork ID: 28560
Thumbnail alt text: Painting of bedroom, blue walls, green window, tan bed, red bedding.
Score: 11473.843
-----
.
.
.
-----
Title: Weeping Tree
Artwork ID: 52733
Thumbnail alt text: A work made of reed pen and black-brown ink, with black chalk on off-white wove paper.
Score: 11.8061
Pagination Info
Total: 18
Total Pages: 2
Current Page: 1
用法
与 Claude Desktop 一起使用
将其添加到您的claude_desktop_config.json
中:
{
"mcp-servers": {
"artic-museum": {
"command": "npx",
"args": [
"-y",
"artic-mcp"
]
}
}
}
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 artic-mcp:
npx -y @smithery/cli install @mikechao/artic-mcp --client claude
示例查询
当此服务器连接时,您可以向 AI 模型询问以下一些问题:
Can you show me the painting titled "Nighthawks"?
Can you find art done by Vincent van Gogh in 1890 that is on display?
Can you find art by the artist Jackson Pollock?
贡献
欢迎贡献代码!欢迎提交 Pull 请求。
执照
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
免责声明
此 MCP 服务器与芝加哥艺术学院并无正式关联。它是芝加哥艺术学院 API与 MCP 服务器的第三方实现。