Vera
by lemon07r·★ 82·Score 46
Local code search tool combining BM25, vector similarity, and cross-encoder reranking with MCP support.
Overview
Vera is a high-performance local code search tool written in Rust that combines BM25 keyword matching, vector similarity, and cross-encoder reranking. It supports 65+ programming languages through tree-sitter parsing and runs entirely offline, returning structured results with file paths, line ranges, and symbol metadata. As an MCP server, it exposes search_code, get_stats, get_overview, and regex_search tools, making it suitable for AI agent workflows. The tool achieves impressive benchmark results with MRR@10 of 0.91, outperforming other code search solutions.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose Vera when you need powerful, local code search with excellent accuracy for navigating large codebases and understanding code structure.
When NOT to choose this
Don't choose Vera if you need real-time collaborative search capabilities or require searching codebases hosted on remote repositories without local indexing.
Tools this server exposes
4 tools extracted from the READMEsearch_codeSearches code across the codebase using BM25, vector similarity, and cross-encoder reranking
get_statsReturns statistics about the current code index
get_overviewProvides a project overview including call graphs and structure information
regex_searchPerforms regex pattern matching across the codebase
Comparable tools
Installation
Installation
- Install Vera:
bunx @vera-ai/cli install # or: npx -y @vera-ai/cli install / uvx vera-ai install- Set up models:
vera setup # Interactive wizard
vera setup --api # API mode (recommended)- Enable MCP:
vera mcp # or: bunx @vera-ai/cli mcp / uvx vera-ai mcpFor Claude Desktop, add to claude_desktop_config.json:
{
"mcpServers": {
"vera": {
"command": "vera",
"args": ["mcp"]
}
}
}FAQ
- What file types does Vera support?
- Vera supports 65+ programming languages through tree-sitter parsing, with 61 languages having full tree-sitter grammars compiled in.
- Does Vera require an internet connection?
- Vera can run completely offline when using local models. It also supports API mode for model inference that requires internet connectivity to an OpenAI-compatible endpoint.
Compare Vera with
Last updated · Auto-generated from public README + GitHub signals.