Vexor is a semantic search engine for files and code that enables searching by content description through building reusable indexes. Its core positioning is: when you remember what a file does but forget its name or location, Vexor can find it directly without writing grep patterns or traversing directories. The project is designed for both human users and AI programming assistants, and can be used for semantic file discovery in autonomous agent workflows.
Main capabilities and features:
- Supports configurable embedding and reranking providers.
- Exposes three interfaces through the same set of core capabilities: a Python API, a CLI tool, and an MCP server.
- Supports local indexing and has AST-aware chunking capabilities.
- Supports optional rerank strategies, including hybrid / BM25 / FlashRank / remote.
- Supports API-based embedding models or fully offline local embedding models.
- Supports global configuration (~/.vexor/config.json) and project-level configuration (the nearest <project>/.vexor/config.json); project configuration can override a restricted set of behavior fields.
- Non-secret fields can be injected via VEXOR_CONFIG_JSON, which is convenient for MCP clients and CI.
- Supports .vexorignore files and project-local indexing (vexor index --local).
Usage:
- Installation: You can download a standalone binary from releases (no Python required), or install it according to the repository instructions.
- Guided setup (recommended): A wizard-style setup is provided; when no configuration exists, it runs automatically before the first interactive operation command; configuration management commands (vexor config), MCP, help, and version commands can be run directly.
- Automatic indexing: Vexor automatically builds an index on the first search.
- Explicit indexing (optional): Suitable for CI warm-up or scenarios where auto_index is disabled.
- Daily-use commands include vexor "query", vexor search, and vexor index. Index modes include --mode auto/name/head/brief/full/code/outline.
- Python API: Can directlyThen import and use it in Python; configuration follows the same global and project-level resolution rules as the CLI; for runtime overrides, cache control, and single-call options, see docs/api/python.md.
- MCP server: a built-in MCP stdio server; any MCP-capable client can use semantic file search as a native tool. The server exposes two tools: vexor_search (semantic file search, returning matching source text so agents usually do not need to read the file again) and vexor_index (explicit index warm-up). No additional dependencies are required. Vexor is registered in the official MCP registry as io.github.scarletkc/vexor. It can also be configured manually in any MCP client, optionally providing the API key and configuration overrides via environment variables (no need to run vexor init).
- Agent Skill: the repository contains a skill plugin for AI agents (plugins/vexor/skills/vexor-cli), used to teach shell-capable agents (such as Claude Code, Codex) to drive the full CLI, provided that vexor is installed and in PATH. Agent Skill and the MCP server provide the same core capabilities; each agent can choose either one.
Use cases:
- Quick lookup when you forget the file name or location and only remember what the file does.
- Provide semantic file discovery capabilities for AI coding assistants in autonomous agent workflows.
- Index warm-up in CI environments.
- Scenarios requiring a fully offline embedding model.
Limitations and notes:
- Project-level configuration can only override a limited set of behavior fields.
- For the complete reference on configuration fields and precedence, all configuration commands, API key and environment variables, rerank strategy, remote and local providers, embedding dimensions, offline local model setup, etc., see docs/configuration.md.
- For the complete command table, common flags, index modes, .vexorignore files, project-local indexes, cache behavior, and porcelain output format, see docs/cli.md.
- For MCP tool schemas, environment variables, and client setup details, see docs/mcp.md.
- Except for the content already mentioned above, facts such as other features, charges, prices, platforms, or effects have not yet been mentionedprovided.