Indexes project files into a local knowledge graph and exposes natural-language queries through a CLI, dashboard, and four MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Cortex.
gzoonet/cortex MCP server builds a local knowledge graph from developer project files. It watches configured directories, processes supported file types, and extracts entities such as architecture decisions, components, dependencies, constraints, patterns, and action items. It also infers relationships across entities and projects, identifies contradictions and duplicates, and supports natural-language queries with source citations.
The project includes a CLI and a web dashboard. The dashboard provides a graph visualization, live ingestion feed, and query explorer. The CLI can register projects, ingest existing files, query the graph, search for entities, and list contradictions. The MCP integration exposes four tools: getstatus, listprojects, findentity, and querycortex.
For each file change, the processing pipeline parses content into chunks, uses an LLM to extract entities, relates new entities to existing ones, checks for conflicts and duplicates, and stores the results. SQLite holds graph data, while LanceDB stores vectors. Queries combine graph information with natural-language synthesis. Optional semantic search blends keyword matching with embedding similarity; embeddings are configured separately from the chat model and are disabled by default.
All stored data remains under ~/.cortex/. LLM requests can leave the machine when a cloud provider is configured, except for restricted projects, which are kept local. Routing modes include cloud-first, hybrid, local-first, and local-only. Hybrid and local modes require Ollama; cloud modes can use Anthropic, Google Gemini, DeepSeek, Groq, OpenRouter, or another OpenAI-compatible endpoint.
Install the CLI globally with npm install -g @gzoo/cortex, then run cortex init to configure an LLM provider, credentials, routing mode, watched directories, and a monthly budget. cortex doctor checks configuration, providers, and the database. Global settings are written to ~/.cortex/cortex.config.json, while API keys are stored in ~/.cortex/.env.
Register directories with cortex projects add, backfill existing files with cortex ingest, and start ongoing processing with cortex serve or cortex watch. These modes should not run at the same time because they compete for file changes. cortex serve also starts the dashboard and API, normally at http://localhost:3710.
Configuration can come from built-in defaults, the global file, an optional project-level cortex.config.json, and CORTEX_* environment variables. Exclusion rules and restricted paths are managed through CLI commands.
The gzoonet/cortex MCP server provides:
getstatus for checking the system state.listprojects for listing registered projects.findentity for locating entities in the graph.querycortex for asking natural-language questions against the indexed knowledge.The broader application also supports contradiction reports, entity expansion, source citations, semantic search, project watching, and dashboard-based graph exploration.
Node.js 20 or newer is required. Cloud routing needs an API key for the selected provider, while local-only operation requires Ollama. Semantic search needs a separately configured embeddings provider and is not enabled by default. Initial existing content requires an explicit ingest because the watcher does not re-ingest all files when it starts. The README documents direct MCP integration with Claude Code; it does not specify configuration for Claude Desktop, Cursor, Windsurf, or Cline.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gzoonet-cortex)<a href="https://allmcps.com/mcp/gzoonet-cortex"><img src="https://allmcps.com/api/badge/gzoonet-cortex?style=directory" alt="Cortex on AllMCPs" /></a>