MCP Server Studio

MCP Libraryofcongress MCP server

Search inside scanned US newspapers and browse the Library of Congress catalogue. No API key.

Registry name: io.github.smeet666/mcp-libraryofcongress

Publisher
smeet666
Runs
Runs locally
Package
npm
Version
3.1.0
Category
Search & knowledge
Updated
2026-10-29

Source code on GitHub

Set up MCP Libraryofcongress (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-libraryofcongress": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LOC_USER_AGENT": "<LOC_USER_AGENT>",
        "LOC_MIN_INTERVAL_MS": "<LOC_MIN_INTERVAL_MS>",
        "LOC_TIMEOUT_MS": "<LOC_TIMEOUT_MS>",
        "LOC_NEWSPAPER_TIMEOUT_MS": "<LOC_NEWSPAPER_TIMEOUT_MS>",
        "LOC_LOG_LEVEL": "<LOC_LOG_LEVEL>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp-libraryofcongress -e LOC_USER_AGENT='<LOC_USER_AGENT>' -e LOC_MIN_INTERVAL_MS='<LOC_MIN_INTERVAL_MS>' -e LOC_TIMEOUT_MS='<LOC_TIMEOUT_MS>' -e LOC_NEWSPAPER_TIMEOUT_MS='<LOC_NEWSPAPER_TIMEOUT_MS>' -e LOC_LOG_LEVEL='<LOC_LOG_LEVEL>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp-libraryofcongress": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LOC_USER_AGENT": "<LOC_USER_AGENT>",
        "LOC_MIN_INTERVAL_MS": "<LOC_MIN_INTERVAL_MS>",
        "LOC_TIMEOUT_MS": "<LOC_TIMEOUT_MS>",
        "LOC_NEWSPAPER_TIMEOUT_MS": "<LOC_NEWSPAPER_TIMEOUT_MS>",
        "LOC_LOG_LEVEL": "<LOC_LOG_LEVEL>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp-libraryofcongress": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LOC_USER_AGENT": "<LOC_USER_AGENT>",
        "LOC_MIN_INTERVAL_MS": "<LOC_MIN_INTERVAL_MS>",
        "LOC_TIMEOUT_MS": "<LOC_TIMEOUT_MS>",
        "LOC_NEWSPAPER_TIMEOUT_MS": "<LOC_NEWSPAPER_TIMEOUT_MS>",
        "LOC_LOG_LEVEL": "<LOC_LOG_LEVEL>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp-libraryofcongress": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LOC_USER_AGENT": "<LOC_USER_AGENT>",
        "LOC_MIN_INTERVAL_MS": "<LOC_MIN_INTERVAL_MS>",
        "LOC_TIMEOUT_MS": "<LOC_TIMEOUT_MS>",
        "LOC_NEWSPAPER_TIMEOUT_MS": "<LOC_NEWSPAPER_TIMEOUT_MS>",
        "LOC_LOG_LEVEL": "<LOC_LOG_LEVEL>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
LOC_USER_AGENTNoIdentify your own client. The project's own identifier is appended, so the Library can always reach a human.
LOC_MIN_INTERVAL_MSNoMinimum milliseconds between requests. Default 6000, floor 3000.
LOC_TIMEOUT_MSNoDeadline for one catalogue, record or collection request, in milliseconds. Default 30000.
LOC_NEWSPAPER_TIMEOUT_MSNoDeadline for one search_newspapers request, in milliseconds. The full-text corpus answers in tens of seconds. Default 90000.
LOC_LOG_LEVELNosilent, error, info or debug. Default error. Logs go to stderr.

More search & knowledge MCP servers