n8n Knowledge — Claude Code Plugin
v0.3.12
A Claude Code plugin that makes Claude better at n8n. When it detects you're working on
n8n, hooks automatically recall curated n8n knowledge (docs, GitHub issues with status,
community workarounds, node specs) and inject it as context — no web-search permissions, no
MCP server, no API keys. When Claude writes a workflow JSON file, a PostToolUse
hook (on by default) validates it against the n8n-mcp validation engine, feeds the errors back, and lets
Claude fix them in the same turn.
The knowledge is served by a hosted Hindsight
memory instance (bank n8n, 245k+ memories). Validation is served either by a cloud
validator microservice or by a local n8n-mcp install you point it at. Both the knowledge
service and the validator are open source and self-hostable — see
n8n-hindsight.
Privacy: auto-recall sends your prompt text to the author's hosted recall endpoint when
n8n context is detected, and workflow validation is on by default: unless you have a local
n8n-mcp install or set enableWorkflowValidation to false, each workflow JSON file Claude
writes is sent to the hosted validator. Read What data leaves your machine before installing.
The validator can run fully local (point it at a local n8n-mcp install). The knowledge
database is not local — recall is served from the author's hosted n8n Hindsight bank. The
n8n-hindsight stack is open source and self-hostable,
but reproducing a populated bank of this size is substantial work, so in practice recall talks to
the hosted endpoint unless you stand up and fill your own instance.
Install
In Claude Code, add this repo as a plugin marketplace, then install:
/plugin marketplace add https://github.com/dbenn8/n8n-knowledge
/plugin install n8n-knowledge@n8n-knowledge
/reload-plugins
No setup, API keys, or configuration required to start. The plugin ships with the node
lookup dictionary checked in and points at the hosted knowledge service by default.
See it working. The plugin injects context straight into Claude's turn, where only the
model sees it. To watch exactly what it pulls in, tail its debug log in a second terminal:
tail -f ~/.cache/n8n-knowledge/debug.log
Every n8n-related prompt shows the docs, node specs, and known-bug warnings it injected. The
log is owner-only (mode 0600) under your cache dir; the debugRecall option controls
verbosity (summary by default, full for everything).
Local development
To work on the plugin from a clone, add it as a local marketplace instead:
git clone https://github.com/dbenn8/n8n-knowledge.git
# In Claude Code:
# /plugin marketplace add /path/to/n8n-knowledge
# /plugin install n8n-knowledge@n8n-knowledge-local
Architecture
Three repos, one system. This plugin is the client; the other two are the backend.
flowchart TD
subgraph local["Your machine — Claude Code"]
UP["UserPromptSubmit hook<br/>detect-n8n + keyword gate"]
NL["node_lookup.py<br/>3,591-entry dictionary"]
PT["PostToolUse hook<br/>workflow JSON validation<br/>(on by default)"]
BS["PostToolUse backstop<br/>mid-turn refresh"]
end
subgraph svc["n8n-hindsight — knowledge service (hosted by author)"]
REC["/public/recall<br/>(unauthenticated, rate-limited)"]
BANK["Hindsight bank: n8n<br/>245k+ memories"]
end
subgraph val["n8n-validator — validation microservice"]
VW["/public/validate-workflow"]
VH["/public/validator-health<br/>versions + nodes_content_sha256"]
end
LOCALV["Local n8n-mcp install<br/>(validatorMode=local)"]
UP -->|"prompt text + tag filters"| REC
NL --> UP
BS -->|"fresh-keyword query"| REC
REC --> BANK
PT -->|"workflow JSON (cloud mode)"| VW
PT -->|"workflow JSON (local mode)"| LOCALV
PT -.->|"preflight parity check"| VH
VH -.->|"hash/version match → run<br/>mismatch → fail closed"| PT
%% Layout only: force the three sections to stack vertically (top → bottom)
%% instead of an L-shape, so nothing sits in the bottom-right corner where
%% GitHub's diagram zoom/pan controls render and would otherwise cover it.
local ~~~ svc
svc ~~~ val
val ~~~ LOCALV