lessons-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
lessons-mcp
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 mcpAdd to ~/.claude/mcp.json:
{
"mcpServers": {
"lessons": {
"command": "python3",
"args": ["/path/to/lessons-mcp/server/server.py"]
}
}
}Related MCP server: Support Engineer MCP Server
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_tags3. 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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that automatically collects feedback on your MCP server.
An MCP server for deep research or task groups
An MCP server that provides tools to discover and retrieve podcast episodes transcripts.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that allows users to efficiently search and reference user-configured documents through document listing, grep searching, semantic searching with OpenAI Embeddings, and full document retrieval.43MIT
- -licenseNot gradedqualityBmaintenanceA vendor-agnostic MCP server for technical support engineers, providing knowledge search, ticket analysis, and resolution suggestions.-
- AlicenseNot gradedqualityCmaintenanceA 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.MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that enables DevOps infrastructure Q&A, providing tools to search infrastructure docs, look up hosts, and query logs.-