Skip to content
Claude Code

cosmos mcp for Claude Code

io.github.teampolarity/cosmos-mcp

Personal knowledge graph every MCP client reads from and writes to. Portable across agents.

client:Claude Code transport:stdio runtime:npm

Install cosmos mcp 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 cosmos-mcp -e COSMOS_TOKEN=<COSMOS_TOKEN> -- npx -y @polarity-lab/cosmos-mcp

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

cosmos mcp in other clients