io.github.cyanheads/libofcongress-mcp-server
v0.5.1Search LOC digital collections, Chronicling America newspapers (full OCR), and LC Subject Headings.
Endpoint health
online- Last checked
- 11/20/2026, 9:18:07 AM
- Latency
- 301 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:io.github.cyanheads%2Flibofcongress-mcp-server
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"io.github.cyanheads/libofcongress-mcp-server": {
"url": "https://libofcongress.caseyjhand.com/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
6 shown · authentication unknown
Browse LOC Collections
libofcongress_browse_collections
List and browse Library of Congress curated digital collections. Returns collection names, descriptions, item counts, slugs, and URLs. Optionally filter by keyword. Collections are curated subsets of the digital holdings with specific focuses (e.g., "Civil War Glass Negatives", "Baseball Cards", "WPA Posters"). Pass a returned slug to libofcongress_search_items.collection_slug to search within it; use query "*" to browse matching records, optionally with format, date and sort filters. Use the returned URL to navigate directly to a collection on loc.gov.
Schema valid · SHA-256 f0276ae3361e…
View input schema
{ "type": "object", "properties": { "query": { "description": "Optional keyword to filter collections by name or description. Omit to list all collections.", "type": "string" }, "limit": { "default": 25, "description": "Maximum number of collections to return. Default 25. A page holds at most 100 collections: a larger limit (up to 1000) is served as a 100-collection page, and page then counts 100-collection pages.", "type": "integer", "minimum": 1, "maximum": 1000 }, "page": { "default": 1, "description": "1-indexed page number for paginating results.", "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false }Get LOC Item
libofcongress_get_item
Retrieve the full metadata record for a specific LOC digital item. Returns the imprint (place, publisher, and date of publication), contributors as cataloged and the contributor terms the search contributor filter accepts, LCSH subject headings and the subject terms the search subject filter accepts, summary, languages, locations, rights information, physical description, call number, original and online formats, access restrictions, former catalog IDs, notes, and related items, plus the item's digital resources (each with its page count, representative image, PDF, audio or video file, and download restriction; a recording, tape side, or film reel LOC sends with only its media file has no url and no pages) and a window of its pages. Each page has a page_url and has_text; pass a page_url with has_text true to libofcongress_get_newspaper_page to read that page's text (newspaper, book, and manuscript pages alike). A resource with has_transcription true holds one transcription of its whole document: pass any of its page_urls, even with has_text false, to read it. A long item lists 50 pages per call: continue with page_offset set to next_page_offset. Set include_files for each listed page's downloadable files (TIFF, JP2, JPEG sizes, text). Use after libofcongress_search_items on a result whose is_item is true. Pass the result id — a simple ID, an LCCN, or a slash-separated newspaper path — or a loc.gov item link (`https://www.loc.gov/item/<id>/`) or LCCN permalink (`https://lccn.loc.gov/<lccn>`), which is read as its id. Non-item results (is_item: false) — collections, exhibits, guides, newspaper pages, catalog.loc.gov records, hdl.loc.gov finding aids — have no item record and cannot be retrieved here.
Connections
streamable-http
https://libofcongress.caseyjhand.com/mcp