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.6.tar.gz (10.2 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.6-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cortex_local-2.0.6.tar.gz
  • Upload date:
  • Size: 10.2 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.6.tar.gz
Algorithm Hash digest
SHA256 9179a56cf7674c5fceb43337d8d1afcc77748f017d6546b7479d4518252d4e75
MD5 1cae315c971aba283383e0be5c19cd56
BLAKE2b-256 848de4ce0960da8c673a448c2a57f66ad7f51e24851ec907d6b9c218f8f1e450

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: cortex_local-2.0.6-py3-none-any.whl
  • Upload date:
  • Size: 13.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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 829a04292c6ca567f2efd566798b7d4fef01b97e4b18c0d1454e8be0d0e38103
MD5 82cd2b1977bbf2603569b337535abdcb
BLAKE2b-256 859c1031b6f00844562e898efab0d81cb22f6f276180a6a68b5c26a2fae83621

See more details on using hashes here.

Provenance

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