Skip to content
MCP server

Vexor

Semantic search over files and code that finds things by meaning, not filename

Runs locallyActively maintained

The repository was last updated 36 days ago and is published under MIT.

Vexor is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
GitHub stars
251
Last commit
Language
Python

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a 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

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

Or share it with your project

Add to .mcp.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 Code setup guide

Add to claude_desktop_config.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.

Claude Desktop setup guide

Add to ~/.cursor/mcp.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.

Cursor setup guide

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.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>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "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

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "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.

    Junie

    Add to ~/.junie/mcp/mcp.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.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • VEXOR_API_KEYEmbedding provider API key (optional; overrides a stored key; providers can also be configured via `vexor init`)
  • VEXOR_REMOTE_RERANK_API_KEYRemote reranker API key (optional; overrides a stored key; only needed when rerank is set to remote)
  • VEXOR_CONFIG_JSONNon-secret Vexor config as a JSON object, e.g. {"provider": "gemini", "rerank": "bm25"} (optional; merged over ~/.vexor/config.json; credential fields are rejected, use the dedicated variables)

About Vexor

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.

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

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_searchName suggests: reads
Semantic file search returning matching source text.
vexor_index
Explicitly indexes a directory ahead of searching.

What it does

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

Pricing

Open source

Prices change. Check pypi.org before you buy.

Vexor 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.

How AIPoweredBot checks servers