simple-code-indexer
Local-first MCP server that gives your AI coding agent hybrid lexical + semantic code search, re-indexed on every save.
simple-code-indexer runs alongside your coding agent — Claude Code, VS Code, Cursor, Zed, OpenCode, Codex CLI, and others — as a standard MCP server. A file watcher re-indexes every saved file into SQLite/FTS5 (keyword search) and sqlite-vec (semantic search; FAISS and Qdrant selectable), so results stay current without manual reindexing. Everything stays on your machine: each project keeps its index in <project>/.simple-ci/, and the single global config lives in ~/.simple-ci/config.yaml.
Why this one
- Hybrid search in one tool.
search_coderuns keyword queries through FTS5 and, withsemantic=true, vector search — overlapping hits are de-duplicated automatically. - Fresh on every save. A file watcher indexes each save as it happens; a startup reconcile and an optional periodic sweep are the backstop. No manual reindex step.
- 322 indexable languages. All tree-sitter grammars from
tree-sitter-language-packare catalogued; documentation and serialization formats (.md,.txt,.json,.yaml, …) are deliberately never indexed. - Symbols, not just text.
symbol_lookupresolves definitions via tree-sitter, with acoveragesignal when a language cannot produce symbols. - One-command setup. An interactive wizard writes the MCP entry into 17 supported harnesses — you never edit a client config by hand.
- Local-first and multi-session safe. Vectors live in the same
index.dbas the chunks by default; one writer daemon per workspace keeps the index fresh while any harness session is attached.
Quick start
Prerequisites: uv (installed automatically when missing) and Python 3.12+. Docker Desktop is optional — only needed to download an embedding model or run Qdrant; an embedding endpoint you already run works too. Lexical search needs no external services; semantic search needs an OpenAI-compatible embedding endpoint, which the wizard can start for you.
uvx simple-code-indexer setup
That installs a version-pinned environment with uv tool install and launches the interactive wizard: it picks an embedding source (your own OpenAI-compatible endpoint, or a downloadable model such as EmbeddingGemma 2 served locally), a vector store (sqlite-vec recommended, FAISS or Qdrant also supported), and the harnesses to configure. Restart your harness afterwards, open a project, and ask in plain language: "where is the writer lease acquired?"
Tools
| Tool | What it does |
|---|---|
search_code |
Keyword (FTS5) search; semantic=true switches to vector search |
symbol_lookup |
Find definitions by symbol name, with a coverage signal |
get_status |
Workspace, role, index/vector-store health, sessions, services |
Every hit is a chunk: file path, line range, snippet, score.
Supported harnesses
Claude Code · Claude Desktop · Codex CLI · Gemini CLI · OpenCode · Cursor · Windsurf (Devin Local) · VS Code · Zed · Goose · Pi · Command Code · MiMoCode · Hermes Agent · OpenClaw · Kilo Code · Cline
To support a client that is not on the list, drop a plugin module into the harnesses folder.
Links
- Homepage: https://github.com/k-joel/simple-code-indexer
- Documentation: https://github.com/k-joel/simple-code-indexer/tree/master/docs
- Changelog: https://github.com/k-joel/simple-code-indexer/blob/master/docs/CHANGELOG.md
- Issues: https://github.com/k-joel/simple-code-indexer/issues
Licence
Apache-2.0.
Metadata
Release files for simple-code-indexer 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simple_code_indexer-0.1.1.tar.gz | 175.8 kB | With provenance | Details for simple_code_indexer-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simple_code_indexer-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for simple_code_indexer-0.1.1-py3-none-any.whl |
Total release size: 387.3 kB
Release files / simple_code_indexer-0.1.1.tar.gz
| Download URL | simple_code_indexer-0.1.1.tar.gz |
|---|---|
| Size | 175.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
134dcb18b7943a5ed09db7943fda8e169f3a6023cfe0d6d3a8da0954ca38a578
|
|
BLAKE2b-256 checksum How to use checksums |
48ef4c9ff04a4e7bccd9f9c8a5e4c4a59b105e2ebd8b7dc0e4f37ae58af7e005
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / simple_code_indexer-0.1.1-py3-none-any.whl
| Download URL | simple_code_indexer-0.1.1-py3-none-any.whl |
|---|---|
| Size | 211.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6595427448070ba25f109306a1ab334bbeb85a660e9b39679f6caf7eca71d79d
|
|
BLAKE2b-256 checksum How to use checksums |
bf91e5ebbff72d8df7a70ac92cb6dae856ebf4ca74eb51323982c66c1818d5e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for simple-code-indexer 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for simple_code_indexer-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.