Skip to content
Claude Code

n8n-guard for Claude Code

io.github.flow-84/n8n-guard

Read-only health checks for self-hosted n8n: datastore growth, stuck runs, retention, git drift.

client:Claude Code transport:stdio runtime:npm

Install n8n-guard 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 n8n-guard -e N8N_URL=<N8N_URL> -e N8N_API_KEY=<N8N_API_KEY> -e N8N_SQLITE_PATH=<N8N_SQLITE_PATH> -e N8N_POSTGRES_URL=<N8N_POSTGRES_URL> -e N8N_GIT_REPO_PATH=<N8N_GIT_REPO_PATH> -e N8N_GUARD_STUCK_MINUTES=<N8N_GUARD_STUCK_MINUTES> -e N8N_GUARD_DB_WARN_BYTES=<N8N_GUARD_DB_WARN_BYTES> -e N8N_GUARD_DB_CRITICAL_BYTES=<N8N_GUARD_DB_CRITICAL_BYTES> -e N8N_GUARD_TIMEOUT_MS=<N8N_GUARD_TIMEOUT_MS> -- npx -y n8n-guard

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

n8n-guard in other clients