vex

tenatarika/vex
★ 4 stars Rust 🤖 AI/LLM Updated 4d ago
Hybrid structural + semantic code search for LLMs — compact output, MCP server, 19 languages. Tree-sitter + FST + HNSW in a zero-copy mmap'd index.
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": {
    "vex": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "vex"
      ]
    }
  }
}

README Excerpt

Fast hybrid structural + semantic code search. **V**ector + ind**ex**. ``` $ vex search "TelemetryProcessor" # 4ms — find symbol definitions $ vex search "timeout retry" # NEW: BM25 finds rare body terms $ vex show "TelemetryProcessor" # extract just the class body (not the whole file)

Tools (7)

add_root_persists_to_dbfuzz_index_readerfuzz_refs_fstfuzz_symbol_fstparse_file_symbolsrequirevector_dim

Topics

astclaudeclaude-codeclicode-searchembeddingsindexllmmcprustsemantic-searchtree-sittervibe-coding