MCP directory
LM

Libofcongress Mcp Server

by github.com/cyanheads · v0.6.1 · updated Nov 13, 2026

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

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://libofcongress.caseyjhand.com/mcp

Claude Code

claude mcp add --transport http libofcongress-mcp-server https://libofcongress.caseyjhand.com/mcp

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • LOC_USER_AGENT

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

  • LOC_REQUEST_DELAY_MS

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

  • MCP_LOG_LEVEL

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

  • MCP_SESSION_MODE

    HTTP session mode: auto, stateful, or stateless.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • MCP_TRANSPORT_TYPE

    Selects the HTTP transport.

  • LOC_USER_AGENT

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

  • LOC_REQUEST_DELAY_MS

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

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

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

  • MCP_LOG_LEVEL

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

  • MCP_SESSION_MODE

    HTTP session mode: auto, stateful, or stateless.

More from github.com/cyanheads

More MCP servers