@pipeworx/us-national-archives
OfficialThis server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
@pipeworx/us-national-archives
The US National Archives Catalog (NARA) — descriptions of the federal government's permanent records from every agency and presidential library, with direct links to the digitised page images where they exist.
Part of Pipeworx — an MCP gateway connecting AI agents to 1857+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
nara_search(query, limit?, page?, available_online?, level_of_description?, record_group_number?, include_digital_objects?)— keyword search across the catalog.nara_record(naid)— one record in full, with its archival hierarchy.nara_digital_objects(naid, limit?)— the scans attached to a record, with public-domain download URLs.
Related MCP server: Arke Institute MCP Server
Auth
Keyless. No x-api-key is needed or used — see below.
Data sources
https://catalog.archives.gov/proxy/v3/records/search — search and record fetch.
Things worth knowing:
The documented
/api/v2/path with anx-api-keyis not routed. Everycatalog.archives.gov/api/v2/...URL returns the catalog's single-page app astext/htmlwith a 200 and the same ETag as a deliberately nonsensical path, with or without a key. It is not an outage and a key would not fix it; the path simply is not served. The endpoint the catalog's own front end calls is/proxy/v3/records/search, and it is unauthenticated./proxy/records/search(nov3) rejects most page sizes.limit1, 10, 20, 50, 100 and 1000 return JSON; 2, 3, 4, 5, 15 and 25 return the SPA HTML with a 200. Deterministic over three runs each./proxy/v3/records/searchaccepts any limit, which is why this pack only calls v3 — and it still checks the content type before parsing, because a 200 that is secretly HTML is exactly the shape of a silent failure.Paging is
page(1-based).offsetandfromare ignored.A single record is
naId_is=, notnaId=; the latter is the comma-list multi-fetch form.NAIDs are JSON numbers in the body and strings in arguments. Reading only the string form blanks every id in a search result without erroring.
The payload is raw Elasticsearch:
body.hits.total.valueandbody.hits.hits[]._source.record.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"us-national-archives": {
"url": "https://gateway.pipeworx.io/us-national-archives/mcp"
}
}
}What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/us-national-archives/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}Both URLs reach the same gateway and the same 1857+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
curl -X POST https://gateway.pipeworx.io/v1/tools/nara_search \
-H 'Content-Type: application/json' \
-d '{"query":"Apollo 11 moon","available_online":true,"limit":3}'No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/nara_search. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Run it from npm
@pipeworx/mcp-us-national-archives is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with npx, and it forwards every call to the same
https://gateway.pipeworx.io/us-national-archives/mcp endpoint shown above. It needs network access;
there is no offline mode.
{
"mcpServers": {
"us-national-archives": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-us-national-archives"]
}
}
}Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
"env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to
also list ask_pipeworx and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by
default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check
your Node version's documentation.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Us National Archives data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Search the Wayback Machine and IA library (40M+ items), fetch snapshots, item metadata, and text.
Search declassified UAP/UFO government archives, geocoded sightings and cited entity profiles.
Search LOC digital collections, Chronicling America newspapers (full OCR), and LC Subject Headings.
Search experimental video history, read public records, follow sources and export citations.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables users to search and access digital collections from the Swedish National Archives (Riksarkivet) through multiple APIs. Supports searching records by keywords, exploring collections, and downloading historical images and documents.227Apache 2.0
- FlicenseNot gradedqualityNot gradedmaintenanceEnables semantic search across the Arke Institute's extensive archive of NARA records and presidential libraries using natural language queries. Provides access to millions of historical documents, photographs, and records with OCR'd content and complete metadata.-
- FlicenseNot gradedqualityCmaintenanceEnables querying genealogical records, archive statistics, historical weather, and full-text transcriptions from Open Archives via natural language.17 npm4-
- AlicenseNot gradedqualityBmaintenanceEnables full-text search of digitized historical U.S. newspapers from the Library of Congress Chronicling America collection, returning publication metadata and page-scan image URLs with filters for date range and state.477 npmMIT