Code retrieval engine — hybrid embedding + graph search for LLM context injection.
Project description
Add to Claude Code
claude mcp add-json codebase-retrieval --scope user '{"type":"stdio","command":"uvx","args":["codebase-retrieval-context-engine"],"env":{"CORBELL_LLM_PROVIDER":"google","GOOGLE_API_KEY":"your-google-api-key","GOOGLE_MODEL":"gemini-3.1-flash-lite","CORBELL_EMBEDDING_MODEL":"voyage-4-lite","VOYAGE_API_KEY":"your-voyage-api-key"}}'
That's it. The AI agent passes workspace path and triggers index builds automatically.
Remove from Claude Code
claude mcp remove codebase-retrieval --scope user
After adding, you can also edit or remove the MCP config directly in ~/.claude.json.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codebase_retrieval_context_engine-2.0.6.tar.gz.
File metadata
- Download URL: codebase_retrieval_context_engine-2.0.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45918d4500857b04fe39d1db1d224fb39971aa534059051393a883aeb6634a68
|
|
| MD5 |
172e115f67d20aa3107f76862e96669c
|
|
| BLAKE2b-256 |
2a63783dd433a25a1911790d1fd64cc91511b31233868c89c4b72089e7b597b4
|
File details
Details for the file codebase_retrieval_context_engine-2.0.6-py3-none-any.whl.
File metadata
- Download URL: codebase_retrieval_context_engine-2.0.6-py3-none-any.whl
- Upload date:
- Size: 103.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9f2b5ee6ae728b2aac214f261c286f1c90e204f992b14a546f4127da8e5e74d
|
|
| MD5 |
1b4abf5250362aa2757584eb96a792b4
|
|
| BLAKE2b-256 |
427d1932a546e566c17f70e3a388fd89a79dff40a7b794b3bc4976c51a389dc4
|