libofcongress-mcp-server
An MCP server that enables agents to search Library of Congress digital collections, browse Chronicling America newspapers with full OCR text, and look up LC Subject Headings. It supports STDIO or Streamable HTTP protocols and provides tools for searching items, retrieving metadata, searching newspapers, and browsing curated collections.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Search LOC digital collections by keyword with filters
- Browse Chronicling America newspapers with full OCR text
- Look up LC Subject Headings by keyword
- Retrieve full metadata for specific LOC digital items
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@cyanheads/libofcongress-mcp-server 0.5.1
{
"version": "0.5.1",
"transport": "stdio",
"identifier": "@cyanheads/libofcongress-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "LOC_USER_AGENT",
"format": "string",
"default": "libofcongress-mcp-server/0.5.1",
"description": "User-Agent header sent with LOC API requests. LOC recommends a descriptive value for polite access."
},
{
"name": "LOC_REQUEST_DELAY_MS",
"format": "string",
"default": "3100",
"description": "Delay in milliseconds between LOC API requests to stay under the 20 req/min rate limit."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
},
{
"name": "MCP_SESSION_MODE",
"format": "string",
"default": "stateless",
"description": "HTTP session mode: auto, stateful, or stateless."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"libofcongress-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/libofcongress-mcp-server@0.5.1"
],
"env": {
"LOC_USER_AGENT": "<YOUR_LOC_USER_AGENT>",
"LOC_REQUEST_DELAY_MS": "<YOUR_LOC_REQUEST_DELAY_MS>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"MCP_SESSION_MODE": "<YOUR_MCP_SESSION_MODE>"
}
}
}
}Cline
{
"mcpServers": {
"libofcongress-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/libofcongress-mcp-server@0.5.1"
],
"env": {
"LOC_USER_AGENT": "<YOUR_LOC_USER_AGENT>",
"LOC_REQUEST_DELAY_MS": "<YOUR_LOC_REQUEST_DELAY_MS>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"MCP_SESSION_MODE": "<YOUR_MCP_SESSION_MODE>"
}
}
}
}VS Code
{
"servers": {
"libofcongress-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/libofcongress-mcp-server@0.5.1"
],
"env": {
"LOC_USER_AGENT": "<YOUR_LOC_USER_AGENT>",
"LOC_REQUEST_DELAY_MS": "<YOUR_LOC_REQUEST_DELAY_MS>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"MCP_SESSION_MODE": "<YOUR_MCP_SESSION_MODE>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"libofcongress-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/libofcongress-mcp-server@0.5.1"
],
"env": {
"LOC_USER_AGENT": "<YOUR_LOC_USER_AGENT>",
"LOC_REQUEST_DELAY_MS": "<YOUR_LOC_REQUEST_DELAY_MS>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"MCP_SESSION_MODE": "<YOUR_MCP_SESSION_MODE>"
}
}
}
}Let your agent find its tools
Find servers like libofcongress-mcp-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.