accueil / serveurs / Recherche & Web / io.github.cyanheads/libofcongress-mcp-server
io.github.cyanheads/libofcongress-mcp-server
serveur MCP (Model Context Protocol) · libofcongress-mcp-server 0.5.1
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.cyanheads/libofcongress-mcp-server est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.cyanheads/libofcongress-mcp-server » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 6 outils
- libofcongress_browse_collections≈ 1196 tokens
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"). Use the returned URL to navigate directly to a collection on loc.gov.
Paramètres, retour & exemple (3)
Paramètrespage· integer · optionnel
1-indexed page number for paginating results.limit· integer · optionnel
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.query· string · optionnel
Optional keyword to filter collections by name or description. Omit to list all collections.
Exemple d'appel{"name": "libofcongress_browse_collections", "arguments": {"page": 1, "limit": 1, "query": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"page": 1, "error": {}, "pages": 1, "total": 1, "notice": "texte", "has_next": true, "totalCount": 1, "collections": [], "effectiveLimit": 1}} - libofcongress_get_item≈ 2819 tokens
Retrieve the full metadata record for a specific LOC digital item. Returns the imprint (place, publisher, and date of publication), contributors, 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, and audio) 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 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.
Paramètres, retour & exemple (4)
Paramètresitem_id· string · requis
LOC item id from a libofcongress_search_items result's "id" field (where is_item is true): a simple ID ("2009632251", "2005691065") or a slash-separated path for newspaper issues ("sn95047246/1935-09-05/ed-1"). A loc.gov item link is also read as its id: "https://www.loc.gov/item/2009632251/", http or without "www.", or "item/2009632251"; so is an LCCN permalink, as its normalized LCCN: "https://lccn.loc.gov/2005567251", http or without a scheme; "lccn.loc.gov/2005-568294" reads as 2005568294. Any other URL, such as a /resource/ page URL, is rejected.page_limit· integer · optionnel
Pages to list. Default 50. A response lists at most 100 pages: a larger page_limit (up to 1000) is served as 100.page_offset· integer · optionnel
Index of the first page to list, 0-based across all of the item's resources. Default 0. Pass next_page_offset from the previous response to continue.include_files· boolean · optionnel
Also list the download URLs of each listed page's files — every JPEG size, the JP2 and TIFF masters, OCR XML, and text files. Default false.
Exemple d'appel{"name": "libofcongress_get_item", "arguments": {"item_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"url": "texte", "date": "texte", "error": {}, "notes": [], "pages": [], "title": "texte", "notice": "texte", "imprint": "texte", "item_id": "texte", "summary": "texte", "languages": [], "locations": []}} - libofcongress_get_newspaper_page≈ 2270 tokens
Retrieve the full text of one LOC page — a historical newspaper page, or a book or manuscript page — or, with match, only the passages around your search terms, with its publication metadata: for newspapers the title, issue date, place of publication, indexed states, and edition; for every page its sequence, the page count, and the item_title and item_id of the issue, book, or manuscript it belongs to — pass item_id to libofcongress_get_item to list every page of the item. Pass the url field from a libofcongress_search_newspapers result, or a pages[].page_url from libofcongress_get_item (has_text true), or a Chronicling America page link (…/ed-N/seq-M/) — do not construct this URL manually. A dense newspaper page runs to 50,000 characters: to find the article a search hit on, pass the search query as match and read the passages around it rather than the whole page. The text is OCR, or for some manuscripts a volunteer transcription; OCR quality varies by digitization batch and era, and 19th-century and degraded materials may contain fragmented text, garbled words, and line-break artifacts that are surfaced as-is. When a page exists but has no digitized text, ocr_available is false and ocr_text is empty — this is a data property, not an error.
Paramètres, retour & exemple (2)
Paramètresmatch· string · optionnel
Return the passages around these terms instead of the whole page — pass the query you gave libofcongress_search_newspapers (e.g., titanic, or "the titanic" iceberg); the q= in a search result url is not read as match. Words separated by spaces are separate terms, any of which matches; a double-quoted span is one phrase. Each matches case-insensitively as literal text, with line breaks read as spaces; OCR misreads are not repaired. When set, ocr_text is empty, matches holds up to 10 passages of about 300 characters either side of each occurrence — when they need more, occurrences of the rarest terms come first, so a common word only fills the slots left — and match_count counts every occurrence. Omit match for the whole page. Up to 200 characters; blank is ignored.page_url· string · requis
A LOC page URL: the url field from a libofcongress_search_newspapers result (e.g., "https://www.loc.gov/resource/sn83045462/1905-03-15/ed-1/?sp=1"), or a pages[].page_url from libofcongress_get_item for a newspaper, book, or manuscript page (e.g., "https://www.loc.gov/resource/mss93930.mss93930-001/?sp=3"). Also accepted: the same /resource/ URL over http or without "www.", a newspaper page path ending /ed-N/seq-M/, and a Chronicling America page link (`chroniclingamerica.loc.gov/lccn/<lccn>/<date>/ed-N/seq-M/`); each is read as its https://www.loc.gov/resource/…/?sp=M page. Pass the value as returned — do not construct page URLs.
Exemple d'appel{"name": "libofcongress_get_newspaper_page", "arguments": {"page_url": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"date": "texte", "error": {}, "notice": "texte", "states": [], "edition": "texte", "item_id": "texte", "matches": [], "ocr_text": "texte", "page_url": "texte", "sequence": 1, "item_title": "texte", "match_count": 1}} - libofcongress_search_items≈ 2689 tokens
Search the Library of Congress digital collections by keyword. Optionally filter by material format (photos, maps, newspapers, audio, etc.), date range, subject heading, or geographic location, or scope the search to a single curated collection with collection_slug. Returns item summaries with titles, dates, descriptions, LOC IDs, and format tags. Each result carries is_item: pass the id of a result where is_item is true to libofcongress_get_item for full metadata; results where is_item is false are non-item resources (collections, exhibit and research-guide pages, newspaper-page results, catalog.loc.gov records, hdl.loc.gov finding aids) with no item record — open their url instead. Use libofcongress_search_subjects to find an LCSH heading for the subject filter. To discover the subject and location values the filters accept for a search, set include_facets to get its top subject_facets and location_facets.
Paramètres, retour & exemple (10)
Paramètrespage· integer · optionnel
1-indexed page number for paginating results.limit· integer · optionnel
Results per page. Default 25. A page holds at most 100 results: a larger limit (up to 1000) is served as a 100-result page, and page then counts 100-result pages.query· string · requis
Full-text search across metadata and available descriptive text.format· string · optionnel · photo | map | newspaper | manuscript | audio | film | book | notated-music
Material type filter. Options: photo, map, newspaper, manuscript, audio, film, book, notated-music. Omit to search all formats.subject· string · optionnel
Subject filter: an LCSH heading from libofcongress_search_subjects (e.g., "World War, 1939-1945", "United States--History--Civil War, 1861-1865") or a subject term from subject_facets (include_facets) or libofcongress_get_item subject_terms (e.g., "world war"). LOC indexes headings by their parts, so the value is split at "--" into lowercase terms with dates dropped, and an item must carry every term.date_end· integer · optionnel
End year for date filter, inclusive (e.g., 1930). Omit to run through the current year.location· string · optionnel
Geographic location filter (e.g., "oklahoma", "washington d.c."). Lowercase, matches LOC location facets; location_facets (include_facets) lists values for a search.date_start· integer · optionnel
Start year for date filter, inclusive (e.g., 1920). Omit for no lower bound.include_facets· boolean · optionnel
Also return subject_facets and location_facets: LOC's top subject and location terms across every match, with counts — the values the subject and location filters accept. Default false: facets add time to each search, so request them when you need filter values to narrow by.collection_slug· string · optionnel
Scope the search to one curated collection. Use a slug exactly as returned by libofcongress_browse_collections (e.g., "aaron-copland") — slugs are not derivable from the collection title. Cannot be combined with format; omit format and read each result's format field instead. Omit to search all of LOC.
Exemple d'appel{"name": "libofcongress_search_items", "arguments": {"query": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"page": 1, "error": {}, "items": [], "pages": 1, "total": 1, "notice": "texte", "has_next": true, "totalCount": 1, "effectiveLimit": 1, "effectiveQuery": "texte", "subject_facets": [], "location_facets": []}} - libofcongress_search_newspapers≈ 2089 tokens
Search historical newspaper pages in the Chronicling America corpus. Returns matching pages with the opening of each page's OCR text (~500 characters), publication title, date, the states LOC indexes the title under, and the page URL needed for libofcongress_get_newspaper_page. Filters by keyword, date range, US state, and newspaper title. The excerpt is the page's first lines, not the text around the match: to read where the query occurs, call libofcongress_get_newspaper_page with the returned url field and this query as its match, which returns the passages around each occurrence; omit match for the full page text. OCR quality varies: 19th-century and degraded materials may contain fragmented or garbled text.
Paramètres, retour & exemple (7)
Paramètrespage· integer · optionnel
1-indexed page number for paginating results.limit· integer · optionnel
Results per page. Default 25. A page holds at most 100 results: a larger limit (up to 1000) is served as a 100-result page, and page then counts 100-result pages.query· string · requis
Keyword search across OCR text and newspaper metadata.state· string · optionnel
Filter to newspapers LOC indexes under this US state: the full state name (e.g., "oklahoma", "new york") or its two-letter postal code (e.g., "OK", "NY"), case-insensitive. Use "district of columbia" (or "DC") for Washington, D.C.; "washington" means Washington state. City and county names match nothing.date_end· ? · optionnel
End of the date filter, inclusive, in the same forms as date_start (e.g., 1920 or "1912-04-16"). A year or month ends on its last day, so "1912-04" runs through April 30. Omit to run through the current year.date_start· ? · optionnel
Start of the date filter, inclusive: an integer year (e.g., 1900) or a "YYYY", "YYYY-MM", or "YYYY-MM-DD" string (e.g., "1912-04-15"); month and day may be one or two digits. A year or month starts on its first day. Omit for no lower bound.newspaper_title· string · optionnel
Filter to one newspaper. Pass the newspaper_title value of a libofcongress_search_newspapers result exactly (case-insensitive), e.g., "new-york tribune (new york [n.y.]) 1866-1924" — the full catalog title with place and run. A shortened title such as "New-York Tribune" matches nothing.
Exemple d'appel{"name": "libofcongress_search_newspapers", "arguments": {"query": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"page": 1, "error": {}, "items": [], "pages": 1, "total": 1, "notice": "texte", "has_next": true, "totalCount": 1, "effectiveLimit": 1, "effectiveQuery": "texte"}} - libofcongress_search_subjects≈ 1146 tokens
Search Library of Congress Subject Headings (LCSH) by keyword. Returns authorized subject headings and their URIs, ranked by relevance with a heading that exactly matches the query first; a partial word with no keyword match returns the headings that begin with it. Use the returned label as the subject filter in libofcongress_search_items — LCSH uses precise, standardized terms that differ from natural language (e.g., "World War, 1939-1945" not "World War II"; "Aerial photography" not "Photography, Aerial"). Running this tool before a subject-filtered libofcongress_search_items dramatically improves result quality.
Paramètres, retour & exemple (2)
Paramètreslimit· integer · optionnel
Maximum number of subject headings to return. Default 10. A call returns at most 50 headings; a larger limit (up to 1000) returns up to 50.query· string · requis
Keyword or partial subject heading to search for (e.g., "civil war", "immigration", "jazz").
Exemple d'appel{"name": "libofcongress_search_subjects", "arguments": {"query": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"cap": 1, "error": {}, "shown": 1, "total": 1, "notice": "texte", "subjects": [], "truncated": true, "effectiveLimit": 1, "effectiveQuery": "texte"}}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».