LeIndex

C
C tier on Code Search ToolsScore 6.5 · #10 of 40
Android app
Not listed
Free plan
No
Runs on
api, Linux, Mac, self-hosted, Web, Windows
github.com
The LeIndex homepage

Summary

LeIndex is a semantic code search engine that can search repositories by meaning rather than relying only on matching terms. It combines TF-IDF lexical matching with Program Dependence Graph structure and optional neural scoring from local ONNX models. Multiple repositories can be indexed and searched together. LeIndex can also run as an MCP server for AI coding tools, with listed integrations including Zed, Cursor, VS Code, Claude Code, and other tools. Its 20 MCP tools cover search, analysis, indexing, reading, editing, renaming, and impact analysis. Local ONNX models and fragment embeddings can keep data on the user's machine; OpenAI, Cohere, and compatible remote embedding endpoints are also supported, but require network access and API keys. Without an embedding backend, search falls back to offline TF-IDF, which lacks semantic understanding. Database discovery is opt-in, sensitive directories are automatically excluded, and SQL operations use parameterized queries. It is free, open source under the MIT license, and supports Linux, macOS, Windows, web, API, and self-hosted use.

Who it is for

LeIndex suits developers who need to search across repositories or connect code search to MCP-compatible AI coding tools. It may also suit users who prefer local processing or self-hosting.

What is good

  • Search combines lexical matching and code structure.
  • Can index and search multiple repositories.
  • Lists 20 MCP tools for code tasks.
  • Local embeddings can keep data on-device.
  • Free, open source under the MIT license.

What to know first

  • Semantic search requires an embedding backend.
  • Remote embedding providers require network access and API keys.
  • Offline fallback lacks semantic understanding.

Verdict

LeIndex offers repository-wide code search with structural matching and optional local neural scoring. Check the embedding setup that fits your needs, since its offline fallback is keyword-based.

Compared on code search tools

Indexing scope
repositoriesgithub.com
Deployment
self_hostedgithub.com
Code navigation
Yesgithub.com

Facts

Product
LeIndex is a semantic code search engine that searches code by meaning rather than keywords.github.com · 4 Oct 2026
Search
It combines TF-IDF lexical matching, Program Dependence Graph structure, and optional local ONNX neural scoring.github.com · 4 Oct 2026
Cross-project
It can index and search multiple repositories together.github.com · 4 Oct 2026
AI tools
LeIndex runs as an MCP server for AI coding tools, including Claude Code, Cursor, and other MCP-compatible agents.github.com · 4 Oct 2026
Integrations
The README provides setup instructions for Zed, Cursor, VS Code, Claude Code, Amp, OpenCode, Qwen CLI, iFlow CLI, Droid, Gemini CLI, and Claude Desktop.github.com · 4 Oct 2026
MCP tools
LeIndex lists 20 MCP tools for search, analysis, indexing, reading, editing, renaming, and impact analysis.github.com · 4 Oct 2026
Local privacy
The README says local ONNX models keep data on the user's machine and incur no API costs; fragment embeddings are also local unless a remote provider is chosen.github.com · 4 Oct 2026
Security
Database discovery is opt-in, sensitive directories such as .ssh, .aws, and .gnupg are automatically excluded, and SQL operations use parameterized queries.github.com · 4 Oct 2026
Cloud embeddings
OpenAI, Cohere, and custom OpenAI-compatible embedding endpoints are supported and require network access and provider API keys.github.com · 4 Oct 2026
Fallback
Without an embedding backend, LeIndex falls back to offline TF-IDF keyword search, which the README says lacks semantic understanding.github.com · 4 Oct 2026
Install paths
The README documents installation through Cargo, npm, PyPI, a release install script, or building from source.github.com · 4 Oct 2026
Dashboard
An optional Bun and React dashboard provides project metrics and graph telemetry.github.com · 4 Oct 2026
License
The repository states that LeIndex is distributed under the MIT license.github.com · 4 Oct 2026

Best LeIndex alternatives

See all 20

Where it ranks on Everything Xiaomi

Is LeIndex yours?

Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.

Sources