Official server.json
{
"name": "io.github.cyanheads/libofcongress-mcp-server",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://libofcongress.caseyjhand.com/mcp",
"type": "streamable-http"
}
],
"version": "0.5.1",
"packages": [
{
"version": "0.5.1",
"transport": {
"type": "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."
}
]
},
{
"version": "0.5.1",
"transport": {
"url": "http://localhost:3010/mcp",
"type": "streamable-http"
},
"identifier": "@cyanheads/libofcongress-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MCP_TRANSPORT_TYPE",
"value": "http",
"format": "string",
"description": "Selects the HTTP transport."
},
{
"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_HTTP_HOST",
"format": "string",
"default": "127.0.0.1",
"description": "The hostname for the HTTP server."
},
{
"name": "MCP_HTTP_PORT",
"format": "string",
"default": "3010",
"description": "The port to run the HTTP server on."
},
{
"name": "MCP_HTTP_ENDPOINT_PATH",
"format": "string",
"default": "/mcp",
"description": "The endpoint path for the MCP server."
},
{
"name": "MCP_AUTH_MODE",
"format": "string",
"default": "none",
"description": "Authentication mode to use: 'none', 'jwt', or 'oauth'."
},
{
"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."
}
]
}
],
"repository": {
"url": "https://github.com/cyanheads/libofcongress-mcp-server",
"source": "github"
},
"description": "Search LOC digital collections, Chronicling America newspapers (full OCR), and LC Subject Headings."
}