SNAC Archives

v0.1.0
io.github.ianderso/snac-archives-mcp Checked 1 day ago Published 1 month ago

Find which archive holds the papers: SNAC's index of archival collections, plus ArchiveGrid links.

Values you need

VariableWhat it is
SNAC_API_URLoptional The SNAC REST API endpoint. Default: https://api.snaccooperative.org/
SNAC_CACHE_DIRoptional Directory for the on-disk response cache. Default: ~/.cache/snac-archives-mcp
SNAC_TIMEOUToptional HTTP timeout in seconds. Holdings lists get 120 s of their own. Default: 60
SNAC_CONTACToptional An email address or URL appended to the User-Agent, so SNAC can reach whoever runs the server.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add snac-archives-mcp -- uvx snac-archives-mcp==0.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "snac-archives-mcp": {
      "args": [
        "snac-archives-mcp==0.1.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "snac-archives-mcp": {
      "args": [
        "snac-archives-mcp==0.1.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "snac-archives-mcp": {
      "args": [
        "snac-archives-mcp==0.1.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.snac-archives-mcp]
command = "uvx"
args = ["snac-archives-mcp==0.1.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: search_collections, get_collection, search_names, get_name, collections_in_common, repository_holdings, archivegrid_search_link, cache_status.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json