cortexmd is an open-source long-term memory and code-navigation brain for AI agents, exposed over the Model Context Protocol. It gives an agent a persistent memory that survives across sessions and a way to navigate a codebase by querying an index instead of reading whole files into context. Self-hosted, MIT licensed, pre-alpha.