Hybrid structural + semantic code search for LLMs — compact output, MCP server, 19 languages. Tree-sitter + FST + HNSW in a zero-copy mmap'd index.
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"
]
}
}
}
Run in terminal:
claude mcp add vex cargo run -- vex
Add to .cursor/mcp.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