rag-server-mcp

SylphxAI/rag-server-mcp

3.4

If you are the rightful owner of rag-server-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

RAG Server MCP is a local-first Retrieval Augmented Generation server designed for AI agents, focusing on privacy and automatic indexing.

Tools
5
Resources
0
Prompts
0

⚠️ DEPRECATED - Use CodeRAG Instead ⚠️


🚀 This project has evolved into something much better!


New Project npm


👉 github.com/SylphxAI/coderag 👈



🎉 Why CodeRAG is 10x Better

We completely rewrote this project from scratch. Here's what you get:

⚡ Lightning Fast

FeatureOld (rag-server-mcp)New (CodeRAG)
Startup10-30s (ChromaDB + Ollama)<1s (no external deps)
IndexingMinutes (embedding API calls)Seconds (TF-IDF + optional vectors)
Search~500ms (vector only)<50ms (hybrid search)
Memory500MB+ (ChromaDB)<100MB (SQLite)

🧠 Smarter Search

FeatureOldNew
TF-IDF✅ StarCoder2 tokenizer
Vector Search✅ Basic✅ Hybrid (TF-IDF + Vector)
Code Understanding❌ Generic✅ Code-aware tokenization
Incremental Updates❌ Full rebuild✅ Smart diff detection

🔧 Zero Dependencies

# Old way (painful)
docker-compose up -d      # Start ChromaDB
ollama pull nomic-embed   # Download model
# Wait 30 seconds...

# New way (instant)
npx @sylphx/coderag-mcp
# Done. That's it. 🎉

🏆 Battle-Tested Accuracy

  • Smoothed IDF - No term gets ignored (even common ones like function)
  • Logarithmic boosting - Stable ranking without score explosion
  • StarCoder2 tokenizer - 4.7MB model trained on code
  • Pre-computed magnitudes - Memory-efficient cosine similarity

🚀 Migrate in 30 Seconds

Step 1: Uninstall old

// Remove from your MCP config
{
  "mcpServers": {
    "rag-server": { ... }  // DELETE THIS
  }
}

Step 2: Install new

{
  "mcpServers": {
    "coderag": {
      "command": "npx",
      "args": ["-y", "@sylphx/coderag-mcp"]
    }
  }
}

Step 3: Enjoy 🎉

No Docker. No Ollama. No ChromaDB. Just works.


📊 Feature Comparison

Featurerag-server-mcpCodeRAG
External ServicesChromaDB + OllamaNone
Docker RequiredYesNo
Startup Time10-30s<1s
Search AlgorithmVector onlyHybrid (TF-IDF + Vector)
Code TokenizationGenericStarCoder2 (code-aware)
Incremental IndexNoYes
Memory Usage500MB+<100MB
Low Memory ModeNoYes (SQL-based)
Offline SupportNo (needs Ollama)Yes (TF-IDF)
Vector SearchRequiredOptional
Actively Maintained❌ No✅ Yes

🔗 Links


⚠️ This Repository is Archived

No new features. No bug fixes. No support.

Use CodeRAG instead.


Migrate Now



Made with ❤️ by Sylphx