Regret
FreeNot checkedA tiny local MCP memory server that stores lessons learned and resurfaces them before your AI agent repeats the same mistake. It provides tools for adding, sear
About
A tiny local MCP memory server that stores lessons learned and resurfaces them before your AI agent repeats the same mistake. It provides tools for adding, searching, listing, forgetting, and inspecting lessons via MCP stdio.
README
regret-mcp
A tiny local MCP memory server that stores lessons learned and resurfaces them before your AI agent repeats the same mistake.

🎯 Why?
Trending repos focus on agent memory, agent skills, and autonomous coding agents, but most memory systems are vector stores, hosted services, or heavyweight frameworks. Developers need a zero-dependency local memory primitive for explicit post-mortems: task, mistake, correction, tags. regret-mcp fills that gap with a small SQLite-backed MCP server and CLI that can be attached to Claude Code or any MCP client in seconds.
Target audience: Developers using Claude Code, Cursor, or custom MCP agents who want persistent local memory; agent framework authors needing a simple lesson-memory tool; DevOps and platform teams capturing operational lessons.
✨ Features
- ✨ MCP stdio server exposing add_lesson, search_lessons, list_lessons, forget_lesson, and stats tools
- ✨ Local SQLite storage with tag normalization, severity levels, and keyword search
- ✨ CLI for adding, searching, listing, forgetting, and inspecting lessons without an MCP client
🚀 Quick Start
# Install
pip install regret-mcp
# Run
regret-mcp --help
📦 Installation
From Source
git clone https://github.com/YOUR_USERNAME/regret-mcp.git
cd regret-mcp
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytest -v
🎬 Demo
The GIF above was recorded using Charm VHS:
vhs < demo.tape
📖 Usage
# Show help
regret-mcp --help
# Common usage examples
regret-mcp --example
🏗️ Architecture
graph LR
A[Input] --> B[Core Engine]
B --> C[Output]
B --> D[Plugins]
D --> E[Extensions]
🤝 Contributing
Contributions are welcome! Please:
- Fork the repo
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
MIT © 2026 — See LICENSE for details.
If this project helped you, please ⭐ star it!
Installing Regret
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/yulinlina/regret-mcpFAQ
Is Regret MCP free?
Yes, Regret MCP is free — one-click install via Unyly at no cost.
Does Regret need an API key?
No, Regret runs without API keys or environment variables.
Is Regret hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Regret in Claude Desktop, Claude Code or Cursor?
Open Regret on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
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-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Regret with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
