rijksmuseum-mcp is a Model Context Protocol (MCP) server that provides access to the collection of the Rijksmuseum through natural language interaction. This server enables AI models to explore, analyze, and interact with the Rijksmuseum's artworks and collections.
Purpose For users who want to retrieve and analyze the Rijksmuseum collection with the help of AI models, it connects the capabilities of the museum API to an AI conversation environment through the MCP protocol, enabling natural language-driven artwork search, detail queries, and collection browsing.
Main Capabilities The server provides the following tools:
- Search artworks (search_artwork): supports searching and filtering artworks based on various conditions such as text, materials, and techniques.
- Artwork details (get_artwork_details): retrieves comprehensive information about a specific artwork, including basic information (title, artist, date), physical attributes, historical context, visual information, curatorial information, and exhibition history.
- High-resolution images (get_artwork_image): retrieves high-resolution image data and supports deep zoom, including multiple zoom levels, tile-based image loading, full-resolution support, and position information.
- User sets (get_user_sets and get_user_set_details): explores user-created collections, including browsing curated sets, viewing thematic groupings, analyzing collection patterns, and accessing detailed set information.
- Image viewing (open_image_in_browser): opens artwork images directly in the browser for detailed viewing.
- Artist timeline (get_artist_timeline): generates a chronological timeline of an artist's works, used to track artistic development, analyze periods and styles, and study career progression.
Usage There are two ways to install the server: Method one: Use Claude Desktop with the NPM package. You need to update the Claude configuration file (~/Library/Application Support/Claude/claude_desktop_config.json). The API key can be obtained from the Rijksmuseum API Portal. Method two: Clone this repository, install dependencies: npm install, copy the example environment file: cp .env.example .env, add the Rijksmuseum API key to the .env file: RIJKSMUSEUM_API_KEY=your_api_key_here, then update the Claude configuration file: { "mcpServers" : { "rijksmuseum-server" : { "command" : " node " , "args" : [ " /path/to/rijksmuseum-server/build/index.js " ] , "env" : { "RIJKSMUSEUM_API_KEY" : " your_api_key_here " } } } }, replace /path/to/rijksmuseum-server with the actual installation path, and enter the Rijksmuseum API key in the env section. After updating the configuration, restart Claude Desktop for the changes to take effect.
The server can be configured through environment variables: RIJKSMUSEUM_API_KEY: Rijksmuseum API key (required) PORT: server port (default: 3000) LOG_LEVEL: log level (default: 'info')
Applicable Scenarios Example use cases cover natural language query scenarios such as artwork discovery, artwork analysis, artist research, thematic exploration, and collection analysis.
Limitations Usage requires a Rijksmuseum API key. Detailed Rijksmuseum API endpoint information can be found in the Rijksmuseum API Documentation. The project welcomes contributions; you can submit pull requests or create issues to report bugs and feature requests. This project uses the MIT License; see the LICENSE file for details.