
CodeAlive
STDIOHTTP-SSEDeep context provider for AI clients with codebase semantic search and understanding.
Deep context provider for AI clients with codebase semantic search and understanding.
Connect your AI assistant to CodeAlive's powerful code understanding platform in seconds!
This MCP (Model Context Protocol) server enables AI clients like Claude Code, Cursor, Claude Desktop, Continue, VS Code (GitHub Copilot), and Cline to access CodeAlive's advanced semantic code search and codebase interaction features.
CodeAlive analyzes your entire codebase to understand its structure, patterns, and logic. It creates a detailed internal map of your repositories, enabling AI assistants to:
Once connected, you'll have access to these powerful tools:
get_data_sources
- List your indexed repositories and workspacessearch_code
- Semantic code search across your codebasechat_completions
- AI chat with full project contextAfter setup, try these commands with your AI assistant:
get_data_sources
search_code
chat_completions
The fastest way to get started - no installation required! Our remote MCP server at https://mcp.codealive.ai/api/
provides instant access to CodeAlive's capabilities.
Select your preferred AI client below for instant setup:
One command setup:
claude mcp add --transport http codealive https://mcp.codealive.ai/api/ --header "Authorization: Bearer YOUR_API_KEY_HERE"
Replace YOUR_API_KEY_HERE
with your actual API key. That's it! 🎉
Cmd+,
or Ctrl+,
){ "mcpServers": { "codealive": { "url": "https://mcp.codealive.ai/api/", "headers": { "Authorization": "Bearer YOUR_API_KEY_HERE" } } } }
.continue/config.yaml
in your project or ~/.continue/config.yaml
mcpServers: - name: CodeAlive type: streamable-http url: https://mcp.codealive.ai/api/ requestOptions: headers: Authorization: "Bearer YOUR_API_KEY_HERE"
Ctrl+Shift+P
or Cmd+Shift+P
){ "servers": { "codealive": { "type": "http", "url": "https://mcp.codealive.ai/api/", "headers": { "Authorization": "Bearer YOUR_API_KEY_HERE" } } } }
Note: Claude Desktop remote MCP requires OAuth authentication. Use Docker option below for Bearer token support.
{ "mcpServers": { "codealive": { "url": "https://mcp.codealive.ai/api/", "headers": { "Authorization": "Bearer YOUR_API_KEY_HERE" } } } }
If you prefer Docker over the remote service, use our Docker image:
For local development or if you prefer Docker over the remote service:
Edit your config file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Add this configuration:
{ "mcpServers": { "codealive": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "CODEALIVE_API_KEY=YOUR_API_KEY_HERE", "ghcr.io/codealive-ai/codealive-mcp:main" ] } } }
{ "mcpServers": { "codealive": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "CODEALIVE_API_KEY=YOUR_API_KEY_HERE", "ghcr.io/codealive-ai/codealive-mcp:main" ] } } }
mcpServers: - name: CodeAlive type: stdio command: docker args: - run - --rm - -i - -e - CODEALIVE_API_KEY=YOUR_API_KEY_HERE - ghcr.io/codealive-ai/codealive-mcp:main
Create .vscode/mcp.json
in your workspace:
{ "servers": { "codealive": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "CODEALIVE_API_KEY=YOUR_API_KEY_HERE", "ghcr.io/codealive-ai/codealive-mcp:main" ] } } }
{ "mcpServers": { "codealive": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "CODEALIVE_API_KEY=YOUR_API_KEY_HERE", "ghcr.io/codealive-ai/codealive-mcp:main" ] } } }
For developers who want to customize or contribute to the MCP server.
# Clone the repository git clone https://github.com/CodeAlive-AI/codealive-mcp.git cd codealive-mcp # Setup with uv (recommended) uv venv source .venv/bin/activate # Windows: .venv\Scripts\activate uv pip install -e . # Or setup with pip python -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install -e .
Once installed locally, configure your AI client to use the local server:
claude mcp add codealive-local /path/to/codealive-mcp/.venv/bin/python /path/to/codealive-mcp/src/codealive_mcp_server.py --env CODEALIVE_API_KEY=YOUR_API_KEY_HERE
Replace the Docker command
and args
with:
{ "command": "/path/to/codealive-mcp/.venv/bin/python", "args": ["/path/to/codealive-mcp/src/codealive_mcp_server.py"], "env": { "CODEALIVE_API_KEY": "YOUR_API_KEY_HERE" } }
# Start local HTTP server export CODEALIVE_API_KEY="your_api_key_here" python src/codealive_mcp_server.py --transport http --host localhost --port 8000 # Test health endpoint curl http://localhost:8000/health
Auto-install for Claude Desktop via Smithery:
npx -y @smithery/cli install @CodeAlive-AI/codealive-mcp --client claude
Test the hosted service:
curl https://mcp.codealive.ai/health
Check your API key:
curl -H "Authorization: Bearer YOUR_API_KEY" https://app.codealive.ai/api/v1/data_sources
Enable debug logging: Add --debug
to local server args
MIT License - see LICENSE file for details.
Ready to supercharge your AI assistant with deep code understanding?
Get started now →