Skip to content
MCP server

Libofcongress MCP Server

Search LOC digital collections, Chronicling America newspapers (full OCR), and LC…

Install
Pricing
Open source
Runs
Locally or Remotely
Version
0.6.1
Listing updated
5 days ago

About Libofcongress MCP Server

Libofcongress MCP Server is an open-source MCP server. It can run locally on your machine or as a hosted remote server.

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

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://libofcongress.caseyjhand.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "libofcongress-mcp-server": {
      "url": "https://libofcongress.caseyjhand.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "libofcongress-mcp-server": {
      "type": "http",
      "url": "https://libofcongress.caseyjhand.com/mcp"
    }
  }
}

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

{
  "mcpServers": {
    "libofcongress-mcp-server": {
      "serverUrl": "https://libofcongress.caseyjhand.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "libofcongress-mcp-server": {
      "type": "http",
      "url": "https://libofcongress.caseyjhand.com/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • 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.
  • MCP_TRANSPORT_TYPESelects the HTTP transport.
  • 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_HTTP_HOSTThe hostname for the HTTP server.
  • MCP_HTTP_PORTThe port to run the HTTP server on.
  • MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.
  • MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.
  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
  • MCP_SESSION_MODEHTTP session mode: auto, stateful, or stateless.

Pricing

Open source

Libofcongress MCP Server FAQ

Is Libofcongress MCP Server free?

Yes. Libofcongress MCP Server is open source, so you can use and self-host it for free.

How do I add Libofcongress MCP Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http libofcongress-mcp-server https://libofcongress.caseyjhand.com/mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers