Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Search US state archives' record images on CONTENTdm; read items, pages and transcripts.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
CONTENTDM_CACHE_DIR, CONTENTDM_TIMEOUT, CONTENTDM_MIN_INTERVAL, CONTENTDM_CONTACT, CONTENTDM_EXTRA_INSTANCES, CONTENTDM_DOWNLOAD_DIR你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"contentdm": {
"command": "uvx",
"args": [
"contentdm-mcp"
],
"env": {
"CONTENTDM_CACHE_DIR": "your-value",
"CONTENTDM_TIMEOUT": "your-value",
"CONTENTDM_MIN_INTERVAL": "your-value",
"CONTENTDM_CONTACT": "your-value",
"CONTENTDM_EXTRA_INSTANCES": "your-value",
"CONTENTDM_DOWNLOAD_DIR": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add contentdm --env CONTENTDM_CACHE_DIR=your-value --env CONTENTDM_TIMEOUT=your-value --env CONTENTDM_MIN_INTERVAL=your-value --env CONTENTDM_CONTACT=your-value --env CONTENTDM_EXTRA_INSTANCES=your-value --env CONTENTDM_DOWNLOAD_DIR=your-value -- uvx contentdm-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"contentdm": {
"command": "uvx",
"args": [
"contentdm-mcp"
],
"env": {
"CONTENTDM_CACHE_DIR": "your-value",
"CONTENTDM_TIMEOUT": "your-value",
"CONTENTDM_MIN_INTERVAL": "your-value",
"CONTENTDM_CONTACT": "your-value",
"CONTENTDM_EXTRA_INSTANCES": "your-value",
"CONTENTDM_DOWNLOAD_DIR": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"contentdm": {
"type": "stdio",
"command": "uvx",
"args": [
"contentdm-mcp"
],
"env": {
"CONTENTDM_CACHE_DIR": "your-value",
"CONTENTDM_TIMEOUT": "your-value",
"CONTENTDM_MIN_INTERVAL": "your-value",
"CONTENTDM_CONTACT": "your-value",
"CONTENTDM_EXTRA_INSTANCES": "your-value",
"CONTENTDM_DOWNLOAD_DIR": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
CONTENTDM_CACHE_DIR envCONTENTDM_TIMEOUT envCONTENTDM_MIN_INTERVAL envCONTENTDM_CONTACT envCONTENTDM_EXTRA_INSTANCES envCONTENTDM_DOWNLOAD_DIR env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 ianderso 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于31天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server for the record images that US state archives and state libraries publish on CONTENTdm: death certificates and their annual indexes, Confederate pension files, voter registers, prison registers, county court and estate papers, letters and diaries, with whatever transcript or OCR text the institution added.
CONTENTdm is OCLC's hosted digital-collections platform. The Alabama Department of Archives and History, the Georgia Archives' Virtual Vault, the Tennessee State Library and Archives, Ohio Memory, the Illinois Digital Archives, the Indiana State Library, Missouri Digital Heritage and many more run on it, and every one of them answers the same keyless JSON API and IIIF image service. The server ships a curated list of those sites, searches one or several of them at once, reads an item and its pages, and downloads a page image to read.
It works the way a careful genealogist does. The page image is the evidence. A transcript or OCR text is a lead that says which page to read, and an index card is a finding aid to the record behind it. Every result carries the holding institution's item address and a citation core (institution, collection, title, identifier, address), because the item page is what gets cited, not this server.
Nothing here writes anywhere, and nothing here keeps a family tree. It sits well beside dpla-catalog-mcp, which finds an item across hundreds of collections and hands you the institution's address (get_item takes that address directly), and nara-catalog-mcp for federal records.
This is an independent project. It is not affiliated with, endorsed by, or supported by OCLC or any of the institutions whose sites it reads.
The server publishes eight tools. All but get_image are read-only; get_image writes one new file and never overwrites one.
Finding
| Tool | Purpose |
|---|---|
list_instances | The curated sites: who runs each, what it holds for a genealogist, any reuse terms, and the day it was checked. Sites that have left CONTENTdm are listed with where they went. Makes no request. |
list_collections | A site's collections and the alias each is searched by. |
get_collection | One collection's fields: what search can name in field, and which field holds the transcript or OCR text. |
search | Search one site, or several side by side. Says which sites answered, failed or timed out, so a negative is bounded. page_hits returns the page inside a volume where a text match sits. |
Reading
| Tool | Purpose |
|---|---|
get_item | One item: metadata, transcript or OCR text, the institution's own "cite as" line and rights statement, and the citation core. For a page, which object and page number it is. Takes an item address, such as DPLA's isShownAt, on a site it may reach. |
get_pages | A compound object's pages in order, with query to mark the pages that match. |
get_image | Download one page image through the site's IIIF service, sized to fit, including any page of a multi-page PDF. Saves a new .jpg, never a hidden file or one under ~/Library. |
cache_status | This session's requests, by site, and cache use. Makes no request. |
list_instances gives the whole list. On 2026-10-06, 18 sites answered, and 7 entries record institutions that have left CONTENTdm, so a search can say where they went:
| State | Site | Status |
|---|---|---|
| AL | Alabama Department of Archives and History | supported |
| AK | Alaska's Digital Archives | supported |
| AR | Arkansas State Archives | supported |
| CT | Connecticut State Library | supported |
| DE | Delaware Division of Libraries, with the Delaware Public Archives | supported |
| GA | Georgia Archives, Virtual Vault | supported |
| IL | Illinois Digital Archives | supported |
| IN | Indiana State Library (Indiana Memory); Ball State University | supported |
| KY | Kentucky Digital Library | supported |
| MO | Missouri Digital Heritage | supported |
| ND | Digital Horizons | supported |
| NM | New Mexico Digital Collections, with the State Records Center and Archives | supported |
| NV | Nevada State Library, Archives and Public Records | supported |
| OH | Ohio Memory | supported |
| OK | Oklahoma Department of Libraries, with the Oklahoma State Archives | supported |
| TN | Tennessee State Library and Archives (TeVA) | supported |
| WA | Washington Rural Heritage | supported |
| AZ | Arizona Memory Project | left CONTENTdm; behind a bot check |
| ID, SD | State archives' digital collections | moved to Preservica |
| MT | Montana Memory Project | moved to Recollect |
| NC | State Archives of North Carolina | moved to Quartex |
| PA | POWER Library | moved to Islandora |
| WI | Wisconsin Historical Society | moved to its own site |
Any other CONTENTdm site works too, at its cdmNNNNN.contentdm.oclc.org address: pass https://cdmNNNNN.contentdm.oclc.org as instance. Every classic site answers there, whatever its own domain, and the source of its pages names the number ("cdmServerUrl": "serverNNNNN.contentdm.oclc.org"). There are more than 675 of them, and no registry. To use a site by its own domain, add it to CONTENTDM_EXTRA_INSTANCES; a tool argument cannot, for the reason under Security.
You need Python 3.11 or later and uv. There is no key to request.
Without cloning. uvx fetches it from PyPI and runs it in one step:
uvx contentdm-mcp
From a clone, which is what you want if you will change it:
git clone https://github.com/ianderso/contentdm-mcp
cd contentdm-mcp uv sync uv run contentdm-mcp # stdio server, usually launched by the client
Either way the server speaks MCP over stdio, so you will normally let an MCP client start it rather than run it by hand.
{
"mcpServers": { "contentdm": { "command": "uvx", "args": ["contentdm-mcp"] } } }
A desktop app does not always inherit your shell's PATH. If the server fails to start because uvx cannot be found, give the full path that which uvx prints as the command.
claude mcp add contentdm -- uvx contentdm-mcp
Nothing is required. A .env file in the directory the server starts in supplies anything the environment does not; only that directory is read.
| Variable | Meaning |
|---|---|
CONTENTDM_CACHE_DIR | Response cache directory. Default ~/.cache/contentdm-mcp. |
CONTENTDM_TIMEOUT | HTTP timeout in seconds for one request. Default 30. Image downloads get 120 to read. |
CONTENTDM_MIN_INTERVAL | Least seconds between two requests to one site. Default 1, and never below 0.5. |
CONTENTDM_CONTACT | An email address or URL added to the User-Agent, so an institution can reach you if your use causes trouble. Optional, and courteous. |
CONTENTDM_EXTRA_INSTANCES | More sites a tool may reach by their own domain: https base URLs separated by commas, or the absolute path of a YAML file whose entries are shaped like instances.yaml's (only base_url is required). list_instances lists them; a search of every site leaves them out. |
CONTENTDM_DOWNLOAD_DIR | An existing folder. When set, get_image saves only inside it. Set it to save into an iCloud Drive folder, which lives under ~/Library. |
An unusable value is reported on the first tool call as a not_configured result naming the variable.
Each site is one institution's server. The client sends one request at a time to each site, at least a second apart; a search across several sites runs them side by side, six at a time, so no site sees more than one caller. Two identical calls in flight share one request. Collection lists and field definitions are cached for 30 days, items for 7, searches for a day. A 429, a 5xx or a dropped connection gets one retry, honouring Retry-After. The User-Agent names the package, its version and this repository.
robots.txt on these sites disallows the website's search pages, not the API this server uses. Each institution's own terms govern what you do with its images: list_instances and get_item pass on what the sites say, and several ask for permission before publication.
failed, timed_out and not_searched list the sites a negative does not cover. A site that redirects, asks for a bot check or lists no collections has usually moved.page_hits=true, or get_pages with a query, to find the page.namea in one collection and father in another. get_collection says which nick holds what, and which field is the transcript: that is marked by type, because the name differs from site to site.all needs every word, any one of them.get_image with pdf_page reaches the others.54784_460 and stamped 457. Cite the printed number too when it differs.citation each result carries, and the institution's own cite_as line where get_item finds one (Georgia, Oklahoma and Alaska items have them). Record the identifier (alias:pointer) so the item can be found again.Tool arguments are written by a model, and the model reads text this server does not control: titles, transcripts, DPLA records, web pages. The server assumes that text can steer the model, and limits what a steered model can make it do.
contentdm.oclc.org (OCLC's own servers), and the sites you list in CONTENTDM_EXTRA_INSTANCES. Any other host is refused before it is even looked up, because a DNS query for secret.attacker.example would already deliver the name; the refusal says how to reach the site instead.只显示了开头部分;其余内容请在仓库中阅读