srag

wrxck/srag
★ 21 stars Rust 🤖 AI/LLM Updated 14d ago
Semantic code search and RAG system written in Rust with tree-sitter chunking, MCP server for IDE integration, prompt injection detection, and secret redaction
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "srag": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "srag"
      ]
    }
  }
}

Topics

code-searchembeddingsmcpmcp-serverragrustsemantic-searchtree-sitter