Persistent codebase knowledge layer for AI coding agents. Pre-digests codebases into structured knowledge (symbols, dependency graphs, co-change patterns, architectural decisions) via tree-sitter native parsing (28 languages) and serves via MCP. 14 tools, ~85% token reduction. Works with Claude Code, Cursor, Codex, and any MCP client.
Run the underlying MCP server directly — without Agent-CoreX routing.
npx -y codecortexAgent-CoreX intelligently routes which tools from rushikeshmore/CodeCortex your AI agent actually needs per request — reducing token usage and cost.
agent-corex.json
{
"mcpServers": {
"codecortex": {
"command": "npx",
"args": [
"-y",
"codecortex"
]
}
}
}Connect in 2 minutes. Only pay for the tools your agent actually uses.
Recommended: intelligent tool routing, lower costs
uvx agent-corex mcp add codecortexAgent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.
Use rushikeshmore/CodeCortex directly without routing
npx -y codecortexNew to Agent-CoreX? View setup guide →