Skip to main content
Glama

NARA MCP Server

Read-only Model Context Protocol server for the US National Archives Catalog API.

The server uses the public National Archives Catalog API and expects an API key in the NARA_API_KEY environment variable. Do not commit your key.

Data attribution: API responses come from the US National Archives Catalog. Follow the National Archives API Terms of Service and attribution guidance: https://www.archives.gov/research/catalog/help/api-terms-of-service

Tools

  • search_records: Search National Archives Catalog records.

  • get_record: Fetch a single record by National Archives Identifier.

  • get_child_records: Fetch records under a parent National Archives Identifier.

  • get_record_extracted_text: Fetch extracted text for a record.

  • get_record_comments: Fetch comments for a record.

  • get_record_tags: Fetch tags for a record.

  • catalog_request: Advanced read-only GET request for supported Catalog API paths.

Related MCP server: Earthdata MCP Server

Setup

npm install
npm run build

Set your API key:

export NARA_API_KEY="your-api-key"

Optional:

export NARA_API_BASE_URL="https://catalog.archives.gov/api/v2"

Run

npm start

Claude Desktop Example

{
  "mcpServers": {
    "nara": {
      "command": "node",
      "args": ["/absolute/path/to/nara-mcp-server/dist/index.js"],
      "env": {
        "NARA_API_KEY": "your-api-key"
      }
    }
  }
}

Development

npm run check
npm run dev

Notes

This project intentionally exposes read-only operations. National Archives contribution endpoints require additional policy care and a key with write permissions, so they are not included.

Available Tools

7 tools
catalog_requestAdvanced Catalog API requestB

Run a read-only GET request against a National Archives Catalog API path.

Inputs: path (required), params.

get_child_recordsGet child recordsB

Fetch records whose parent is the supplied National Archives Identifier.

Inputs: parentNaId (required), limit, page, sourceIncludes.

get_recordGet a National Archives recordA

Fetch a record by National Archives Identifier using the Catalog search endpoint.

Inputs: naId (required), sourceIncludes.

get_record_commentsGet record commentsC

Fetch public comments for a National Archives Identifier.

Inputs: naId (required), limit, page.

get_record_extracted_textGet record extracted textA

Fetch extracted OCR/text for a National Archives Identifier, where available.

Inputs: naId (required).

get_record_tagsGet record tagsC

Fetch public tags for a National Archives Identifier.

Inputs: naId (required), limit, page.

search_recordsSearch National Archives recordsC

Search the US National Archives Catalog records endpoint.

Inputs: query, title, naId, level, +9 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct operation: raw API access, search, record retrieval by ID, children, comments, tags, and OCR text. No two tools have overlapping purposes, and descriptions are clear.

    Naming Consistency4/5

    Most tools follow a consistent 'get_' prefix with noun suffixes (e.g., get_record, get_record_comments). The exception is 'catalog_request' which reverses the pattern (noun_verb), but it remains readable.

    Tool Count5/5

    Seven tools is well-scoped for a read-only catalog API. Each tool serves a specific need without redundancy, and the count is appropriate for the domain.

    Completeness5/5

    The tool set covers essential operations: searching, retrieving records, navigating hierarchy (children), and accessing associated metadata (comments, tags, OCR). The raw API tool fills any gaps, ensuring completeness.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server implementation to query the NIST National Vulnerability Database (NVD) via its API.
      2
      18
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      A Model Context Protocol server that enables efficient discovery and retrieval of NASA Earth Data for geospatial analysis.
      27
      BSD 3-Clause
    • A
      license
      C
      quality
      F
      maintenance
      A Model Context Protocol server that exposes Synapse Entities (Datasets, Projects, Folders, Files, Tables) with their annotations, enabling programmatic access to Synapse data resources through a RESTful API.
      7
      11
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      A Model Context Protocol server that provides LLM-friendly access to the official GovInfo API for searching and retrieving U.S. government documents including bills, laws, regulations, and other official publications.
      7
      -