Choose your method

Whichever method you pick, you're installing one thing: mergen-server — the runtime every surface connects to. The CLI operates it, My Machine governs through it, your IDE connects via MCP. Start with Claude Code for the smoothest experience.

Claude Code

Easiest — Recommended

Best for: Direct integration with Claude Code via MCP

Time< 1 minute
Register with Claude Code
claude mcp add mergen --transport stdio -- npx mergen-server start
Verify connection
claude -c "ask mergen for recent logs"

Check your installation

Run after any install method
mergen-server --version
mergen-server test
mergen-server start
Expected output
✓ Server binary exists
✓ Server starts successfully
✓ Health endpoint responds
✓ Event ingestion works
✓ IDE configured correctly
Mergen is ready to use!

Methods at a glance

MethodTimeDependenciesUpdatesBest For
Claude Code (MCP)< 1 minClaude CodeAuto (npx)Claude Code users
NPM2 minNode.jsAutoAny MCP-compatible IDE
Homebrew3 minmacOSbrew upgradeMac users
Docker1 minDockerManualContainers

Common issues

"Command not found: claude"
npm install -g @anthropic-ai/claude-code
"Mergen index failed: no documents found"
Ensure your postmortems are in .md format
Check the directory path provided to the index command
"IDE not showing Mergen tools"
# Restart your IDE after setup
# Verify MCP config file exists:
# Cursor:    ~/.cursor/mcp.json
# VS Code:   ~/.vscode/mcp.json

You're ready. Start debugging.

01
Start server
mergen-server start
02
Open your AI IDE
Cursor / Claude Code / VS Code
03
Ask your AI
"Get recent logs"
04
Web UI (optional)
http://127.0.0.1:3000/setup
GitHubReport an Issue

Security

No data leaves your machine Server runs on localhost only (127.0.0.1) Local-first by default — cloud sync is opt-in, never required No analytics