Skip to content
MCP server

Cortex

Local repo context for coding assistants with semantic search and graph relationships.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.4.2
Listing updated
5 days ago

About Cortex

Cortex is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add cortex -- npx -y @danielblomma/cortex-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "cortex": {
      "command": "npx",
      "args": [
        "-y",
        "@danielblomma/cortex-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "cortex": {
      "command": "npx",
      "args": [
        "-y",
        "@danielblomma/cortex-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "cortex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@danielblomma/cortex-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cortex": {
      "command": "npx",
      "args": [
        "-y",
        "@danielblomma/cortex-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "cortex": {
      "command": "npx",
      "args": [
        "-y",
        "@danielblomma/cortex-mcp"
      ]
    }
  }
}

Pricing

Open source

Cortex FAQ

Is Cortex free?

Yes. Cortex is open source, so you can use and self-host it for free.

How do I add Cortex to Claude Code?

Run this command in your terminal: claude mcp add cortex -- npx -y @danielblomma/cortex-mcp