RustRAG

odolenchik/RustRAG
★ 0 stars Rust AI/LLM Updated 3d ago
Local RAG for Rust codebases — full offline embeddings, hybrid BM25+vector search, MCP server.
View on GitHub → Try with Claude — $10 free →

Quick Install

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

Add to claude_desktop_config.json:

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

README Excerpt

**Local RAG for Rust codebases — full offline embeddings, hybrid BM25+vector search, MCP server.** A self-hosted Retrieval-Augmented Generation tool built specifically for analyzing Rust Cargo workspaces. Index any workspace using AST-level semantic chunking (tree-sitter), embed with a local ONNX model, and query via CLI, interactive TUI, HTTP API, or MCP protocol — entirely offline once models are downloaded.

Tools (6)

LLAMA_ENDPOINTLLAMA_MODELRUSRAG_MODEL_PATHRUSRAG_WORKSPACErag_queryrag_search