🧠 Archive Agent MCP Server

Find your files with natural language and ask questions.

Local serverstdioPython

What is the 🧠 Archive Agent MCP server?

Find your files with natural language and ask questions. That is what the 🧠 archive agent mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

([If you can't see the diagram below, view it on Mermaid.live](https://mermaid.live/edit#pako:eNqFU9tu2kAQ_ZXRSnkDamwDiRUhEYcQEmgT6EVqycPanpgV9q61XieQKP_evUBuqtQX5J1z5sycmeGZpCJDEpFc0moNs8WKrzjA0RFMeY61YoLDDauwYBwNUDeJY77CJgow-nOaDL9Lmm6A8gxiUZZMwQUrsD79kgxPEzlcNlUlpKrhRop7A9xBuz2EM5Pp1D7yR40SJVUshW_xApZKUoX5ziDTkuYIY66Y2sF4q5HUdHLnWjmzsrGRXWJJuVGI1w3fMJ4ftB-ZWusmucKtgkukGcraxGfaZg0VSjgrRLqJoOt5Jv5LyMzFrVIEvufty8W23LkpNy4TzBzj1cVcj7eIwBRqo8Ez3UY7aBdU5mgIPzFVQsKSPWEEgTfw97rnVndsbWgCftKdiZQWcJtJbRAyqmhCa7SpyLPXJd42KHf_XqCFXKkLU2RUb0zM7tQUcduZvPl6D_7X2d7ExIpcGpEFKsnwAeErUmmW_dHPMjUe54xH4HW6JuJwmNOtmctecOwE3ePSPqZOXQ

The tools it exposes

The server publishes 14 tools. What each one is for:

  • OpenAI β€” Requires an OpenAI API key
  • OpenRouter β€” Requires an OpenRouter API key. Access to 400+ models
  • Ollama β€” Requires Ollama running locally
  • Text β€” - Plaintext: .txt, .md, .markdown
  • Documents β€” - ASCII documents: .html, .htm (images not supported)
  • Images β€” .jpg, .jpeg, .png, .gif, .webp, .bmp
  • Trade β€” off between cost, speed, and accuracy.**
  • Line β€” based files (e.g., .txt) use the range of line numbers as reference
  • Page β€” based files (e.g., .pdf) use the range of page numbers as reference
  • Task β€” Default Model
  • Chunk β€” google/gemini-2.5-flash-lite
  • Rerank β€” google/gemini-2.5-flash-lite

What it needs from you

Configuration is passed through the environment: OPENAI_API_KEY, OPENROUTER_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.

Getting it running

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

How it compares

This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. 🧠 Archive Agent's toolset β€” OpenAI, OpenRouter, Ollama and 11 more β€” is a fair guide to whether it matches your workflow. It is maintained by shredEngineer; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live β€” if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • 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.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch 🧠 Archive Agent.
  • 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
OpenAIRequires an OpenAI API key.
OpenRouterRequires an OpenRouter API key. Access to 400+ models.
OllamaRequires Ollama running locally.
Text- Plaintext: .txt, .md, .markdown
Documents- ASCII documents: .html, .htm (images not supported)
Images.jpg, .jpeg, .png, .gif, .webp, .bmp
Tradeoff between cost, speed, and accuracy.**
Linebased files (e.g., .txt) use the range of line numbers as reference.
Pagebased files (e.g., .pdf) use the range of page numbers as reference.
TaskDefault Model
Chunkgoogle/gemini-2.5-flash-lite
Rerankgoogle/gemini-2.5-flash-lite
Querygoogle/gemini-2.5-flash
Visiongoogle/gemini-2.5-flash

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes
OPENROUTER_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • β€œUse 🧠 Archive Agent to OpenAI.”
  • β€œUse 🧠 Archive Agent to OpenRouter.”
  • β€œUse 🧠 Archive Agent to Ollama.”

Frequently asked questions

No. Archive Agent is a file indexer and RAG engine that provides answers through a CLI, GUI, or MCP interface β€” it does not offer a conversational chatbot interface.