Practical overview
When it fits
Use Vera when you know what code does but not what it is called, or when an agent needs ranked, path-and-line-referenced code context. Use exact-string search such as ripgrep when you already know the literal text to find.
Who it is for
- Developers searching repositories by behavior when they do not know the exact identifier.
- AI-agent workflows that need focused, structured code context.
- Teams seeking local code retrieval that can be exposed through an MCP server.
Documented uses
- Find code related to a behavior or concept using both keyword and vector search.
- Locate symbol-bounded code chunks and their file and line positions.
- Run structural searches and look up references using the project index.
- Refresh an existing index as project files change.
Requirements & limits
The project documents CLI installation through Bun, npm/npx or uvx. Local CPU is the default backend; API mode uses configured model endpoints and is described as paid usage. The repository is MIT-licensed.
- Local CPU inference works offline after the initial model-asset download.
- API mode sends code chunk text and queries to configured model endpoints.
- Jina ONNX backends support optional local GPU inference.
- The per-project index is stored in
.vera/and can be large. - Vera’s documented search coverage is more than 60 programming languages.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install Vera, index a project and search locally
Set up the default local CPU backend, index the current project and retrieve relevant code with a search query.
Before you start
- A supported environment for the Vera CLI.
- Network access during the initial model-asset download.
Steps
Install the CLI with a documented option such as
bunx @vera-ai/cli install, the command below oruvx vera-ai install.npx -y @vera-ai/cli installRun
vera setup --potion-code --index .in the project to download local model assets and index it.Add
.vera/to the project’s.gitignore.Run a query such as
vera search "authentication logic".
Expected outcome
Vera returns ranked code chunks with file paths, line ranges and symbol metadata.
Guide limitations
- The index can be large.
- Initial model downloads require network access; local indexing and search work offline after download.
- This guide covers the documented local CPU setup, not API-mode configuration.
Connect an MCP client to Vera
Configure a compatible MCP client to start Vera’s MCP server.
Before you start
- Vera installed and available as the
veracommand. - An MCP client that supports command-based server configuration.
Steps
Add a server entry with command
veraand argumentmcpto the client’s MCP configuration.For Claude Code, use the documented command
claude mcp add vera -- vera mcp.
Expected outcome
The client can connect to Vera’s MCP server and use its documented tools, including `search_code`, `get_stats`, `get_overview`, `regex_search`, `structural_search`, `find_references` and `explain_path`.
Guide limitations
- Client-specific setup details are maintained in Vera’s MCP integration documentation.
- The repository lists tools and configuration examples; client compatibility depends on the MCP client.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 13 October 2026
- Original website title
- VeraTools/vera · Official homepage title · retained in its source language

