Stop re-explaining your codebase to AI every session. CogniLayer gives Claude Code persistent memory across sessions, AST-based code
intelligence (who calls what, blast radius analysis), and subagent context compression (40K → 500 tokens).
17 MCP tools including semantic search (FTS5 + vector), code_context, code_impact, session bridges, crash recovery, and deployment safety gates.
Saves 80-200K+ tokens per session by replacing file reads with targeted knowledge retrieval.
Works with Claude Code and Codex CLI. Zero-config after install — hooks and MCP tools run automatically.
Server Config
{
"mcpServers": {
"cognilayer": {
"command": "python",
"args": [
"-m",
"cognilayer.server"
],
"cwd": "~/.cognilayer/mcp-server"
}
}
}