MCP Libraryofcongress logo

MCP Libraryofcongress

Search Library of Congress newspapers, catalogue records, item rights, and digital collections through MCP.

Install MCP Libraryofcongress

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-libraryofcongress": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-libraryofcongress"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 4 tools correctly (10d ago).

Overview

The mcp-libraryofcongress MCP server connects MCP clients to Library of Congress catalogue data and scanned newspaper pages. It provides tools for OCR-text newspaper searches, catalogue searches, record lookup, and digital-collection browsing without an API key or account. Use it for historical research, source discovery, and checking an item’s rights or holding institution. It runs locally through npx, Docker, or an MCP bundle and requires Node 24 or later for the npx setup.

Use cases

  • Search historical newspaper coverage by phrase, location, publication, and year
  • Find Library of Congress records by subject, creator, place, or language
  • Inspect an item’s rights statement and original holding institution
  • Browse digital collections related to a research topic

Key features

  • Search OCR text in scanned newspapers
  • Filter newspaper results by publication and date
  • Search catalogue records across multiple media types
  • Retrieve item rights and holding information
  • List Library of Congress digital collections
  • Run without an API key or account

Tools4

What MCP Libraryofcongress lets your agent do. Expand a tool for its parameters.

Verified live~2.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

8/8 checks healthy over the last 44d

What it can do

From the 4 tools this server returned when we ran it; 4 declare their own safety hints.

Makes network requests · 4Read-only tools · 4
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age73 days
Maintainers1

Observed 2026-10-18 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · mcp-libraryofcongress (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads456Package downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Libraryofcongress works

What the mcp-libraryofcongress MCP server does

The mcp-libraryofcongress MCP server gives an AI client access to selected Library of Congress discovery functions. It can search the words found inside scanned US newspaper pages, search catalogue records, retrieve an individual item record, and list digital collections published by Library of Congress curators.

Newspaper searching uses text produced by optical character recognition. Results can include the matching page’s identifier, title, contributing library, year, page number, publication details, state, excerpts, and a source URL. Catalogue searches can cover books, photographs, maps, audio, manuscripts, or newspapers, with filters such as date, subject, location, language, and collection.

How it works

The server communicates with an MCP client over the standard local process configuration. A client invokes one of four tools:

  • search_newspapers searches OCR text from scanned newspaper pages.
  • search_items searches Library of Congress catalogue records.
  • get_item reads a record, its rights information, and where the original is held.
  • list_collections returns the available digital collections.

A typical research flow starts with search_newspapers or search_items. Search results provide an identifier, which can then be passed to get_item for more record detail. Newspaper results are paginated by matching leaves, not by the number of times a phrase appears. Excerpts may be centered on a match or may show the beginning of a page when the returned text does not include the matching words, so excerpts should be interpreted alongside their metadata.

Setup and configuration

The mcp-libraryofcongress MCP server does not require an API key, account, environment variable, volume, port, or credential. The npm-based setup requires Node 24 or later:

config.json
{
  "mcpServers": {
    "libraryofcongress": {
      "command": "npx",
      "args": ["-y", "mcp-libraryofcongress"]
    }
  }
}

Claude Code can add it with claude mcp add libraryofcongress -- npx -y mcp-libraryofcongress. Docker is also supported with the image ghcr.io/smeet666/mcp-libraryofcongress:3.0.2; stdin must remain open, and the container needs outbound HTTPS access to www.loc.gov and chroniclingamerica.loc.gov. An .mcpb bundle is available for clients that support MCP bundles and includes its dependencies.

Tools and capabilities

search_newspapers requires a query of 1–300 characters. Optional filters include publication location, publication name, year range, result limit, page number, excerpt length, and excerpts per match. Its result limit defaults to 10 and can be set from 1 to 25.

search_items requires a query of 1–300 characters. It supports media-type, year, subject, location, language, and collection filters. get_item uses an item identifier from a search result. list_collections lists the digital collections exposed by the Library of Congress.

Limitations and notes

Newspaper matches depend on OCR text, so the returned text can differ from the scan. A page_opening excerpt does not necessarily contain the query match; it is provided when the Library of Congress response does not expose the matching text in that excerpt. The total value for newspaper searches counts matching newspaper leaves, not occurrences of the query.

The mcp-libraryofcongress MCP server is focused on discovery and record retrieval.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Libraryofcongress

mcp-libraryofcongress is an MCP server that connects AI clients to Library of Congress catalogue and newspaper data. Its main tools search OCR text in scanned newspapers, search catalogue items, retrieve an item record with rights and holding details, and list digital collections. It requires no API key or account.

Install it with the standard MCP configuration using `npx -y mcp-libraryofcongress`, or run `claude mcp add libraryofcongress -- npx -y mcp-libraryofcongress` for Claude Code. Node 24 or later is required. Docker and an `.mcpb` bundle are also available.

Yes, mcp-libraryofcongress works with Cursor through the standard MCP configuration or the repository’s Cursor install link. Configure the server with the `npx` command and `-y mcp-libraryofcongress` arguments.

No, mcp-libraryofcongress requires neither an API key nor an account. The server does need network access to Library of Congress services when using the Docker setup.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Libraryofcongress AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-libraryofcongress?style=directory)](https://allmcps.com/mcp/mcp-libraryofcongress)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-libraryofcongress"><img src="https://allmcps.com/api/badge/mcp-libraryofcongress?style=directory" alt="MCP Libraryofcongress on AllMCPs" /></a>