cortex-local
Local semantic search MCP server for Claude Code — index your notes and code, search them semantically without any server or cloud dependency.
Install
pipx install cortex-local
cortex install
cortex install downloads embedding models and registers the MCP server in Claude Code with --scope user (available in all projects). Restart Claude Code after.
Update
pipx upgrade cortex-local
cortex install # re-registers MCP (idempotent)
Legacy CPUs (no SSE4.2 / X86_V2)
NumPy 2.x requires SSE4.2. If you get a RuntimeError: NumPy was built with baseline optimizations (X86_V2) error, use the legacy extra with Python 3.12:
pipx install "cortex-local[legacy]" --python /path/to/python3.12
cortex install
[legacy] pins numpy==1.26.4 which has no SSE4.2 requirement. Python 3.12 is required because numpy 1.26.x has no wheels for 3.13+.
Usage
cortex index ~/notes # index Obsidian vault
cortex index ~/projects/myapp # index a code repo
cortex doctor # check version, MCP registration, workspace, index status
cortex uninstall # remove MCP registration
Then in Claude Code, search_notes and search_code are available as MCP tools.
How it works
- Embeddings: fastembed (
nomic-embed-text-v1.5) + BM25 sparse — runs fully local, no GPU needed - Vector store: embedded Qdrant at
~/.cortex/qdrant - Graph layer: import graph with degree centrality re-ranking + Personalized PageRank for notes
Full documentation: github.com/Xoudusz/cortex
Metadata
Release files for cortex-local 2.4.4
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 |
|---|---|---|---|---|
| cortex_local-2.4.4.tar.gz | 27.8 kB | With provenance | Details for cortex_local-2.4.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cortex_local-2.4.4-py3-none-any.whl | Python 3 | none | any | Details for cortex_local-2.4.4-py3-none-any.whl |
Total release size: 62.7 kB
Release files / cortex_local-2.4.4.tar.gz
| Download URL | cortex_local-2.4.4.tar.gz |
|---|---|
| Size | 27.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60a6ac386f0e3b0f7d40fa10be6da84512332960fb1540790b605f5e066546c7
|
|
BLAKE2b-256 checksum How to use checksums |
20cbefb77041b9d21b56ca9d62ab3a319586eb7c2083444e367db89f8752de3a
|
| 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 Nov 2, 2026.
Transparency logRelease files / cortex_local-2.4.4-py3-none-any.whl
| Download URL | cortex_local-2.4.4-py3-none-any.whl |
|---|---|
| Size | 34.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1675bff51acdce1f102521ad488b023db599cfc75ce9ce57ffd4eb8f7fb67013
|
|
BLAKE2b-256 checksum How to use checksums |
479628d0818068059f49150e819edd2c50d07c6e767e20bc49ec6f6db953978f
|
| 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 Nov 2, 2026.
Transparency logSecurity for cortex-local 2.4.4
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for cortex_local-2.4.4.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 Nov 2, 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.