Back to Browse

Libofcongress MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

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

About

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

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: 8 highly-trusted packages.

4 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

What You'll Need

Set these up before or after installing:

User-Agent header sent with LOC API requests. LOC recommends a descriptive value for polite access.Optional

Environment variable: LOC_USER_AGENT

Delay in milliseconds between LOC API requests to stay under the 20 req/min rate limit.Optional

Environment variable: LOC_REQUEST_DELAY_MS

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').Optional

Environment variable: MCP_LOG_LEVEL

HTTP session mode: auto, stateful, or stateless.Optional

Environment variable: MCP_SESSION_MODE

The hostname for the HTTP server.Optional

Environment variable: MCP_HTTP_HOST

The port to run the HTTP server on.Optional

Environment variable: MCP_HTTP_PORT

The endpoint path for the MCP server.Optional

Environment variable: MCP_HTTP_ENDPOINT_PATH

Authentication mode to use: 'none', 'jwt', or 'oauth'.Optional

Environment variable: MCP_AUTH_MODE

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-cyanheads-libofcongress-mcp-server": {
      "env": {
        "MCP_AUTH_MODE": "your-mcp-auth-mode-here",
        "MCP_HTTP_HOST": "your-mcp-http-host-here",
        "MCP_HTTP_PORT": "your-mcp-http-port-here",
        "MCP_LOG_LEVEL": "your-mcp-log-level-here",
        "LOC_USER_AGENT": "your-loc-user-agent-here",
        "MCP_SESSION_MODE": "your-mcp-session-mode-here",
        "LOC_REQUEST_DELAY_MS": "your-loc-request-delay-ms-here",
        "MCP_HTTP_ENDPOINT_PATH": "your-mcp-http-endpoint-path-here"
      },
      "args": [
        "-y",
        "@cyanheads/libofcongress-mcp-server"
      ],
      "command": "npx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!