Skip to main content

Local semantic search MCP server — notes + code, embedded Qdrant, fastembed

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cortex_local-2.0.10.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cortex_local-2.0.10-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file cortex_local-2.0.10.tar.gz.

File metadata

  • Download URL: cortex_local-2.0.10.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cortex_local-2.0.10.tar.gz
Algorithm Hash digest
SHA256 c01eb3d6f26f402b63aa4c8f29176bfa340aa48bcb65812356adfc005814412d
MD5 19cc81d562d7bc91ed1585b920d0bb64
BLAKE2b-256 01c1ccbce97d69a60fc5a9bc9cdd853b00b5d2ab2a267e9a86184fc10ce1e38c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cortex_local-2.0.10.tar.gz:

Publisher: deploy.yml on Xoudusz/cortex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cortex_local-2.0.10-py3-none-any.whl.

File metadata

  • Download URL: cortex_local-2.0.10-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cortex_local-2.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 78dca126393995910bf52fe14c6d12a5ee71d0bc3c2795740979552881bfa51a
MD5 a51b59119b20f0e254c607b4fb0d2fdf
BLAKE2b-256 ff1d0092c1737d3aacae416efceae153d37e9801e8ceb28d196be4cfc228f707

See more details on using hashes here.

Provenance

The following attestation bundles were made for cortex_local-2.0.10-py3-none-any.whl:

Publisher: deploy.yml on Xoudusz/cortex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page