X Archive RAG MCP Server

Local-first MCP tools for searching and drafting from your X/Twitter archive.

Local serverstdio

What is the X Archive RAG MCP server?

If you already use X Archive RAG, the x archive rag mcp server is the piece that lets your assistant work with it directly. Local-first MCP tools for searching and drafting from your X/Twitter archive.

What the server does

Unlike uploading a ZIP to ChatGPT, x-archive-rag converts your archive into reusable local infrastructure: SQLite storage, repeatable retrieval, citation IDs, persona profiling, grounded draft prompts, a local web UI, and MCP tools that AI clients can query without receiving your whole archive.

x-archive-rag is not a bigger prompt. It is a small local data layer for your archive.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • search_archive — draft_from_archive
  • Capability — Why it matters

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Credentials and setup notes

Configuration is passed through the environment: OPENAI_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

Among the AI and media services options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. X Archive RAG's toolset — search_archive, Capability — is a fair guide to whether it matches your workflow. It is maintained by mameshivaa; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
search_archivedraft_from_archive
CapabilityWhy it matters

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use X Archive RAG to search archive.
  • Use X Archive RAG to Capability.

Frequently asked questions

It connects X Archive RAG to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (search_archive, Capability) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with X Archive RAG directly.