Media
Data source: Metropolitan Museum of Art Collection API, Art Institute of Chicago API
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/museum/
claude_desktop_config.json
{
"mcpServers": {
"gnist-museum": {
"url": "https://context.gnist.ai/mcp/museum/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/museum/" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_artworks", "arguments": {"query": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/museum/
4 endpoints available:
GET /rest/museum/search_artworksGET /rest/museum/get_artworkGET /rest/museum/get_departmentsGET /rest/museum/report_feedback
Shell
curl "https://context.gnist.ai/rest/museum/search_artworks?query=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/museum/search_artworks",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"query": "example"
},
)
print(resp.json())
Command Line
Command
gc museum
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (4)
search_artworksSearch artworks across the Metropolitan Museum of Art (470K+ objects) and Art Institute of Chicago (120K+ objects).
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search term — artist, title, style, subject. Example: 'Van Gogh sunflowers'. |
institution | any | optional | Filter by institution: 'met' (Metropolitan Museum of Art) or 'aic' (Art Institute of Chicago). Omit to search both. |
department_id | any | optional | Met Museum department ID filter (use get_departments to list). Only applies when institution='met'. |
is_highlight | any | optional | Only return highlighted/notable works. Met only. |
has_images | any | optional | Only return works with images. Met only. |
medium | any | optional | Filter by medium, e.g. 'Paintings', 'Sculpture', 'Photographs'. Met only. |
date_begin | any | optional | Start year filter, e.g. 1800. Met only. |
date_end | any | optional | End year filter, e.g. 1900. Met only. |
limit | integer | optional | Max results to return (1-10). (default: 5) |
get_artworkGet full details for a specific artwork by ID and institution.
| Parameter | Type | Required | Description |
|---|---|---|---|
object_id | integer | required | Artwork ID from the institution. |
institution | string | required | Institution: 'met' (Metropolitan Museum) or 'aic' (Art Institute of Chicago). |
get_departmentsList all curatorial departments at the Metropolitan Museum of Art.
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |