MCP ExplorerExplorer

Rijksmuseum

@r-huijtson 13 days ago
48 MIT
FreeCommunity
Analytics
#collection#Rijksmuseum
Interface with the Rijksmuseum API to search artworks, retrieve artwork details, access image tiles, and explore user collections.

Overview

What is Rijksmuseum

The Rijksmuseum MCP Server is a Model Context Protocol server that provides access to the Rijksmuseum’s extensive art collection through natural language interactions, allowing users to explore, analyze, and engage with artworks and related information.

Use cases

Users can discover artworks based on criteria such as artist, type, or period. They can analyze specific pieces in detail, research artists and their timelines, explore thematic collections, and investigate popular user-curated sets focusing on various artistic topics.

How to use

To use the server, install it using either the Claude Desktop with an NPM package or from source code. Obtain an API key from the Rijksmuseum API Portal and configure the server to use this key. Then, you can interact with the server by sending specific queries related to artworks, artists, or collections.

Key features

Key features include searching artworks, retrieving detailed information about specific pieces, accessing high-resolution images, exploring user-created collections, and generating timelines of artists’ works to study their development and influences.

Where to use

The server can be utilized in various settings, including educational environments, art research, digital humanities projects, and by art enthusiasts seeking to deepen their knowledge of the Rijksmuseum’s collection and its historical context.

Content

rijksmuseum logo

Rijksmuseum MCP Server

A Model Context Protocol (MCP) server that provides access to the Rijksmuseum’s collection through natural language interactions. This server enables AI models to explore, analyze, and interact with artworks and collections from the Rijksmuseum.

Rijksmuseum Server MCP server

Features

The server provides several tools for interacting with the Rijksmuseum’s collection:

1. Search Artworks (search_artwork)

Search and filter artworks using various criteria including:

  • Text-based search
  • Artist name
  • Artwork type
  • Materials and techniques
  • Time periods
  • Colors
  • And more

2. Artwork Details (get_artwork_details)

Retrieve comprehensive information about specific artworks, including:

  • Basic details (title, artist, dates)
  • Physical properties
  • Historical context
  • Visual information
  • Curatorial information
  • Exhibition history

3. High-Resolution Images (get_artwork_image)

Access high-resolution image data with deep zoom capabilities:

  • Multiple zoom levels
  • Tile-based image loading
  • Full resolution support
  • Position information

4. User Collections (get_user_sets & get_user_set_details)

Explore user-created collections:

  • Browse curated sets
  • View thematic groupings
  • Analyze collection patterns
  • Access detailed set information

5. Image Viewing (open_image_in_browser)

Open artwork images directly in your browser for detailed viewing.

6. Artist Timeline (get_artist_timeline)

Generate chronological timelines of artists’ works:

  • Track artistic development
  • Analyze periods and styles
  • Study career progression

Example Use Cases

Here are some example queries you can ask the AI when using this server:

Artwork Discovery

"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"

Artwork Analysis

"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"

Artist Research

"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?"

Thematic Exploration

"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"

Collection Analysis

"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"

Visual Details

"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"

Getting Started

You can install this server in two ways:

1. Using Claude Desktop with NPM Package

Update your Claude configuration file (~/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"
      }
    }
  }
}

You can get an API key from the Rijksmuseum API Portal.

2. From Source

  1. Clone this repository
  2. Install dependencies:
    npm install
    
  3. Copy the example environment file:
    cp .env.example .env
    
  4. Add your Rijksmuseum API key to the .env file:
    RIJKSMUSEUM_API_KEY=your_api_key_here
    
  5. Then update your Claude configuration file:
    {
      "mcpServers": {
        "rijksmuseum-server": {
          "command": "node",
          "args": [
            "/path/to/rijksmuseum-server/build/index.js"
          ],
          "env": {
            "RIJKSMUSEUM_API_KEY": "your_api_key_here"
          }
        }
      }
    }

Make sure to:

  • Replace /path/to/rijksmuseum-server with the actual path to your installation
  • Add your Rijksmuseum API key in the env section

After updating the configuration, restart Claude Desktop for the changes to take effect.

Configuration

The server can be configured through environment variables:

  • RIJKSMUSEUM_API_KEY: Your Rijksmuseum API key (required)
  • PORT: Server port (default: 3000)
  • LOG_LEVEL: Logging level (default: ‘info’)

API Documentation

For detailed information about the Rijksmuseum API endpoints used by this server, visit:
Rijksmuseum API Documentation

Contributing

Contributions are welcome! Please feel free to submit pull requests or create issues for bugs and feature requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Tools

search_artwork
Search and filter artworks in the Rijksmuseum collection. This tool provides extensive filtering options including artist name, type of artwork, materials, techniques, time periods, colors, and more. Results can be sorted in various ways and are paginated.
get_artwork_details
Retrieve comprehensive details about a specific artwork from the Rijksmuseum collection. Returns extensive information including: - Basic details (title, artist, dates) - Physical properties (dimensions, materials, techniques) - Historical context (dating, historical persons, documentation) - Visual information (colors, image data) - Curatorial information (descriptions, labels, location) - Acquisition details - Exhibition history This is the primary tool for in-depth research on a specific artwork, providing all available museum documentation and metadata.
get_artwork_image
Retrieve detailed image tile information for high-resolution viewing of an artwork. This tool provides data for implementing deep zoom functionality, allowing detailed examination of the artwork at various zoom levels. The response includes multiple zoom levels (z0 to z6): - z0: Highest resolution (largest image) - z6: Lowest resolution (smallest image) Each zoom level contains: - Total width and height of the image at that level - A set of image tiles that make up the complete image - Position information (x,y) for each tile This is particularly useful for: - Implementing deep zoom viewers - Studying fine artwork details - Analyzing brushwork or conservation details - Creating interactive viewing experiences
get_user_sets
Retrieve collections created by Rijksstudio users. These are curated sets of artworks that users have grouped together based on themes, artists, periods, or personal interests. Each set includes: - Basic information (name, description, creation date) - Creator details (username, language preference) - Collection statistics (number of items) - Navigation links (API and web URLs) This tool is useful for: - Discovering user-curated exhibitions - Finding thematically related artworks - Exploring popular artwork groupings - Studying collection patterns
get_user_set_details
Retrieve detailed information about a specific user-created collection in Rijksstudio. Returns comprehensive information about the set and its contents, including: - Set metadata (name, description, creation date) - Creator information - List of artworks in the set - Image data for each artwork - Navigation links This tool is particularly useful for: - Analyzing thematic groupings of artworks - Studying curatorial choices - Understanding collection patterns - Exploring relationships between artworks
open_image_in_browser
Open a high-resolution image of an artwork in the default web browser for viewing. This tool is useful when you want to examine an artwork visually or show it to the user. Works with any valid Rijksmuseum image URL.
get_artist_timeline
Generate a chronological timeline of an artist's works in the Rijksmuseum collection. This tool is perfect for studying an artist's development, analyzing their artistic periods, or understanding their contribution to art history over time.

Comments