# Cortex RMCP

> Cortex RMCP is an open-source MCP server. Self-hosted homelab log intelligence over MCP, CLI, and REST with SQLite/FTS. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/dinglebear-ai/cortex
- **MCP Registry name:** ai.dinglebear/cortex
- **Listing updated:** 2026-11-13

## About

Self-hosted homelab log intelligence over MCP, CLI, and REST with SQLite/FTS.

## Install

### Claude Code (Terminal)

```sh
claude mcp add cortex --env CORTEX_TOKEN='<CORTEX_TOKEN>' --env CORTEX_API_TOKEN='<CORTEX_API_TOKEN>' -- npx -y @dinglebear/cortex
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "cortex": {
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/cortex"
      ],
      "env": {
        "CORTEX_TOKEN": "<CORTEX_TOKEN>",
        "CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "cortex": {
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/cortex"
      ],
      "env": {
        "CORTEX_TOKEN": "<CORTEX_TOKEN>",
        "CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "cortex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/cortex"
      ],
      "env": {
        "CORTEX_TOKEN": "<CORTEX_TOKEN>",
        "CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "cortex": {
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/cortex"
      ],
      "env": {
        "CORTEX_TOKEN": "<CORTEX_TOKEN>",
        "CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "cortex": {
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/cortex"
      ],
      "env": {
        "CORTEX_TOKEN": "<CORTEX_TOKEN>",
        "CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is Cortex RMCP free?

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

### How do I add Cortex RMCP to Claude Code?

Run this command in your terminal: claude mcp add cortex --env CORTEX_TOKEN='<CORTEX_TOKEN>' --env CORTEX_API_TOKEN='<CORTEX_API_TOKEN>' -- npx -y @dinglebear/cortex

### What are the best alternatives to Cortex RMCP?

The closest alternatives to Cortex RMCP are Cortex RMCP, Cortex, Syslog MCP, Synapse RMCP and HomeLab Monitor.

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Cortex RMCP](https://ai-powered.com/mcp/cortex-rmcp-2): Cortex RMCP is an open-source MCP server.
- [Cortex](https://ai-powered.com/mcp/cortex-5): Cortex is an open-source MCP server.
- [Syslog MCP](https://ai-powered.com/mcp/syslog-mcp): Syslog MCP is an open-source MCP server.
- [Synapse RMCP](https://ai-powered.com/mcp/synapse-rmcp): Synapse RMCP is an open-source MCP server.
- [HomeLab Monitor](https://ai-powered.com/mcp/homelab-monitor): HomeLab Monitor is an open-source MCP server.
- [Runner MCP](https://ai-powered.com/mcp/runner-mcp): Runner MCP is an open-source MCP server.
- [Synapse RMCP](https://ai-powered.com/mcp/synapse-rmcp-2): Synapse RMCP is an open-source MCP server.
- [RocketCyber MCP](https://ai-powered.com/mcp/rocketcyber-mcp): RocketCyber MCP is an open-source MCP server.

---
Source: https://ai-powered.com/mcp/cortex-rmcp
