MCPInstall
rag-server-mcp logo

rag-server-mcp

by sylphxltd 21 stars sylphxltd/rag-server-mcp

MCP RAG Server enhances LLM responses by indexing project documents for context.

READMEmain

⚠️ DEPRECATED - Use CodeRAG Instead ⚠️


🚀 This project has evolved into something much better!


New Project npm


👉 github.com/SylphxAI/coderag 👈


SOTA family roadmap: docs/roadmap/sota-family-roadmap.md.


🎉 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

More Research & Data MCP servers

Similar servers from the same category.

WeatherXM PRO

weatherxm

Integrates with WeatherXM PRO APIs to provide access to hyperlocal weather data, historical observations, and forecast performance metrics for location-specific analysis and planning.

APICLI+6

Gralio

tymonte

Access 3+ million SaaS reviews, detailed pricing data, alternatives, ratings, funding information, growth metrics, user sentiment analysis, and functional feature data for over 30,000 software products.

Research & Data

Integrates with professional cryptocurrency data APIs from DefiLlama Pro, CoinGecko Pro, and Arkham Intelligence to provide real-time token prices, market data, blockchain analytics, and on-chain intelligence for crypto researchers and traders.

search

Enables semantic and keyword searches across Space Frontiers' library, telegram, and reddit databases through a FastAPI-based server with flexible authentication options.

databaseauthentication+1