DISCLAIMER
MCP server for Rijksmuseum OAI-PMH API
shenhai-ran
README
DISCLAIMER
All code in this repository is generated by Windsurf with AI and has not been human-checked at all.
Rijksmuseum OAI-PMH MCP Server
A Model Context Protocol (MCP) server implementation for the Rijksmuseum OAI-PMH API. This server allows you to access the Rijksmuseum's rich collection data using the MCP protocol.
Features
- Implements all major OAI-PMH verbs as MCP tools
Identify→rijksmuseum_identifyListMetadataFormats→rijksmuseum_list_metadata_formatsListSets→rijksmuseum_list_setsListRecords→rijksmuseum_list_recordsGetRecord→rijksmuseum_get_record
- Simple RESTful API following MCP standards
- Comprehensive error handling
- TypeScript implementation
Installation
# Clone the repository
git clone https://github.com/shenhai-ran/rijksmuseum-mcp-oaipmh.git
cd rijksmuseum-mcp-oaipmh
# Install dependencies
npm install
# Start the server
npm run dev
API Usage
The server exposes the following endpoints:
GET /- Returns server information and available toolsPOST /tools/{toolName}- Executes a specific tool with the provided parameters
Examples
# Get information about the Rijksmuseum repository
curl -X POST http://localhost:3000/tools/rijksmuseum_identify
# List metadata formats
curl -X POST http://localhost:3000/tools/rijksmuseum_list_metadata_formats
# Get a specific record
curl -X POST http://localhost:3000/tools/rijksmuseum_get_record \
-H "Content-Type: application/json" \
-d '{"identifier": "https://id.rijksmuseum.nl/2001", "metadataPrefix": "oai_dc"}'
Development
# Run the server in development mode with hot reloading
npm run watch
# Run the direct test against the Rijksmuseum API
npm run direct-test
# Run the MCP test client against the local server
npm run mcp-test
License
MIT
About the Rijksmuseum API
The Rijksmuseum API provides access to the museum's collection data through various protocols, including OAI-PMH. For more information, visit Rijksmuseum API Documentation.
Recommended Servers
Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
MATLAB MCP Server
Integrates MATLAB with AI to execute code, generate scripts from natural language, and access MATLAB documentation seamlessly.
Macrostrat MCP Server
Enables Claude to query comprehensive geologic data from the Macrostrat API, including geologic units, columns, minerals, and timescales through natural language.
MCP Word Counter
A Model Context Protocol server that provides tools for analyzing text documents, including counting words and characters. This server helps LLMs perform text analysis tasks by exposing simple document statistics functionality.