Updated April 2026
Install CodeCortex
Pick your client, copy the command, done.
Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1
Set the server up locally
Run this once to clone and prepare the server before adding it to Claude Code.
npm install -g codecortex-ai --legacy-peer-deps2
Register it in Claude Code
After the local setup is done, run this command to point Claude Code at the built server.
claude mcp add codecortex -- node "<FULL_PATH_TO_CODECORTEX>/dist/index.js"Replace <FULL_PATH_TO_CODECORTEX>/dist/index.js with the actual folder you prepared in step 1.
Try It Out
After setup, try these prompts with your AI agent:
→Analyze the current codebase and identify high-risk files based on temporal coupling.
→Explain the architectural dependencies between the schema modules.
→What are the hidden coupling patterns in this project that might cause bugs during refactoring?
→Generate a summary of the project's coding patterns and conventions for my next task.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
Keep this setup from going cold
Save the docs, env vars, and workflow around CodeCortex in Conare so Claude Code, Codex, and Cursor remember it next time.
Need the legacy visual installer? Open Conare IDE.