Back to Apps

Reflect
by rohansx
Self-correction engine for AI coding agents that turns failures into persistent, searchable lessons across sessions.
0 stars
Works in:claude
Exposes:Tools
What it does
Reflect is a Rust-based MCP server that implements the Reflexion pattern, allowing AI coding agents to learn from their mistakes. It captures failures, extracts deterministic error patterns, and stores them as persistent lessons in an SQLite database, preventing the agent from repeating the same errors in future sessions.
Tools
evaluate_output: Runs evaluators (cargo test, pytest, eslint, tsc) and generates structured pass/fail signals.reflect_on_output: Stores a reflection with automatic pattern extraction and deduplication.store_reflection: Stores a standalone lesson without needing a specific evaluation signal.recall_reflections: Searches past lessons using full-text search (FTS5) based on task and tags.get_error_patterns: Lists recurring error patterns with frequency and trend data.get_reflection_stats: Provides aggregated statistics on total reflections, outcomes, and top patterns.forget_reflection: Deletes a specific reflection by ID.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"reflect": {
"command": "/path/to/reflect-mcp",
"args": []
}
}
}
Supported hosts
Confirmed for Claude Desktop and Claude Code.
Quick install
cargo install reflect-mcpInformation
- Pricing
- free
- Published
- 6/3/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Claude Desktop
{
"mcpServers": {
"reflect": {
"command": "/path/to/reflect-mcp",
"args": []
}
}
}





