Lessons
БесплатноНе проверенAn MCP server that stores and searches lessons learned to prevent repeating mistakes, with full-text search and tag-based navigation.
Описание
An MCP server that stores and searches lessons learned to prevent repeating mistakes, with full-text search and tag-based navigation.
README
An MCP server for Claude Code that stores and searches lessons learned, so Claude doesn't repeat past mistakes. Think of it as a persistent experience log with full-text search and tag-based navigation.
Quick Start
git clone https://github.com/<your>/lessons-mcp
cd lessons-mcp
pip install mcp
Add to ~/.claude/mcp.json:
{
"mcpServers": {
"lessons": {
"command": "python3",
"args": ["/path/to/lessons-mcp/server/server.py"]
}
}
}
Tools
suggest_metadata
Preview available categories/tags before writing. Returns existing landscape + suggestion.
record_lesson
Record a new lesson. Returns feedback on tag reuse consistency.
search_lessons
Search past lessons. FTS5 (tags/category/title) + LIKE fallback (Chinese body).
list_categories
Browse categories with recent tag activity.
list_tags
Browse tags within a category with usage count.
Storage
SQLite at ~/.claude/lessons.db (or $LESSONS_DB_PATH).
One table + FTS5 index, created automatically on first run.
Integration with Claude Code
1. Add to MCP config
Add to ~/.claude/mcp.json:
{
"mcpServers": {
"lessons": {
"command": "/Users/karsa/proj/lessons-mcp/.venv/bin/python3",
"args": ["/Users/karsa/proj/lessons-mcp/server/server.py"]
}
}
}
2. Add pointer to MEMORY.md
Add to ~/.claude/memory/MEMORY.md:
## Lessons System
Lessons MCP available. Tools: search_lessons, suggest_metadata, record_lesson,
list_categories, list_tags
3. Restart Claude Code
The server starts automatically when Claude Code launches.
You should see in logs: lessons-mcp v1.0.0 | ~/.claude/lessons.db | 1 lessons
Установка Lessons
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/sosoyososo/lesson-mcpFAQ
Lessons MCP бесплатный?
Да, Lessons MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Lessons?
Нет, Lessons работает без API-ключей и переменных окружения.
Lessons — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Lessons в Claude Desktop, Claude Code или Cursor?
Открой Lessons на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Lessons with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
