Rijksmuseum MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • The server uses .ENV for configuration, allowing users to set their Rijksmuseum API key and other environment variables.

  • The server can be installed via an NPM package (mcp-server-rijksmuseum), allowing easy integration with Claude Desktop.

国立博物馆 MCP 服务器

一个模型上下文协议 (MCP) 服务器,可通过自然语言交互访问荷兰国立博物馆的藏品。该服务器使 AI 模型能够探索、分析荷兰国立博物馆的艺术品和藏品,并与其进行互动。

特征

该服务器提供了几种与国立博物馆藏品互动的工具:

1. 搜索艺术品( search_artwork

使用各种标准搜索和过滤艺术品,包括:

  • 基于文本的搜索
  • 艺术家姓名
  • 艺术品类型
  • 材料和技术
  • 时间段
  • 颜色
  • 以及更多

2. 艺术品详情( get_artwork_details

检索有关特定艺术品的综合信息,包括:

  • 基本信息(标题、艺术家、日期)
  • 物理特性
  • 历史背景
  • 视觉信息
  • 策展信息
  • 展览历史

3. 高分辨率图像( get_artwork_image

通过深度缩放功能访问高分辨率图像数据:

  • 多个缩放级别
  • 基于图块的图像加载
  • 全分辨率支持
  • 职位信息

4. 用户集合( get_user_setsget_user_set_details

探索用户创建的收藏集:

  • 浏览精选集
  • 查看主题分组
  • 分析收集模式
  • 访问详细的设置信息

5. 图像查看( open_image_in_browser

直接在浏览器中打开艺术品图像以进行详细查看。

6. 艺术家时间线( 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"

入门

您可以通过两种方式安装此服务器:

1. 使用 Claude Desktop 和 NPM 包

更新您的 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" } } } }

您可以从国立博物馆 API 门户获取 API 密钥。

2. 从源头

  1. 克隆此存储库
  2. 安装依赖项:
    npm install
  3. 复制示例环境文件:
    cp .env.example .env
  4. 将您的 Rijksmuseum API 密钥添加到.env文件:
    RIJKSMUSEUM_API_KEY=your_api_key_here
  5. 然后更新你的 Claude 配置文件:
    { "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 :您的国立博物馆 API 密钥(必需)
  • PORT :服务器端口(默认值:3000)
  • LOG_LEVEL :日志记录级别(默认值:'info')

API 文档

有关此服务器使用的 Rijksmuseum API 端点的详细信息,请访问: Rijksmuseum API 文档

贡献

欢迎贡献代码!欢迎提交 Pull 请求,或创建 Issue 来报告 Bug 和功能需求。

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。

ID: 4rmiexp64y