Skip to main content

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. Restart Claude Code after.

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

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

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

Source distribution (sdist)

Source distribution for cortex-local 2.2.2
File Size Uploaded Provenance Actions
cortex_local-2.2.2.tar.gz 22.2 kB With provenance Details for cortex_local-2.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 51.4 kB

Release files / cortex_local-2.2.2.tar.gz

Download URL cortex_local-2.2.2.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c3253196b0f2d6ae2b050ba776f04dd9df183f22c68097104fc09a91706098cf
BLAKE2b-256 checksum
How to use checksums
26fb50c4110b98951ab1b38338490eefef35a0bb169b61b6bf37ab1aabfae95b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 21, 2026.

Transparency log

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

Download URL cortex_local-2.2.2-py3-none-any.whl
Size 29.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a454619a6ea0aebe5418473b75ab3b8d7c90532d304fe428e60234ac942c432
BLAKE2b-256 checksum
How to use checksums
9f6739d6250fd17e62ea79ffd44e6c7d34d2e6ea6320e0ba95cb3a170980c724
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 21, 2026.

Transparency log

Security for cortex-local 2.2.2

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.

Select from 2 files

Attestation for cortex_local-2.2.2.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 Jul 21, 2026.

Transparency log

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

2.2.2 This release

2 release files Full 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