Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

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 3.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for cortex-local 3.1.1
File Size Uploaded Provenance Actions
cortex_local-3.1.1.tar.gz 46.6 kB Without provenance Details for cortex_local-3.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cortex-local 3.1.1
File Interpreter ABI Platform Actions
cortex_local-3.1.1-py3-none-any.whl Python 3 none any Details for cortex_local-3.1.1-py3-none-any.whl

Total release size: 100.9 kB

Release files / cortex_local-3.1.1.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL cortex_local-3.1.1.tar.gz
Size 46.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b8f5228fa08d9a784c8d268ced02222b82e67fe5582945edb10f7c125dbb8eeb
BLAKE2b-256 checksum
How to use checksums
f14a94d558aa09803b3795e9b904719abe2cfdc759f32a17837262884c7347cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / cortex_local-3.1.1-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL cortex_local-3.1.1-py3-none-any.whl
Size 54.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd57fd7cea67005f55310b379c75e99ab1b803cfb2bf698c29a51168553ca019
BLAKE2b-256 checksum
How to use checksums
c77f0c32dba5271f9aeae69f79dc8962ca2b01274ecc730bb46efa963d60e4b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Security for cortex-local 3.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.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 2.4.5 2 files With provenance
  • Added 3.1.1 2 files Without provenance

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

Release history Release notifications | RSS feed

This release

3.1.1 This release

2 release files Loss of provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page