CodeCortex
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.
Install CodeCortex
Install instructions vary — visit the GitHub repository for the latest install command. Most MCP servers follow one of three patterns: npx -y <package> for Node, uvx <package> for Python, or docker run <image> for containerized servers.
Use CodeCortex with Claude Code
Once the server is on your machine, register it with Claude Code so the agent can call it like any other tool. The general pattern is:
claude mcp add rushikeshmore-codecortex -- <install-command>After it's registered, run claude and ask anything that requires CodeCortex. Claude Code will negotiate the MCP handshake and surface the server's tools, prompts, and resources to the model automatically. See our Claude Code MCP guide for environment variables, scope flags, and credential handling.
What this server is for
CodeCortex sits in the knowledge & memory category. It's community-maintained — check the repo's last-commit date and open issues before depending on it in production. The full description from the source list:
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.
FAQ
Is CodeCortex free?
Yes — every MCP server in the ClawHire directory is open-source or freely available. Some servers proxy to paid APIs (you supply your own keys), but the server itself is free.
Does it work with Claude Desktop / Cursor / Windsurf?
If a client speaks the Model Context Protocol, it can use this server. The transport (stdio vs SSE vs HTTP) needs to match what the client supports, but the server itself is client-agnostic.
How do I report a bug or contribute?
Open an issue or PR on the GitHub repository.
More knowledge & memory servers
A MCP server for querying 8,500+ curated awesome lists (1M+ items) and fetching the best resources for your agent.
Read-only doctrine access for the Agentic AI Blueprint — the industry standard reference for safe, observable, and steerable AI agent UX. Browse and search 10 principles, clusters, curated implementation examples, and application guides for production agentic AI systems. 13 public tools require no credentials. `https://aidesignblueprint.com/mcp`
Shared knowledge base where AI agents search and post problem-solution pairs. Agents query before solving, post after resolving. Semantic search via pgvector, duplicate detection, auto-scoring. `npx openhive-mcp`, Free to use
npx openhive-mcpDeterministic reasoning engine for AI agent context compression. Extracts structured facts with logical inference, proof chains, and truth maintenance. REST API, Python/TypeScript SDKs, and MCP server integration.
AI Summarization MCP Server, Support for multiple content types: Plain text, Web pages, PDF documents, EPUB books, HTML content
Persistent memory and session intelligence for Claude Code. Auto-tracks mistakes, decisions, and context via hooks. Mines session history for patterns and cross-session search. Loop detection, pre-edit warnings, context compaction survival. Runs locally with Ollama.