National Archives Catalog MCP Server for Mastra AIGive Mastra AI instant access to 40 tools to Create Comment, Create Tag, Create Transcription, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect National Archives Catalog through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
Ask AI about this MCP Server for Mastra AI
The National Archives Catalog MCP Server for Mastra AI is a standout in the Knowledge Management category — giving your AI agent 40 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"national-archives-catalog": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "National Archives Catalog Agent",
instructions:
"You help users interact with National Archives Catalog " +
"using 40 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with National Archives Catalog?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About National Archives Catalog MCP Server
Connect to the National Archives Catalog (NARA) and explore the history of the United States through natural conversation. This MCP server allows your AI agent to act as a specialized research assistant, retrieving historical data, metadata, and digital objects from one of the world's largest archival collections.
Mastra's agent abstraction provides a clean separation between LLM logic and National Archives Catalog tool infrastructure. Connect 40 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
What you can do
- Deep Search — Query records by text, tags, comments, or transcriptions to find specific historical context and documents.
- Record Hierarchy — Navigate complex archival structures by retrieving immediate children of specific parent records (NaId).
- User Contributions — Manage and search through tags, comments, and transcriptions provided by the citizen archivist community.
- Metadata Retrieval — Get detailed information, status metrics, and descriptions for specific National Archives Identifiers.
- Tagging & Interaction — Create or delete tags and comments to organize research findings directly within the catalog ecosystem.
The National Archives Catalog MCP Server exposes 40 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 40 National Archives Catalog tools available for Mastra AI
When Mastra AI connects to National Archives Catalog through Vinkius, your AI agent gets direct access to every tool listed below — spanning historical-records, nara, archives, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Create comment on National Archives Catalog
Add a new comment to a record
Create tag on National Archives Catalog
Add a new tag to a record
Create transcription on National Archives Catalog
Add a new transcription
Delete comment on National Archives Catalog
Remove or deactivate a comment
Delete contributions on National Archives Catalog
Deactivate or remove multiple contributions
Delete tag on National Archives Catalog
Remove or deactivate a tag
Fetch coords on National Archives Catalog
Utility to fetch JSON data from S3 based on a provided URL
Get announcements on National Archives Catalog
Retrieve a list of all announcements
Get comment on National Archives Catalog
Retrieve a single comment by ID
Get comments by naid on National Archives Catalog
Retrieve comments for a specific record
Get comments by userid on National Archives Catalog
Retrieve comments by a specific contributor
Get contributions by target naid on National Archives Catalog
Retrieve contributions for a specific record ID
Get contributions by userid on National Archives Catalog
Retrieve contributions by user ID
Get justifications on National Archives Catalog
Retrieve a list of justifications for administrative actions
Get latest announcements on National Archives Catalog
Retrieve active announcements
Get record children on National Archives Catalog
Retrieve immediate children of a specified parent ID
Get record stats on National Archives Catalog
Retrieve statistics on user contributions
Get tag on National Archives Catalog
Retrieve a single tag by ID
Get tags by naid on National Archives Catalog
Retrieve tags for a specific record
Get tags by userid on National Archives Catalog
Retrieve tags by a specific contributor
Get transcription on National Archives Catalog
Retrieve a single transcription by ID
Get transcription history on National Archives Catalog
Retrieve transcription history
Get transcriptions by naid on National Archives Catalog
Retrieve transcriptions for a specific record
Get transcriptions by userid on National Archives Catalog
Retrieve transcriptions by a specific contributor
Get user on National Archives Catalog
Retrieve public data for a specific user
Get user notifications on National Archives Catalog
Retrieve user notifications
Get users on National Archives Catalog
Retrieve public account data (filterable by email, username, role, etc.)
Search comments on National Archives Catalog
Search for comment data
Search contributions on National Archives Catalog
Search for contribution data
Search records on National Archives Catalog
Search for records using URL parameters
Search records by comment on National Archives Catalog
Search records by comments
Search records by contribution on National Archives Catalog
Search records related to user contributions
Search records by tag on National Archives Catalog
Search records by tags
Search records by text on National Archives Catalog
Search records by other extracted text
Search records by transcription on National Archives Catalog
Search records by transcriptions
Search tags on National Archives Catalog
Search for tag data
Search transcriptions on National Archives Catalog
Search for transcription data
Update comment on National Archives Catalog
Update an existing comment
Update transcription on National Archives Catalog
Add or update a transcription
Update user on National Archives Catalog
Update user information
Connect National Archives Catalog to Mastra AI via MCP
Follow these steps to wire National Archives Catalog into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the National Archives Catalog MCP Server
Mastra AI provides unique advantages when paired with National Archives Catalog through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add National Archives Catalog without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every National Archives Catalog tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
National Archives Catalog + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the National Archives Catalog MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query National Archives Catalog, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed National Archives Catalog as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query National Archives Catalog on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using National Archives Catalog tools alongside other MCP servers
Example Prompts for National Archives Catalog in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with National Archives Catalog immediately.
"Search for records related to the 'Apollo 11 mission'."
"Get the immediate children of parent record 573036."
"Find all tags associated with record NaId 123456."
Troubleshooting National Archives Catalog MCP Server with Mastra AI
Common issues when connecting National Archives Catalog to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpNational Archives Catalog + Mastra AI FAQ
Common questions about integrating National Archives Catalog MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Explore More MCP Servers
View all →
Frontegg
12 toolsManage B2B identity, provision users, and oversee tenants via AI agents with Frontegg.

Brevo
11 toolsEngage customers across email, SMS, and chat with marketing campaigns and transactional messaging that scale with you.

1msg.io
6 toolsOfficial WhatsApp Business API automation — send messages, manage templates, and monitor channel status via AI.

OptimoRoute
10 toolsOptimize delivery routes via OptimoRoute — create orders, run route planning, track driver GPS, and verify proof of delivery from any AI agent.
