一个模型上下文协议(MCP)服务器,通过自然语言交互提供对Rijksmuseum藏品的访问。该服务器使AI模型能够探索、分析并与来自Rijksmuseum的艺术作品和藏品进行互动。
该服务器提供了几种与Rijksmuseum藏品互动的工具:
search_artwork
)使用各种标准搜索和筛选艺术品,包括:
get_artwork_details
)检索特定艺术品的全面信息,包括:
get_artwork_image
)访问具有深度缩放能力的高分辨率图像数据:
get_user_sets
& get_user_set_details
)探索用户创建的收藏集:
open_image_in_browser
)直接在浏览器中打开艺术品图像以详细查看。
get_artist_timeline
)生成艺术家作品的时间顺序时间线:
这里是一些您可以向AI询问的示例查询:
"Show me all paintings by Rembrandt from the 1640s" "Find artworks that prominently feature the color blue" "What are the most famous masterpieces in the collection?" "Search for still life paintings from the Dutch Golden Age"
"Tell me everything about The Night Watch" "What are the dimensions and materials used in Van Gogh's Self Portrait?" "Show me high-resolution details of the brushwork in Vermeer's The Milkmaid" "Compare the colors used in different versions of The Potato Eaters"
"Create a timeline of Rembrandt's self-portraits" "How did Van Gogh's use of color evolve throughout his career?" "Show me all works by Frans Hals in chronological order" "What techniques did Jan Steen use in his paintings?"
"Find all artworks depicting biblical scenes" "Show me paintings of Amsterdam in the 17th century" "What artworks feature flowers or still life arrangements?" "Find portraits that include musical instruments"
"Show me the most popular user-curated collections" "Find sets that focus on landscape paintings" "What are the recent additions to the museum's collection?" "Show me collections featuring works from multiple artists"
"Let me examine the details in the background of The Night Watch" "Show me a close-up of the jewelry in Girl with a Pearl Earring" "Can you display the highest resolution version of The Jewish Bride?" "I want to study the facial expressions in The Syndics"
您可以通过两种方式安装此服务器:
更新您的Claude配置文件 (~/Library/Application Support/Claude/claude_desktop_config.json
):
{
"mcpServers": {
"rijksmuseum-server": {
"command": "npx",
"args": [
"-y",
"mcp-server-rijksmuseum"
],
"env": {
"RIJKSMUSEUM_API_KEY": "your_api_key_here"
}
}
}
}

您可以从Rijksmuseum API门户获取API密钥。
npm install
cp .env.example .env

.env
文件中添加您的 Rijksmuseum API 密钥:RIJKSMUSEUM_API_KEY=your_api_key_here
{
"mcpServers": {
"rijksmuseum-server": {
"command": "node",
"args": [
"/path/to/rijksmuseum-server/build/index.js"
],
"env": {
"RIJKSMUSEUM_API_KEY": "your_api_key_here"
}
}
}
}

请确保:
/path/to/rijksmuseum-server
替换为您实际的安装路径env
部分添加您的 Rijksmuseum API 密钥更新配置后,重启 Claude Desktop 以使更改生效。
可以通过环境变量来配置服务器:
RIJKSMUSEUM_API_KEY
: 您的 Rijksmuseum API 密钥(必需)PORT
: 服务器端口(默认:3000)LOG_LEVEL
: 日志级别(默认:'info')有关此服务器使用的 Rijksmuseum API 端点的详细信息,请访问:
Rijksmuseum API 文档
欢迎贡献!请随时提交拉取请求或创建问题报告 bug 和功能请求。
本项目采用 MIT 许可证 - 详情请参阅 LICENSE 文件。