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.9.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.9-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cortex_local-2.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 6ce819270954aeb23fd742e47320894c39f6bc2574aab3a03d66b68580994e3b
MD5 96ede481c6a9842ad03d8332228dabac
BLAKE2b-256 eea724738b9c1ff1048b912a9aef6cc406f16900c76c70dd55fb7bf5e4eaa5e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cortex_local-2.0.9.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.9-py3-none-any.whl.

File metadata

  • Download URL: cortex_local-2.0.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 34fb6d046b5dcc70809c659289275987bad40ef50a37b033df447478bbf4253d
MD5 a5c20d05a6630a2ccd99577721a44e42
BLAKE2b-256 e451bb7292102c07317f26cf00715c6412eb5d7a31b68cd8f74780dca39bfb75

See more details on using hashes here.

Provenance

The following attestation bundles were made for cortex_local-2.0.9-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