RAGBuddy
Indexes and synchronizes documentation from registered Git repositories, using Git as the source of truth for project-aware knowledge retrieval.
Provides local embedding generation via Ollama to power semantic search over indexed project documentation.
Supports OpenAI-compatible embedding APIs for generating embeddings used in the RAG retrieval pipeline.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@RAGBuddyfind the architecture doc for this project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
RAGBuddy

A multi-project RAG (Retrieval-Augmented Generation) platform for coding agents and developers. RAGBuddy provides project-aware access to documentation and knowledge through a web dashboard with AI chat, CLI, and MCP server ā all powered by the same underlying core.
What it is
RAGBuddy indexes the docs/ folder (configurable) of one or more registered Git repositories into Qdrant, a vector database, and exposes that index three ways:
CLI ā
ragbuddy ingest/sync/search/hook/project/mcp/webWeb dashboard ā register projects, browse indexed files, upload extra documents, search, chat with a project's indexed docs, run ingest/sync with a live log, review sync history, toggle auto-sync, and copy per-project MCP config, all from a browser
MCP server ā a coding agent working in your repo can call
get_project_contextfor a quick orientation, thensearch_project_docsto find the architecture doc, feature spec, or issue writeup relevant to what it's doing right now, instead of relying on whatever happened to fit in its context window
Related MCP server: reflens
Features
š§ Multi-project RAG with project-isolated retrieval
š¬ Web AI chat over project knowledge
š MCP server for coding agents
š Repository documentation indexing
š Upload PDF, Word, Excel, Markdown, CSV, and text documents
š Incremental synchronization using content hashes
šŖ Git
post-commitauto-syncšļø Single Qdrant collection with project-level isolation
š§© Ollama and OpenAI-compatible embedding providers
š„ļø Web Dashboard and CLI using the same core implementation
Architecture

Coding Agents / Web Chat
ā
ā¼
RAGBuddy
ā
āāāāāāā“āāāāāā
ā ā
MCP Web / CLI
ā ā
āāāāāāā¬āāāāāā
ā¼
RAG Pipeline
ā
ā¼
QdrantEach project is isolated using a project field in the Qdrant payload. Retrieval operations are always filtered by project.
See docs/steering/architecture.md for the detailed architecture.
Quick Start
Requirements
Node.js 18+
npm
Docker
Qdrant
Optional: Ollama for local embeddings
Install
git clone <this-repository>
cd ragbuddy
npm install
npm run build
cp .env.example .envStart Qdrant:
docker compose up -dConfigure Embeddings
For local Ollama:
EMBEDDING_PROVIDER=ollama
EMBEDDING_BASE_URL=http://localhost:11434
EMBEDDING_MODEL=bge-m3Then:
ollama pull bge-m3OpenAI-compatible embedding providers are also supported.
See docs/steering/setup.md for configuration details.
Register a Project
ragbuddy project register <id> <repository>Example:
ragbuddy project register my-project /path/to/my-projectProjects can also be managed from the Web Dashboard.
Index & Sync
Initial indexing:
ragbuddy ingest <project-id>Incremental synchronization:
ragbuddy sync <project-id>Install Git auto-sync:
ragbuddy hook install <project-id>RAGBuddy uses the Git repository as the source of truth. Qdrant acts as a rebuildable search index.
Web Dashboard
RAGBuddy includes a web dashboard for managing projects, documents, RAG search, AI chat, ingestion, synchronization, and MCP configuration.
Project Overview

Project Documents

Project Search

AI Chat

Start the dashboard:
npm run webOpen:
http://localhost:4300For frontend development:
cd web
npm install
npm run devMCP
RAGBuddy exposes project knowledge through MCP.
Available tools:
Tool | Purpose |
| Get a compact overview of the current project |
| Semantic search over project knowledge |
| Read a specific document |
| List indexed project knowledge |
Example:
claude mcp add ragbuddy -- node /absolute/path/to/ragbuddy/dist/cli/index.js mcpThe current project can be resolved automatically from the agent's working directory.
See docs/steering/mcp.md for MCP configuration and usage.
Teaching your agent to actually use it
The four tools above are visible to your agent automatically once the MCP server connects ā no extra config needed for that. But an agent only reaches for a tool it happens to think of; it won't necessarily call get_project_context before diving into a task just because the tool exists. Add this to the registered project's AGENTS.md / CLAUDE.md so your agent knows when to use each one:
## Knowledge Retrieval Strategy (ragbuddy MCP)
Before implementing a non-trivial feature in this project:
1. Use `get_project_context` first to understand the project (identity, Git status, tech stack/architecture summaries, doc inventory).
2. Use `search_project_docs` for architecture, business rules, historical issues, conventions, and documented behavior.
3. Use `get_project_document` to read a full doc found via search when a snippet isn't enough.
4. Use `list_project_knowledge` to see everything currently indexed when orienting from scratch.
5. Read the actual source code before making implementation decisions ā treat it as the final authority for current behavior.
Don't force `get_project_context` for trivial tasks where it adds no value.Knowledge Sources
RAGBuddy can index:
Repository
āāā README.md
āāā configured documentation paths
āāā features/
āāā steering/
āāā issue/
āāā ...Additional documents can be uploaded through the Web Dashboard.
All indexed knowledge is stored in a single Qdrant collection and isolated using the project identifier.
Documentation
Documentation | Description |
Architecture, stack, setup, routing, system flow, and conventions | |
Feature documentation | |
Issues and root-cause analysis | |
Web UI design system |
Development
npm run typecheck
npm test
npm run build
npm run webFrontend:
cd web
npm run dev
npm run build
npx oxlint srcSee CLAUDE.md and AGENTS.md for the coding-agent workflow.
License
See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceMCP server that provides a shared semantic memory layer for AI coding agents, enabling teams to store, search, and sync context, decisions, and knowledge across projects with project-based isolation and multi-backend support.1MIT
- AlicenseAqualityBmaintenanceAn MCP server that indexes reference repositories and provides tools for AI coding agents to retrieve lossless code context, enabling reasoning over codebases larger than the agent's context window.82Apache 2.0

GitHitsofficial
Alicense-qualityAmaintenanceEnables AI coding agents to search and access open-source code, documentation, and package information via a local MCP server.1,57776Apache 2.0
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/azmirizkifar20/RAGBuddy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server