Skip to main content

CONTENTdm State Archives

io.github.ianderso/contentdm-mcp

v0.1.0Updated Oct 6, 2026stdio · PyPI

Search US state archives' record images on CONTENTdm; read items, pages and transcripts.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add contentdm-mcp -e 'CONTENTDM_CACHE_DIR=~/.cache/contentdm-mcp' -e CONTENTDM_TIMEOUT=30 -e CONTENTDM_MIN_INTERVAL=1 -- uvx contentdm-mcp==0.1.0

Configuration

6 settings.

  • CONTENTDM_CACHE_DIR
    Env var· optional
    Directory for the on-disk response cache.Default: ~/.cache/contentdm-mcp
  • CONTENTDM_TIMEOUT
    Env var· optional
    HTTP timeout in seconds for one request. Image downloads get 120 s to read.Default: 30
  • CONTENTDM_MIN_INTERVAL
    Env var· optional
    Least seconds between two requests to one site. Never below 0.5.Default: 1
  • CONTENTDM_CONTACT
    Env var· optional
    An email address or URL appended to the User-Agent, so an institution can reach whoever runs the server.
  • CONTENTDM_EXTRA_INSTANCES
    Env var· optional
    More CONTENTdm sites a tool may reach, beyond the curated ones and *.contentdm.oclc.org: https base URLs separated by commas, or the absolute path of a YAML file shaped like instances.yaml.
  • CONTENTDM_DOWNLOAD_DIR
    Env var· optional
    An existing folder. When set, get_image saves only inside it; needed to save under ~/Library, such as an iCloud Drive folder.

Listed in the official MCP Registry since Oct 6, 2026. Mirrored daily; last checked Nov 26, 2026.