The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Smithsonian MCP Server listing page.
Search 14.5M Smithsonian Open Access objects across 20+ museums via MCP, and retrieve CC0 images for the 5.2M that carry openly-licensed media. STDIO or Streamable HTTP.
Public Hosted Server: https://smithsonian.caseyjhand.com/mcp
A free
api.data.govAPI key is required. Register at https://api.data.gov/signup — approval is instant. Set it asSMITHSONIAN_API_KEYin your MCP client config or.envfile. The server will not start without it.CC0 media gating:
smithsonian_get_mediaonly returns CC0-licensed (open access) images. Usesmithsonian_search_objectswithfilters.cc0_only: trueto find objects with downloadable media before calling it.
Six tools covering the full Smithsonian Open Access workflow — filter vocabulary discovery, search, detail retrieval, CC0 image access, and cross-collection exploration:
| Tool | Description |
|---|---|
smithsonian_search_objects | Search across 14.5M objects by text query with optional filters (museum, type, date term, culture, place, topic, name, online-only, CC0). Returns curated summaries with total count. |
smithsonian_list_terms | Enumerate the valid term vocabulary for an indexed filter field (unit_code, culture, place, date, online_media_type, topic). Call before filtering to avoid empty results from invalid values; pass contains to resolve a guessed value to its exact term(s). unit_code terms come back with their museum names. |
smithsonian_get_object | Fetch a normalized catalog metadata projection for an object by ID: title, dates, materials, dimensions, exhibition history, credit line, and identifiers. |
smithsonian_get_media | Return all CC0-licensed images for an object at multiple resolutions (thumbnail, screen, high-res JPEG/TIFF). Only CC0 images returned, never an empty list — a distinct error reason names why, whether the object has nothing digitized, only non-image media, or only restricted images. |
smithsonian_browse_category | Browse objects within one exact category (museum, culture, period, medium, topic) with total count, a page of objects, and museum breakdown. Requires an exact indexed category term. |
smithsonian_find_related | Discover cross-collection objects related to an anchor, matched on shared culture, named-party, topic, and period signals. |
smithsonian_search_objectsFull-text search with structured filters across the entire Smithsonian catalog.
1920s, 500-1500, 21st century, -2500), culture, geographic place, subject topic, named party (name), online-only, CC0-onlytopic and name are hard indexed constraints, not free text — topic: "Quilts" matches 1,134 objects where the bare word matches 2,677, and name: "Warhol, Andy" matches 421 against 715record_idstart + rows for standard pagination (offset-based, max 100 per page)smithsonian_list_termsEnumerate the valid term vocabulary for an indexed filter field before applying filters.
unit_code, culture, place, date, online_media_type, topicPaintings not Painting) — grounding filter values here avoids empty resultscontains to filter the vocabulary by a case-insensitive substring — resolve a guessed value (e.g. greek → Greek, Attic) to its exact term(s) in one call, or confirm absence with an empty resultunit_code, a labels map returns each code's museum name and contains matches that name as well as the code, so National Air and Space resolves to NASM in one callstart + rows (default 50 per page, max 100); the largest vocabularies are topic (133k terms) and place (114k), so pair those with containsSMITHSONIAN_TERMS_CACHE_TTL_SECONDS (default 1 hour) — upstream ignores paging and returns the whole set on every call, so paging a large vocabulary uncached re-downloads it each timeobject_type is not enumerable upstream — discover object-type values from the object_type field in smithsonian_search_objects resultssmithsonian_get_objectNormalized catalog metadata for a single object.
record_id from smithsonian_search_objects — do not construct IDs manuallysmithsonian_get_media for full image URLssmithsonian_get_mediaCC0-gated image access at multiple resolutions.
Forbidden when an object has media but none is CC0no_images when an object's media is entirely non-image (scanned books, 3D models, sound recordings); the recovery hint names the types presentsmithsonian_search_objects with filters.cc0_only: true before calling this toolsmithsonian_browse_categoryPaginated browse within one exact category. For open-ended or topic discovery, use smithsonian_search_objects instead.
museum (by unit code, e.g. "NASM" — matched exactly, not by museum name), culture (e.g. "Aztecs"), period (indexed date term, e.g. "1940s" or "500-1500"), medium (object type, e.g. "Paintings"), topic (subject term, e.g. "Quilts")value must be an exact indexed category term — resolve museum, culture, period, and topic vocabulary with smithsonian_list_terms first; object_type is not enumerable there, so harvest it from smithsonian_search_objects resultsstart + rows for standard pagination (offset-based, start = page × rows, max 50 per page) — adjacent pages retrieve the objects a capped sample omitsinvalid_category with a mode-specific recovery hint. A value outside the vocabulary gets the exact smithsonian_list_terms call that resolves it; a value the index enumerates but that matches no objects is named as such and routed elsewhere, since resolving it returns the same valuesmithsonian_find_relatedCross-collection discovery via shared metadata signals.
maker, collector, donor, issuing authority, …) rather than a fixed maker label, prefers the indexed name facet as a hard filter when the record has one, and is dropped when its value only repeats the culture signaltopic: filter, so every object it tags carries that subject term rather than merely mentioning the wordsimilarity_signals on each result show every metadata term that connected it to the anchor — an object surfaced by more than one signal carries all of themstart — a 0-indexed offset into the interleaved related set; page contiguously with start = page × limit (each signal is reachable to a depth of 5,000, fetched in ≤1,000-row chunks; a deeper page can shift an object by a bounded amount near a seam). A truncated response reports truncationCeiling as an upper bound on the reachable related poolsignals[] breaks the fan-out down per signal: row_count is that signal's true upstream size (uncapped, so it can exceed the 5,000 reach) and search_continuation is the exact smithsonian_search_objects input that retrieves the signal's full match set at any depth — the retrieval path past this tool's per-signal reachBuilt on @cyanheads/mcp-ts-core:
none, jwt, oauthin-memory, filesystem, Supabase, Cloudflare KV/R2/D1Smithsonian-specific:
api.data.gov keysmithsonian_get_media — only open-access images returned, never restricted contentsmithsonian_find_related — a failure in one metadata signal doesn't abort the restAgent-friendly output:
has_media on every object summary — agents can gate image download calls without an extra lookup (the is_cc0 flag is the metadata license, which the Open Access corpus carries almost everywhere)no_results, invalid_filter, not_found, no_media, no_images, not_cc0, invalid_id) with recovery hints for each casesimilarity_signals on related-object results let agents explain why objects were surfacedtotal_count on all search responses enables agents to communicate result scope before paginatingA public instance is available at https://smithsonian.caseyjhand.com/mcp — no installation required. Point any MCP client at it via Streamable HTTP:
Requires a free
api.data.govAPI key — register at https://api.data.gov/signup and setSMITHSONIAN_API_KEYin your config.
Add the following to your MCP client configuration file:
Or with npx (no Bun required):
Or with Docker:
For Streamable HTTP, set the transport and start the server:
api.data.gov API key — register at https://api.data.gov/signup. Approval is instant.| Variable | Description | Default |
|---|---|---|
SMITHSONIAN_API_KEY | Required. Free API key from api.data.gov/signup. | — |
SMITHSONIAN_BASE_URL | Smithsonian Open Access API base URL. | https://api.si.edu/openaccess/api/v1.0 |
SMITHSONIAN_TERMS_CACHE_TTL_SECONDS | Seconds to cache each indexed field's term vocabulary. 0 disables caching. | 3600 |
MCP_TRANSPORT_TYPE | Transport: stdio or http. | stdio |
MCP_HTTP_PORT | Port for HTTP server. | 3010 |
MCP_SESSION_MODE | Session mode: auto, stateful, or stateless. This server explicitly uses stateless HTTP sessions. | stateless |
MCP_AUTH_MODE | Auth mode: none, jwt, or oauth. | none |
MCP_LOG_LEVEL | Log level (RFC 5424). | info |
LOGS_DIR | Directory for log files (Node.js only). | <project-root>/logs |
STORAGE_PROVIDER_TYPE | Storage backend. | in-memory |
OTEL_ENABLED | Enable OpenTelemetry instrumentation. | false |
See .env.example for the full list of optional overrides.
Build and run:
Run checks and tests:
The Dockerfile defaults to HTTP transport, stateless session mode, and logs to /var/log/smithsonian-mcp-server. OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.
| Directory | Purpose |
|---|---|
src/index.ts | createApp() entry point — registers tools and initializes the Smithsonian service. |
src/config | Server-specific environment variable parsing (SMITHSONIAN_API_KEY, SMITHSONIAN_BASE_URL, SMITHSONIAN_TERMS_CACHE_TTL_SECONDS). |
src/mcp-server/tools | Tool definitions (*.tool.ts). |
src/services/smithsonian | Smithsonian Open Access API client, normalization, and type definitions. |
tests/ | Unit and integration tests. |
docs/ | Design document and directory tree. |
See CLAUDE.md / AGENTS.md for development guidelines and architectural rules. The short version:
try/catch in tool logicctx.log for request-scoped logging, ctx.state for tenant-scoped storagesrc/mcp-server/tools/definitions/index.tsIssues and pull requests are welcome. Run checks and tests before submitting:
Apache-2.0 — see LICENSE for details.