Skip to main content

Code retrieval engine — hybrid embedding + graph search for LLM context injection.

Project description

codebase-retrieval-context-engine

Code retrieval engine for LLM context via MCP.

License


Add to Claude Code

claude mcp add codebase-retrieval -e CORBELL_LLM_PROVIDER=google -e GOOGLE_API_KEY=your-google-api-key -e GOOGLE_MODEL=gemini-3.1-flash-lite -e CORBELL_EMBEDDING_MODEL=voyage-4-lite -e VOYAGE_API_KEY=your-voyage-api-key -- uvx codebase-retrieval-context-engine

That's it. The AI agent passes workspace path and triggers index builds automatically.


Environment variables

Variable Description
CORBELL_LLM_PROVIDER LLM provider for reranking (google, anthropic, openai)
GOOGLE_API_KEY Google AI API key (supports multiple: key1,key2,key3)
GOOGLE_MODEL e.g. gemini-3.1-flash-lite
CORBELL_EMBEDDING_MODEL voyage-4-lite, voyage-code-3, or gemini-embedding-001
VOYAGE_API_KEY Voyage AI API key (supports multiple: key1,key2,key3). Add a card to billing to unlock rate limits.

License

Apache 2.0

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

codebase_retrieval_context_engine-2.0.4.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file codebase_retrieval_context_engine-2.0.4.tar.gz.

File metadata

  • Download URL: codebase_retrieval_context_engine-2.0.4.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for codebase_retrieval_context_engine-2.0.4.tar.gz
Algorithm Hash digest
SHA256 4abcca1f20d17ac62f5e3f36c731a73505b33bee6a0368daada9bc7b6cacf7ab
MD5 38ab1c6ef57739907c819d9b51656557
BLAKE2b-256 faaee445b4b12ecbf6b586adb7765e8ba8b3690c4df445e3cc464cceb3c7fd1e

See more details on using hashes here.

File details

Details for the file codebase_retrieval_context_engine-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: codebase_retrieval_context_engine-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 101.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for codebase_retrieval_context_engine-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8c7a5b32a66fb54aa2cb9c21bac08c116c403e038ef89aaacd9c72f164ba4d48
MD5 7935696a67c6f741a2953bb9aa38f245
BLAKE2b-256 6fe088b4d7f3857ccb7d8ef9708925b1f060cbfdbd0b4ba17a4df44dae006fb1

See more details on using hashes here.

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