Skip to main content

Automatic Setup

cohaku init
This registers the MCP server via the Claude CLI automatically.

Manual Setup

claude mcp add cohaku -- cohaku mcp
Or if using npx without global install:
claude mcp add cohaku -- npx -y @cohaku/cli mcp

Config Generation

Export your memories as a CLAUDE.md file:
cohaku generate claude-code
This writes to CLAUDE.md in the current directory. Use --stdout to print instead:
cohaku generate claude-code --stdout

Verify

Check that Cohaku appears in your MCP servers:
claude mcp list
You should see cohaku in the output.