Claude Rag
FreeNot checkedMCP server providing RAG context and failure capture for Claude Code, enabling semantic search across project knowledge and storing/analyzing failures.
About
MCP server providing RAG context and failure capture for Claude Code, enabling semantic search across project knowledge and storing/analyzing failures.
README
MCP server providing RAG (Retrieval-Augmented Generation) context and failure capture for Claude Code.
Features
Global Context (RAG): Semantic search across project knowledge
- Architecture patterns, lessons learned, anti-patterns
- Memory or ChromaDB persistence
- Auto-inject relevant context
Failure Capture: Store and analyze failures
- Test failures, review rejections, quality gate violations
- SQLite persistence
- Retention policies
MCP Tools (11 total)
Context (7 tools)
| Tool | Description |
|---|---|
context_status |
Get status of the global context module |
context_search |
Semantic search for relevant patterns |
context_list |
List context entries with filtering |
context_get |
Get detailed entry information |
context_add |
Add new knowledge entry |
context_delete |
Delete context entries |
context_prune |
Remove old entries |
Learning (4 tools)
| Tool | Description |
|---|---|
learning_status |
Get failure capture status |
learning_list_failures |
List captured failures |
learning_get_failure |
Get failure details |
learning_prune |
Remove old failures |
Installation
From GitHub
npm install github:VXConsulting/claude-rag-mcp
From GitHub Packages
# Configure .npmrc first
echo "@vxconsulting:registry=https://npm.pkg.github.com" >> .npmrc
npm install @vxconsulting/claude-rag-mcp
Usage with Claude Code
Add to your .mcp.json:
{
"mcpServers": {
"claude-rag-mcp": {
"command": "npx",
"args": ["@vxconsulting/claude-rag-mcp", "serve"]
}
}
}
Or if installed from GitHub:
{
"mcpServers": {
"claude-rag-mcp": {
"command": "node",
"args": ["node_modules/@vxconsulting/claude-rag-mcp/dist/cli.js", "serve"]
}
}
}
Configuration
Create .dev-factory.yml in your project root:
version: 1
globalContext:
enabled: true
provider: memory # or chromadb
autoInject:
enabled: true
topK: 5
types: [architecture, lesson, anti-pattern]
learning:
enabled: true
failureDB:
dbPath: .dev-factory/failures.db
retentionDays: 30
Development
npm install
npm run build
npm test
npm run serve # Start MCP server
License
MIT
Install Claude Rag in Claude Desktop, Claude Code & Cursor
unyly install claude-rag-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add claude-rag-mcp -- npx -y github:VXConsulting/claude-rag-mcpFAQ
Is Claude Rag MCP free?
Yes, Claude Rag MCP is free — one-click install via Unyly at no cost.
Does Claude Rag need an API key?
No, Claude Rag runs without API keys or environment variables.
Is Claude Rag hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Claude Rag in Claude Desktop, Claude Code or Cursor?
Open Claude Rag on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Claude Rag with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
