code-intel-mcp
MCP server that gives AI agents deep code understanding across multiple git repositories. Combines git lifecycle management, Zoekt-based trigram code search, and cross-repo dependency analysis.
Quick Start (macOS)
Prerequisites
Install uv (Python package runner):
brew install uv
1. Setup (one time)
uvx code-intel-mcp setup --zoekt-url "https://github.com/arunveersingh/code-intel-mcp/releases/download/v0.1.0"
This creates ~/.code-intel-mcp/ directories and downloads the Zoekt search engine binaries.
2. Add to your MCP client
Kiro — add to ~/.kiro/settings/mcp.json inside "mcpServers":
"code-intel-mcp": {
"command": "uvx",
"args": ["code-intel-mcp", "serve"],
"env": {
"GITLAB_URL": "https://your-gitlab.com",
"GITLAB_TOKEN": "<your-personal-access-token>"
},
"disabled": false,
"autoApprove": []
}
Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json inside "mcpServers":
"code-intel-mcp": {
"command": "uvx",
"args": ["code-intel-mcp", "serve"],
"env": {
"GITLAB_URL": "https://your-gitlab.com",
"GITLAB_TOKEN": "<your-personal-access-token>"
}
}
3. Done
Restart your MCP client. Your AI agent now has access to 15 tools for code intelligence.
Features
- Git lifecycle — clone, pull, checkout, sync, and remove repositories
- GitLab integration — bulk-clone entire GitLab groups
- Code search — fast trigram-based search powered by Zoekt
- File browsing — read files, list directories, get repo overviews
- Dependency analysis — parse Maven, Gradle, and npm build configs
- Symbol references — word-boundary search across repos
Available Tools
| Tool | Description |
|---|---|
repo_add |
Clone and register a git repository |
repo_add_gitlab_group |
Bulk-clone all projects from a GitLab group |
repo_list |
List all managed repositories |
repo_info |
Detailed repo info (branches, tags, commits, size) |
repo_checkout |
Switch to a branch, tag, or commit SHA |
repo_pull |
Pull latest changes |
repo_sync_all |
Pull all managed repositories |
repo_remove |
Remove a repository and its index |
search_code |
Search code with language/file filters |
search_files |
Search for files by name pattern |
search_references |
Find symbol references across repos |
read_file |
Read file contents |
list_directory |
List directory contents |
get_repo_overview |
Repo summary (README, structure, build info) |
find_dependencies |
Analyze build config dependencies |
Environment Variables
| Variable | Required | Description |
|---|---|---|
GITLAB_URL |
For GitLab features | Base URL of your GitLab instance |
GITLAB_TOKEN |
For GitLab features | Personal access token with read_api scope |
How It Works
The server manages a local repository store at ~/.code-intel-mcp/:
~/.code-intel-mcp/
├── repos/ # Cloned git repositories
├── index/ # Zoekt search index
├── bin/ # Zoekt binaries (auto-installed)
└── config.json # Registry of managed repos
Every git mutation (clone, pull, checkout) automatically triggers Zoekt re-indexing, keeping search results current. The server auto-prepends ~/.code-intel-mcp/bin to PATH on startup, so no manual PATH configuration is needed.
Troubleshooting
spawn code-intel-mcp ENOENT — Use "command": "uvx" with "args": ["code-intel-mcp", "serve"], not "command": "code-intel-mcp".
Requires-Python >=3.11 — Use uvx instead of pip install. It handles Python versions automatically.
Zoekt binaries not found — Re-run setup: uvx code-intel-mcp setup --zoekt-url "https://github.com/arunveersingh/code-intel-mcp/releases/download/v0.1.0"
Development
git clone https://github.com/arunveersingh/code-intel-mcp.git
cd code-intel-mcp
python3 -m venv .venv && source .venv/bin/activate
pip install hatchling && python3 -m hatchling build -t wheel
pip install dist/*.whl && pip install pytest pytest-asyncio hypothesis
pytest
License
MIT — see LICENSE.
Metadata
Release files for code-intel-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| code_intel_mcp-0.1.1.tar.gz | 43.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| code_intel_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.3 kB
Release files / code_intel_mcp-0.1.1.tar.gz
| Download URL | code_intel_mcp-0.1.1.tar.gz |
|---|---|
| Size | 43.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eeaf511ca76308b1f57e5161b99d0629fd21ce91849b48e31abca87cdc99ac29
|
|
BLAKE2b-256 checksum How to use checksums |
f461217812084f54a3fd21f97a2469b564a52f11491b44528e27b0a72fccd469
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / code_intel_mcp-0.1.1-py3-none-any.whl
| Download URL | code_intel_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 29.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f13e809b95d869016162bcbbf571e72e63c8845f7b7e2820ba7f12a0fd00a6c
|
|
BLAKE2b-256 checksum How to use checksums |
11de4a40f72febeb843d23fffda54abc8ad0ab93136453a513a5ef5e740c8458
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for code-intel-mcp 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.