Skip to content
Claude Code

Cortex RMCP for Claude Code

ai.dinglebear/cortex

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

client:Claude Code transport:stdio runtime:npm

Install Cortex RMCP in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add cortex -e CORTEX_HOME=<CORTEX_HOME> -e CORTEX_TOKEN=<CORTEX_TOKEN> -e CORTEX_API_TOKEN=<CORTEX_API_TOKEN> -e CORTEX_RMCP_VERSION=<CORTEX_RMCP_VERSION> -e CORTEX_RMCP_REPO=<CORTEX_RMCP_REPO> -e CORTEX_RMCP_RELEASE_BASE_URL=<CORTEX_RMCP_RELEASE_BASE_URL> -e RUST_LOG=<RUST_LOG> -- npx -y @dinglebear/cortex

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Cortex RMCP in other clients