4,500+ servers built on MCP Fusion
Vinkius
National Archives Catalog logo
Vinkius
OpenAI Agents SDK logo

How to Use the National Archives Catalog MCP in OpenAI Agents SDK

Build production-grade research agents that query the National Archives Catalog using the OpenAI Agents SDK.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

National Archives Catalog MCP on Cursor AI Code Editor MCP Client National Archives Catalog MCP on Claude Desktop App MCP Integration National Archives Catalog MCP on OpenAI Agents SDK MCP Compatible National Archives Catalog MCP on Visual Studio Code MCP Extension Client National Archives Catalog MCP on GitHub Copilot AI Agent MCP Integration National Archives Catalog MCP on Google Gemini AI MCP Integration National Archives Catalog MCP on Lovable AI Development MCP Client National Archives Catalog MCP on Mistral AI Agents MCP Compatible National Archives Catalog MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
OpenAI Agents SDK

Connect National Archives Catalog MCP to OpenAI Agents SDK

Create your Vinkius account to connect National Archives Catalog to OpenAI Agents SDK and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Query millions of NARA records via MCP Server

The `search_records` and `search_records_by_text` tools give your OpenAI agents direct access to the US National Archives. You can build specialized research agents that dig through historical documents, photos, and metadata without hallucinating facts. Handoffs make this powerful. You might have one agent find primary sources using `search_records_by_tag`, then hand the record ID to a transcription agent that calls `get_transcriptions_by_naid` to pull the exact text. Every call gets logged in your OpenAI dashboard for full tracing.

Manage crowdsourced historical data

NARA isn't just a static database. It relies on user contributions. Your agent can pull user-generated context using `search_comments` or `get_tags_by_naid` to see how historians categorize specific records. If you build an internal tool for archivists, the OpenAI Agents SDK guardrails ensure safe data entry. You can configure strict validation before the agent executes `create_tag` or `create_transcription`, preventing bad data from hitting the public catalog.

Track user contributions and history

Community engagement leaves a massive footprint. Tools like `get_contributions_by_userid` and `get_transcription_history` let your agent audit exactly who modified what. This is crucial for production systems that need to verify the credibility of a transcription. Instead of trusting a raw text dump, your agent can pull the full edit history and user stats via `get_record_stats` before including the data in a final report.

Setup guide

Set up National Archives Catalog MCP in OpenAI Agents SDK

Prerequisites

  • Python 3.10+ installed
  • openai-agents package (pip install openai-agents)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install the SDK

    Run pip install openai-agents to install the OpenAI Agents SDK. The MCP integration is built-in — no extra dependencies needed.

  2. 2

    Connect via SSE transport

    Use MCPServerSse with your Vinkius endpoint URL. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. The SDK auto-discovers all National Archives Catalog tools at runtime.

  3. 3

    Create your Agent

    Pass the MCP to Agent(mcp_servers=[server]). The agent receives National Archives Catalog tools as native definitions — JSON schemas resolve automatically.

  4. 4

    Run the agent

    Call Runner.run(agent, prompt) to execute. The agent invokes the appropriate National Archives Catalog tools and returns structured results. Copy the full example on the right to get started.

agent.py
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerSse

async def main():
    async with MCPServerSse(
        url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    ) as server:
        agent = Agent(
            name="National Archives Catalog Agent",
            instructions="You have access to National Archives Catalog tools.",
            mcp_servers=[server],
        )
        result = await Runner.run(agent, "List recent transactions")
        print(result.final_output)

asyncio.run(main())

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by National Archives Catalog. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about National Archives Catalog MCP in OpenAI Agents SDK

Install `openai-agents` via pip. Create an `MCPServerStreamableHttp` instance with your Vinkius endpoint URL and pass it to the `mcp_servers` array in your Agent constructor to enable the MCP tools.
Yes. The agent will auto-discover the `search_records_by_tag` tool. You can instruct the agent to look up exact historical tags and return the matching record IDs.
It does. Your agent can call `get_transcription` for a specific ID or use `get_transcriptions_by_naid` to pull all transcribed text attached to a single archival record.
You can build an admin agent with access to the `delete_comment` and `delete_contributions` tools. Set up OpenAI guardrails to require human approval before the agent executes these destructive actions.
Vinkius isolates your connection in an ephemeral V8 sandbox. When your agent fetches historical metadata or user IDs via `get_user` using the MCP protocol, the request routes directly to NARA. We hold no logs of your specific search queries.

Start using the National Archives Catalog MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 40 tools

We've already built the connector for National Archives Catalog. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 40 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.