`@danielblomma/cortex-mcp` is a local context platform for coding assistants that indexes codebases into structured entities and exposes that context over MCP (JSON-RPC over stdio).
From the registry: Persistent knowledge system with OWL-RL reasoning and 22 MCP tools. Local-first.

$ npm i -g @danielblomma/cortex-mcphttps://www.npmjs.com/package/@danielblomma/cortex-mcp$ cortex init --bootstrapPlease install the `cortex` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js 18+** — Node.js 18 or higher required.
- **Install cortex-mcp globally** — Install the @danielblomma/cortex-mcp package. Run: `npm i -g @danielblomma/cortex-mcp` (https://www.npmjs.com/package/@danielblomma/cortex-mcp)
- **Bootstrap project** — Run `cortex init --bootstrap` in the repo you want to index. Run: `cortex init --bootstrap`
Canonical MCP server config (stdio transport):
- command: `cortex`
- args: ["mcp"]
- optional environment variables:
- `CORTEX_PROJECT_ROOT`: Absolute path to the project to index. (example: `/absolute/path/to/your-project`)
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.CORTEX_PROJECT_ROOTrequiredSpecifies the absolute path to the project being indexed.CORTEX_AUTO_BOOTSTRAP_ON_MCPrequiredIndicates whether to automatically bootstrap the context on MCP.NPM_TOKENrequirednpm automation token with publish rights for `@danielblomma/cortex-mcp`.MCP server for searching Airweave collections with natural language queries.