Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Find which archive holds the papers: SNAC's index of archival collections, plus ArchiveGrid links.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SNAC_API_URL, SNAC_CACHE_DIR, SNAC_TIMEOUT, SNAC_CONTACT你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"snac-archives": {
"command": "uvx",
"args": [
"snac-archives-mcp"
],
"env": {
"SNAC_API_URL": "your-value",
"SNAC_CACHE_DIR": "your-value",
"SNAC_TIMEOUT": "your-value",
"SNAC_CONTACT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add snac-archives --env SNAC_API_URL=your-value --env SNAC_CACHE_DIR=your-value --env SNAC_TIMEOUT=your-value --env SNAC_CONTACT=your-value -- uvx snac-archives-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"snac-archives": {
"command": "uvx",
"args": [
"snac-archives-mcp"
],
"env": {
"SNAC_API_URL": "your-value",
"SNAC_CACHE_DIR": "your-value",
"SNAC_TIMEOUT": "your-value",
"SNAC_CONTACT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"snac-archives": {
"type": "stdio",
"command": "uvx",
"args": [
"snac-archives-mcp"
],
"env": {
"SNAC_API_URL": "your-value",
"SNAC_CACHE_DIR": "your-value",
"SNAC_TIMEOUT": "your-value",
"SNAC_CONTACT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SNAC_API_URL envSNAC_CACHE_DIR envSNAC_TIMEOUT envSNAC_CONTACT env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 ianderso 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于32天前进入注册中心。
支持 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 finding which archive holds the papers: a family's letters, a church's registers, a store's ledgers, a county office's loose papers. Most of that material has never been digitised. It exists online only as a catalogue record or a finding aid in some library, and the hard part of the research is knowing which one.
The server searches the [SNAC Cooperative](https://snaccooperative.org)'s index of people, families and organisations and the archival collections that hold their papers, across thousands of repositories. The data is CC0, and the API needs no key and no account. It also builds [ArchiveGrid](https://researchworks.oclc.org/archivegrid/) searches for you to open, because ArchiveGrid often finds what SNAC cannot, and OCLC does not permit automated access to it.
It works the way a careful genealogist does. Everything it returns is a finding aid: evidence of where to look and roughly what is there, never of what a document says. The tools say so, and they point you at the holding repository's own finding aid, which is the description to cite.
Nothing here writes anywhere, and nothing here keeps a family tree. The server finds collections; what you conclude from the papers belongs in your genealogy software, or in a family-tree MCP server running alongside this one. It sits well beside nara-catalog-mcp (federal records) and familysearch-mcp (indexed records and images).
This is an independent project. It is not affiliated with, endorsed by, or supported by the SNAC Cooperative, the University of Virginia, or OCLC.
The server publishes eight tools, all read-only and annotated so for the client. Two make no network call at all.
Finding collections
| Tool | Purpose |
|---|---|
search_collections | Find collections by words in their title. Each hit names its holding repository with a postal address, its OCLC number and its link, and flags the likely duplicates (the same papers catalogued two or three times). |
get_collection | One collection in full: the whole abstract, extent, repository, links, and the names SNAC connects to it. |
repository_holdings | What SNAC links to one repository, filtered by title and paged. |
Finding people, families and organisations
| Tool | Purpose |
|---|---|
search_names | Find SNAC name records by name, optionally by kind: person, family, or corporate body (churches, businesses, societies, offices). |
get_name | One name record: headings, dates, places, biographical note and identifier links (VIAF, Library of Congress and others). With detail="full", every collection linked to it, with its role, and the related names. |
collections_in_common | Collections linked to both of two names: where to look for letters between intermarried families or an ancestor's associates. |
Where SNAC stops
| Tool | Purpose |
|---|---|
archivegrid_search_link | Build an ArchiveGrid search, in its fielded syntax, for you to open; or a record link, given an OCLC number. Makes no request. |
cache_status | This session's live calls and cache hits. Makes no request. |
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 snac-archives-mcp
From a clone, which is what you want if you will change it:
git clone https://github.com/ianderso/snac-archives-mcp
cd snac-archives-mcp uv sync uv run snac-archives-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": { "snac": { "command": "uvx", "args": ["snac-archives-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 snac -- uvx snac-archives-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 |
|---|---|
SNAC_API_URL | The SNAC REST endpoint. Default https://api.snaccooperative.org/. Must be https; its host is the only one the server will contact. |
SNAC_CACHE_DIR | Response cache directory. Default ~/.cache/snac-archives-mcp. |
SNAC_TIMEOUT | HTTP timeout in seconds. Default 60. Holdings lists get 120. |
SNAC_CONTACT | An email address or URL added to the User-Agent, so the SNAC team can reach you if your use causes trouble. Optional, and courteous. |
An unusable value is reported on the first tool call as a not_configured result naming the variable.
SNAC is a free service run by a small cooperative, and it publishes no rate limit. The server sends one request at a time, at least a second apart; two identical calls in flight share one request; and every answer is cached on disk for 30 days (a collection record for good). A 429 or a 5xx is retried three times with back-off, then reported as rate_limited or upstream_error, which is never the same as "nothing found". Pass refresh=true to ask again, and refresh a cached empty result before concluding anything is absent.
link_kind is finding_aid, the link goes there; otherwise look the collection up in the repository's own catalogue.ark:/99166/...) is the stable id of a name record. Record the repository's collection number too: WorldCat merges records, and a number can come to redirect to another.search_collections needs every word in the collection's *title*. "Davenport family papers" finds ten collections; "Davenport family papers Lincoln County" finds none, because the county is only in the abstract. Use search_names, or an ArchiveGrid link with place.possible_duplicate_of groups them by title words and years; it is a hint, not a merge.creatorOf means these are the name's own papers; referencedIn means the name is an index term on the collection, not that any document concerns the person. maybe_same_count above 0 means SNAC suspects a conflation.location is where the *repository* is; place is a place the papers are *about*. Its name, place and subject indexes cover catalogue records and EAD finding aids only; HTML and PDF finding aids match keywords alone. It leaves out records held by more than one library, so microfilm of county or church records is usually missing: use WorldCat or the FamilySearch Catalog for that.SNAC_API_URL must be https.To report a vulnerability, see SECURITY.md.
uv sync --extra dev
uv run pytest # mocked with respx; never touches SNAC uv run ruff check . uv run ruff format --check . uv run python -m tests.live_check # eight paced calls to the live API
The live check asks SNAC what the recorded fixtures cannot: whether its answers still have the shape the server reads. See CONTRIBUTING.md for how the suite is organised, docs/API-NOTES.md for what was observed of the API and when, and docs/DESIGN.md for why the server is shaped this way.
The data is the SNAC Cooperative's, released under CC0, with collection records contributed by its member institutions and drawn from WorldCat and finding aids. ArchiveGrid is a project of OCLC Research.
MIT.