loading…
Search for a command to run...
loading…
An MCP server that enables Claude to learn from user corrections by recording them as persistent rules in CLAUDE.md files. It manages project-specific or global
An MCP server that enables Claude to learn from user corrections by recording them as persistent rules in CLAUDE.md files. It manages project-specific or global guidelines to ensure the assistant avoids repeating the same mistakes in future sessions.
An MCP server for Claude Code that learns from your corrections. When you tell Claude "that was wrong" or "no, do it like this", it records the lesson as a rule in your CLAUDE.md - so the same mistake doesn't happen twice.
record_error toolCLAUDE.mdThe server automatically detects whether you're in a project directory (writes to project CLAUDE.md) or your home directory (writes to ~/.claude/CLAUDE.md).
record_errorRecords a correction and saves it as a learned rule with metadata (date, category).
| Parameter | Type | Required | Description |
|---|---|---|---|
error_description |
string | yes | What was wrong |
correction |
string | yes | What is correct |
rule |
string | yes | Derived guideline, e.g. "ALWAYS use X instead of Y" |
category |
string | no | Rule category (e.g. "n8n", "bash", "google-workspace"). Auto-detected if omitted. |
project_dir |
string | no | Current working directory (for finding project CLAUDE.md) |
list_errorsLists all learned rules from the relevant CLAUDE.md. Supports filtering and grouping.
| Parameter | Type | Required | Description |
|---|---|---|---|
category |
string | no | Filter rules by category |
grouped |
boolean | no | Group rules by category with headings |
project_dir |
string | no | Current working directory |
delete_ruleDeletes a learned rule by index or substring match.
| Parameter | Type | Required | Description |
|---|---|---|---|
index |
number | no* | 1-based index of the rule to delete |
match |
string | no* | Substring to match (must match exactly one rule) |
project_dir |
string | no | Current working directory |
*Exactly one of index or match must be provided.
update_ruleUpdates an existing rule's text, date, and optionally category.
| Parameter | Type | Required | Description |
|---|---|---|---|
index |
number | no* | 1-based index of the rule to update |
match |
string | no* | Substring to match (must match exactly one rule) |
new_rule |
string | yes | The new rule text |
category |
string | no | New category (keeps existing if omitted) |
project_dir |
string | no | Current working directory |
*Exactly one of index or match must be provided.
review_rulesReviews all rules with their age for lifecycle management.
| Parameter | Type | Required | Description |
|---|---|---|---|
older_than_days |
number | no | Threshold in days to consider "old" (default: 30) |
project_dir |
string | no | Current working directory |
Rules are stored in a ## Learned Rules section in your CLAUDE.md with metadata as HTML comments:
## Learned Rules
- Legacy rule without metadata (still supported)
### N8n
- Bei n8n IMMER nodeId verwenden <!-- @date:2026-02-15 @category:n8n -->
### Bash
- NEVER embed large JSON inline in Bash commands <!-- @date:2026-02-20 @category:bash -->
Metadata fields:
@date:YYYY-MM-DD — when the rule was created/updated@category:name — rule category for groupingRules without metadata (legacy format) remain fully supported and appear at the top of the section without a category heading.
git clone https://github.com/henningziech/claude-error-collector-mcp.git
cd claude-error-collector-mcp
npm install && npm run build
claude mcp add error-collector -s user -- node "$PWD/dist/index.js"
Restart Claude Code after installation. No manual CLAUDE.md editing needed — the server provides its own instructions to Claude via MCP server metadata.
The server finds the right CLAUDE.md using this logic:
project_dir is provided: walk up the directory tree looking for CLAUDE.md~/.claude/CLAUDE.md (global rules)Duplicate detection works on two levels:
Server-side: Before writing a rule, the server checks existing rules using case-insensitive substring matching. If the new rule is already covered by an existing one (or vice versa), it skips the write.
Semantic (via instructions): The server instructs Claude to review existing learned rules for semantic equivalence before calling record_error — even if the wording differs. Claude will:
MIT
Run in your terminal:
claude mcp add claude-error-collector -- npx Yes, Claude Error Collector MCP is free — one-click install via Unyly at no cost.
No, Claude Error Collector runs without API keys or environment variables.
Self-hosted: the server runs locally on your machine via the install command above.
Open Claude Error Collector on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Web content fetching and conversion for efficient LLM usage.
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolProvides auto-configuration for setting up an MCP server in Spring Boot applications.
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzNot sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs