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.1.0.tar.gz (17.4 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.1.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cortex_local-2.1.0.tar.gz
  • Upload date:
  • Size: 17.4 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.1.0.tar.gz
Algorithm Hash digest
SHA256 b41f142e6b091cd43e840c7accaa43c6f33b1f801fa8510f8df2cbfdbfcf31d0
MD5 afe6133806cac8c6b0a27e773db35ae8
BLAKE2b-256 46c722389e0fc6c77232094fa0a30f4f24b2f32c68555bc07ec8b4b44b9cac36

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: cortex_local-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98199ab09a62c71045bc9200c3dd327e98e0fc082f0f7d5d28ddc8a9af1493c2
MD5 f677146f6552e526af1a483b524cb856
BLAKE2b-256 9d96785fcabc05a2c9d886c784a58d1f0dec273e1e26758374ba5177d2107747

See more details on using hashes here.

Provenance

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