← Back to Plugins
MCP Server MCP

io.github.cyanheads/libofcongress-mcp-server

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

npx -y @cyanheads/[email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@cyanheads/libofcongress-mcp-server",
      "version": "0.2.17",
      "runtimeHint": "bun",
      "transport": {
        "type": "stdio"
      },
      "packageArguments": [
        {
          "value": "run",
          "type": "positional"
        },
        {
          "value": "start:stdio",
          "type": "positional"
        }
      ],
      "environmentVariables": [
        {
          "description": "User-Agent header sent with LOC API requests. LOC recommends a descriptive value for polite access.",
          "format": "string",
          "default": "libofcongress-mcp-server/0.2.17",
          "name": "LOC_USER_AGENT"
        },
        {
          "description": "Delay in milliseconds between LOC API requests to stay under the 20 req/min rate limit.",
          "format": "string",
          "default": "3100",
          "name": "LOC_REQUEST_DELAY_MS"
        },
        {
          "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').",
          "format": "string",
          "default": "info",
          "name": "MCP_LOG_LEVEL"
        },
        {
          "description": "HTTP session mode: auto, stateful, or stateless.",
          "format": "string",
          "default": "stateless",
          "name": "MCP_SESSION_MODE"
        }
      ]
    },
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@cyanheads/libofcongress-mcp-server",
      "version": "0.2.17",
      "runtimeHint": "bun",
      "transport": {
        "type": "streamable-http",
        "url": "http://localhost:3010/mcp"
      },
      "packageArguments": [
        {
          "value": "run",
          "type": "positional"
        },
        {
          "value": "start:http",
          "type": "positional"
        }
      ],
      "environmentVariables": [
        {
          "description": "User-Agent header sent with LOC API requests. LOC recommends a descriptive value for polite access.",
          "format": "string",
          "default": "libofcongress-mcp-server/0.2.17",
          "name": "LOC_USER_AGENT"
        },
        {
          "description": "Delay in milliseconds between LOC API requests to stay under the 20 req/min rate limit.",
          "format": "string",
          "default": "3100",
          "name": "LOC_REQUEST_DELAY_MS"
        },
        {
          "description": "The hostname for the HTTP server.",
          "format": "string",
          "default": "127.0.0.1",
          "name": "MCP_HTTP_HOST"
        },
        {
          "description": "The port to run the HTTP server on.",
          "format": "string",
          "default": "3010",
          "name": "MCP_HTTP_PORT"
        },
        {
          "description": "The endpoint path for the MCP server.",
          "format": "string",
          "default": "/mcp",
          "name": "MCP_HTTP_ENDPOINT_PATH"
        },
        {
          "description": "Authentication mode to use: 'none', 'jwt', or 'oauth'.",
          "format": "string",
          "default": "none",
          "name": "MCP_AUTH_MODE"
        },
        {
          "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').",
          "format": "string",
          "default": "info",
          "name": "MCP_LOG_LEVEL"
        },
        {
          "description": "HTTP session mode: auto, stateful, or stateless.",
          "format": "string",
          "default": "stateless",
          "name": "MCP_SESSION_MODE"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...