# Vexor

> Vexor is an open-source MCP server for developer tools. Semantic search over files and code that finds things by meaning, not filename. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux
- **Website:** https://pypi.org/project/vexor/
- **Repository:** https://github.com/scarletkc/vexor
- **GitHub stars:** 251
- **License:** MIT
- **MCP Registry name:** io.github.scarletkc/vexor
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-12-01

## About

Vexor builds reusable embedding indexes over a directory so you can find a file by what it does when you have forgotten its name or location. It auto-indexes on first search, and index modes range from file names and headers through code and outline to full text. Results show a similarity score, path, line range and preview.

The same core is available as a Python API, a command-line tool and an MCP server. The MCP server exposes two tools: vexor_search, which returns the matching source text so an agent rarely needs a follow-up file read, and vexor_index to warm an index ahead of time. The README says to choose either the bundled agent skill or the MCP server for a given agent, not both.

Embedding providers are configurable (OpenAI by default, with Gemini, Voyage AI, custom endpoints or local models), optional reranking can be BM25, hybrid, FlashRank or remote, and fully offline use works with local embedding models. Keys and non-secret settings can be passed through environment variables, so no setup wizard is needed under an MCP client.

## Features

- **Semantic file search:** Ranks files by meaning with similarity scores and previews.
- **Multiple index modes:** Indexes names, headers, code, outlines or full text.
- **Pluggable providers:** Works with OpenAI, Gemini, Voyage AI, custom or local embedding models.
- **Optional reranking:** Fuses keyword and semantic ranking, or uses BM25, FlashRank or a remote reranker.
- **Offline option:** Runs fully offline with local embedding models.
- **CLI, API and MCP:** Same engine as a command, a Python library and an MCP server.

## Good for

- Find a config loader without remembering its filename
- Give a coding agent semantic file discovery
- Warm an index in CI before searches
- Search a project offline using local embeddings

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add vexor --env VEXOR_API_KEY='<VEXOR_API_KEY>' --env VEXOR_REMOTE_RERANK_API_KEY='<VEXOR_REMOTE_RERANK_API_KEY>' -- uvx vexor
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "vexor": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add vexor --env VEXOR_API_KEY='<VEXOR_API_KEY>' --env VEXOR_REMOTE_RERANK_API_KEY='<VEXOR_REMOTE_RERANK_API_KEY>' -- uvx vexor
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.vexor]
command = "uvx"
args = ["vexor"]
env = { VEXOR_API_KEY = "<VEXOR_API_KEY>", VEXOR_REMOTE_RERANK_API_KEY = "<VEXOR_REMOTE_RERANK_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e VEXOR_API_KEY='<VEXOR_API_KEY>' -e VEXOR_REMOTE_RERANK_API_KEY='<VEXOR_REMOTE_RERANK_API_KEY>' vexor uvx -- vexor

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "vexor": {
      "command": "uvx",
      "args": [
        "vexor"
      ],
      "env": {
        "VEXOR_API_KEY": "<VEXOR_API_KEY>",
        "VEXOR_REMOTE_RERANK_API_KEY": "<VEXOR_REMOTE_RERANK_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 2 tools reads data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `vexor_search` (name suggests: reads): Semantic file search returning matching source text.
- `vexor_index`: Explicitly indexes a directory ahead of searching.

## FAQ

### How do I install Vexor?

pip install vexor (also pipx or uv), or download a standalone binary.

### Which tools does the MCP server expose?

vexor_search and vexor_index.

### Do I need an API key?

Only for remote embedding providers; local models allow offline use.

### Can Vexor respect ignored files?

The README mentions .vexorignore files and project-local indexes.

### Is Vexor free?

Yes. Vexor is open source, so you can use and self-host it for free.

### How do I add Vexor to Claude Code?

Run this command in your terminal: claude mcp add vexor --env VEXOR_API_KEY='<VEXOR_API_KEY>' --env VEXOR_REMOTE_RERANK_API_KEY='<VEXOR_REMOTE_RERANK_API_KEY>' -- uvx vexor

### What are the best alternatives to Vexor?

The closest alternatives to Vexor are REA, Codebase Memory, Serena MCP: the IDE for your agent, XERJ and Context7.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/vexor
