原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MCP Libraryofcongress

作者:smeet666版本 3.1.0i★ –i在你的电脑上运行
注册名称io.github.smeet666/mcp-libraryofcongress

安装

概览

作者提供的说明(英文原文)

Search inside scanned US newspapers and browse the Library of Congress catalogue. No API key.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: LOC_USER_AGENT, LOC_MIN_INTERVAL_MS, LOC_TIMEOUT_MS, LOC_NEWSPAPER_TIMEOUT_MS, LOC_LOG_LEVEL

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

下载作者的 .mcpb 文件

链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。

在终端中运行这条命令

claude mcp add libraryofcongress --env LOC_USER_AGENT=your-value --env LOC_MIN_INTERVAL_MS=your-value --env LOC_TIMEOUT_MS=your-value --env LOC_NEWSPAPER_TIMEOUT_MS=your-value --env LOC_LOG_LEVEL=your-value -- npx -y mcp-libraryofcongress

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "libraryofcongress": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-libraryofcongress"
      ],
      "env": {
        "LOC_USER_AGENT": "your-value",
        "LOC_MIN_INTERVAL_MS": "your-value",
        "LOC_TIMEOUT_MS": "your-value",
        "LOC_NEWSPAPER_TIMEOUT_MS": "your-value",
        "LOC_LOG_LEVEL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "libraryofcongress": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-libraryofcongress"
      ],
      "env": {
        "LOC_USER_AGENT": "your-value",
        "LOC_MIN_INTERVAL_MS": "your-value",
        "LOC_TIMEOUT_MS": "your-value",
        "LOC_NEWSPAPER_TIMEOUT_MS": "your-value",
        "LOC_LOG_LEVEL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • LOC_USER_AGENT env
    Identify your own client. The project's own identifier is appended, so the Library can always reach a human.
  • LOC_MIN_INTERVAL_MS env
    Minimum milliseconds between requests. Default 6000, floor 3000.
  • LOC_TIMEOUT_MS env
    Deadline for one catalogue, record or collection request, in milliseconds. Default 30000.
  • LOC_NEWSPAPER_TIMEOUT_MS env
    Deadline for one search_newspapers request, in milliseconds. The full-text corpus answers in tens of seconds. Default 90000.
  • LOC_LOG_LEVEL env
    silent, error, info or debug. Default error. Logs go to stderr.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 smeet666 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5755 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5755 个服务器的 78% 更新
  • 基础检查结果等于或优于此分类中其他 5755 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MCP Libraryofcongress 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(3.1.0)于10天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, MCPB。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

Up-to-date docs for AI agents

作者:upstash广泛使用↓ 97.3万/周★ 6.4万3天前更新

电脑或云端

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

作者:DeusData广泛使用↓ 1.8万/周★ 4.8万23天前更新

在你的电脑上运行

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

作者:exa-labs广泛使用★ 52132个月前更新

在云端运行✓ exa.ai

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

mcp-libraryofcongress

The Library of Congress is the national library of the United States, and it publishes a large part of its holdings online: books, photographs, maps, sound recordings, manuscripts, and the pages of American newspapers going back to the eighteenth century. The newspaper pages have been scanned and run through optical character recognition, so the words printed on them can be searched. Curators also gather material into digital collections, each described and published as a body of its own.

This server connects a chat client to that library. You can search the words printed inside the newspapers, search the catalogue by title, creator, subject, place or language, read one record with its rights statement and where the original is held, and list the digital collections. It needs no API key and no account.

_Version française_


Install

One-click install

Claude Code

claude mcp add libraryofcongress -- npx -y mcp-libraryofcongress

Claude Desktop, Cursor, and any client using the standard config format

{

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

Node 24 or later is required, and no environment variable has to be set.

With Docker
{

"mcpServers": { "libraryofcongress": { "command": "docker", "args": ["run", "-i", "--rm", "ghcr.io/smeet666/mcp-libraryofcongress:3.1.0"] } } }

-i keeps stdin open, which is where the protocol travels, and -t is left out because a TTY rewrites the stream. The container needs outbound HTTPS to www.loc.gov and chroniclingamerica.loc.gov, and nothing else: no volume, no port, no credential.

Bundle, without npm

Download mcp-libraryofcongress-3.1.0.mcpb from the latest release and open it. A client that supports MCP bundles installs it on its own, with no npm and no configuration file to edit. The bundle carries its dependencies, so nothing is fetched at install time.

What you can ask

  • "What did Oklahoma newspapers write about the 1907 statehood vote?"
  • "Find me photographs of Chicago tenements before 1920."
  • "Read that record and tell me who holds the original."
  • "What digital collections are there on the Civil War?"
  • "Can I reuse that photograph?"

The ordinary path runs from a search to a record: a row carries an identifier, and get_item reads it.

Tools

ToolWhat it does
search_newspapersSearches the words printed inside scanned newspaper pages.
search_itemsSearches the catalogue by title, creator, subject, place or language.
get_itemReads one record, its rights and where the original is held.
list_collectionsLists the digital collections curators published.
search_newspapers

Searches the text of scanned newspaper pages, which came off the page through optical character recognition.

ArgumentTypeRequiredWhat it does
querystring, 1 to 300 charactersyesThe words to look for on the pages.
locationstring, up to 120 charactersnoA place the paper was published in.
publicationstring, up to 200 charactersnoOne newspaper.
year_frominteger, 1000 to 9999noEarliest year, inclusive.
year_tointeger, 1000 to 9999noLatest year, inclusive.
limitinteger, 1 to 25, default 10noMatches to serve.
pageinteger, 1 to 100, default 1noWhich page of matches.
max_excerpt_charsinteger, 80 to 1200, default 300noHow much of a passage to serve.
max_excerpts_per_matchinteger, 1 to 10, default 3noPassages served per matching page.

In return: hits, each carrying identifier, which get_item takes; title; creator, which is the library that contributed the scan; year; page_number, the leaf within the issue; published_on; publication with the years the paper ran; state; excerpts; and excerpt_kind.

`excerpt_kind` decides what an excerpt is worth. A passage is the text around the words that matched, centred on them. A page_opening is the start of the leaf, sent because the text the Library returned with the row stops before those words appear: it does not carry the match, so quoting it quotes something else, and source_url opens the leaf with the query applied. `total` counts newspaper leaves, and it pages: it is never a count of how many times the words occur.

search_items

Searches the catalogue, one kind of thing at a time.

ArgumentTypeRequiredWhat it does
querystring, 1 to 300 charactersyesWords to look for.
media_typebooks, photos, maps, audio, manuscripts or newspapersnoThe catalogue to read.
year_frominteger, 1000 to 9999noEarliest year, inclusive.
year_tointeger, 1000 to 9999noLatest year, inclusive.
subjectstring, up to 120 charactersnoA subject heading.
locationstring, up to 120 charactersnoA place.
languagestring, up to 120 charactersnoA language, written in English.
collectionstring, up to 160 charactersnoOne collection, as list_collections names it.
online_onlyboolean, default truenoKeep the records available online.
sortrelevance, newest, oldest or title, default relevancenoHow the rows are ordered.
limitinteger, 1 to 50, default 10noRows to serve.
pageinteger, 1 to 100, default 1noWhich page of rows.

In return: items, each carrying identifier, title, creator, year, date as published, which is often a range, is_collection and source_url. The Library keeps one catalogue per kind of thing, so a search without media_type reads the general one, and total counts the records matching there.

get_item

Reads one record. The heavier parts are asked for rather than served by default, and a long description paginates.

ArgumentTypeRequiredWhat it does
identifierstring, 1 to 300 charactersyesThe identifier a row carries.
sectionsarray of basic, citations, resources, full_metadata, default ["basic"]noWhich parts to return.
offsetinteger, 0 or more, default 0noWhere to resume the description.
max_description_charsinteger, 200 to 20000, default 2000noHow much of the description to serve.

In return: the record with its title, creator, year, date, format and source_url, plus description, subjects, location, language, part_of for the collections and divisions it sits in, repository naming where the original is held, call_number and rights. A field the record leaves empty is null. next_offset continues a long description and is null at the end. An identifier can carry slashes: a single newspaper issue is named by its paper, its date and its edition together.

list_collections

Lists the digital collections, bodies of material a curator chose, described and published together.

ArgumentTypeRequiredWhat it does

| limit | integer, 1 to 50, default 20 | n

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx