Cortex is a local Model Context Protocol (MCP) server that gives AI coding assistants memory beyond the context window.
Instead of storing chat history, Cortex indexes committed code, documentation, and ADRs into vector embeddings. This lets AI retrieve approved project knowledge by meaning, not keywords, helping avoid duplicate implementations and repeated explanations.
Runs locally, uses Postgres and Ollama for embeddings, and integrates with Claude CLI via MCP.