Local-first RAG memory for AI agents: hybrid + GraphRAG search, MCP server with OAuth 2.1, plugin for Claude Code / OpenCode / Codex.
MCPpedia last refreshed this data
Agent Brain is an MCP server that local-first RAG memory for AI agents: hybrid + GraphRAG search, MCP server with OAuth 2.1, plugin for Claude Code / OpenCode / Codex. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 85/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"agent-brain": {
"args": [
"agent-brain-rag"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A RAG-based (Retrieval-Augmented Generation) document indexing and semantic search system for AI agents and applications. Agent Brain enables intelligent querying of documentation and source code using natural language.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked agent-brain-rag against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ai-ml / security
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
An open-source AI agent that brings the power of Gemini directly into your terminal.
🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.
Open source device layer for AI agents: control mobile, web, TV, and desktop apps over MCP
MCP Security Weekly
Get CVE alerts and security updates for Agent Brain and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A RAG-based (Retrieval-Augmented Generation) document indexing and semantic search system for AI agents and applications. Agent Brain enables intelligent querying of documentation and source code using natural language.
Agent Brain provides AI-first document and code search through a Claude Code plugin with skills, commands, and agents. Use slash commands to search, agents for complex research tasks, and skills for intelligent query optimization.
| Component | Description |
|---|---|
| Plugin | 30 slash commands, 3 agents, 2 skills for Claude Code |
| Skills | Intelligent search mode selection and query optimization |
| Agents | Research assistant, search assistant, setup assistant |
| Server | FastAPI backend for indexing and retrieval |
| CLI | Command-line tool (also used by plugin internally) |
# 1. Add the Agent Brain marketplace (the repo is a plugin marketplace)
claude plugins marketplace add SpillwaveSolutions/agent-brain
# 2. Install the plugin from that marketplace
claude plugins install agent-brain@agent-brain-marketplace
Installing a Claude Code plugin does not use
pip. The plugin is installed through the marketplace above; the underlying Python packages (agent-brain-rag,agent-brain-cli) are installed for you by the/agent-brain-setupwizard (or manually viapip— see CLI Usage).
The same plugin installs into Codex, Cursor, Grok Build, and OpenCode through the CLI. Each command converts the shared payload into the host's native layout and, with --with-mcp, registers the MCP server in that host's config file.
pip install agent-brain-rag agent-brain-cli agent-brain-ag-mcp
agent-brain install-agent --agent codex --with-mcp # .codex/skills/agent-brain + AGENTS.md; MCP in ~/.codex/config.toml
agent-brain install-agent --agent cursor --with-mcp # .cursor/plugins/agent-brain + .cursor/rules; MCP in .cursor/mcp.json
agent-brain install-agent --agent grok --with-mcp # .grok/plugins/agent-brain; zero-config Claude load, MCP in .mcp.json
agent-brain install-agent --agent opencode --with-mcp # .opencode/plugins/agent-brain; MCP in opencode.json
A conforming Agent Plugins 1.0 client reads agent-brain-plugin/plugin.json, skills/, and mcp.json directly. See docs/HOSTS.md for the manifest each host reads.
In Claude Code, run:
/agent-brain-setup
This interactive wizard will:
agent-brain-rag, agent-brain-cli)/agent-brain-search "how does authentication work"
That's it! The plugin handles everything automatically.
| Command | Description | Use When |
|---|---|---|
/agent-brain-search | Smart hybrid search (recommended) | General questions |
/agent-brain-semantic | Pure semantic/vector search | Conceptual queries |
/agent-brain-keyword | BM25 keyword search | Error messages, function names |
/agent-brain-hybrid | Hybrid with alpha tuning | Fine-tuned searches |
/agent-brain-graph | Knowledge graph search | "What calls X?", dependencies |
/agent-brain-multi | All modes combined (RRF) | Maximum recall |
| Command | Description |
|---|---|
/agent-brain-start | Start the server (auto-port) |
/agent-brain-stop | Stop the server |
/agent-brain-status | Check health and document count |
/agent-brain-index | Index documents or code |
| Command | Description |
|---|---|
/agent-brain-setup | Complete guided setup w |