io.github.cyanheads/libofcongress-mcp-server

io.github.cyanheads/libofcongress-mcp-server

Search LOC digital collections, Chronicling America newspapers (full OCR), and LC Subject Headings.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "libofcongress-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/libofcongress-mcp-server@0.6.0"
      ],
      "env": {
        "LOC_USER_AGENT": "libofcongress-mcp-server/0.6.0",
        "LOC_REQUEST_DELAY_MS": "3100",
        "MCP_LOG_LEVEL": "info",
        "MCP_SESSION_MODE": "stateless"
      }
    }
  }
}
Environment variables
  • LOC_USER_AGENTUser-Agent header sent with LOC API requests. LOC recommends a descriptive value for polite access.
  • LOC_REQUEST_DELAY_MSDelay in milliseconds between LOC API requests to stay under the 20 req/min rate limit.
  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
  • MCP_SESSION_MODEHTTP session mode: auto, stateful, or stateless.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.6.0
Registry
active
Published
11/3/2026

Remotes

  • streamable-httphttps://libofcongress.caseyjhand.com/mcp
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.cyanheads/libofcongress-mcp-server is listed here — it’s also the link we check for a free listing.

io.github.cyanheads/libofcongress-mcp-server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-cyanheads-libofcongress-mcp-server?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.cyanheads/libofcongress-mcp-server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.cyanheads/libofcongress-mcp-server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-cyanheads-libofcongress-mcp-server?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.