OhShit is an MCP server that automatically logs debugging lessons as you work. Search past solutions, learn from mistakes, and build a collective knowledge base.
OhShit integrates with Claude Code via MCP to capture and share debugging knowledge automatically.
When you encounter an error, Claude automatically calls oh_shit to search for existing solutions.
Either find a matching lesson from past experience, or debug and solve it yourself with Claude's help.
Once solved, the lesson is automatically logged so you (and others) never have to debug it again.
Search by keyword, technology, or situation. Find relevant lessons instantly.
Lessons are captured as you work. No manual documentation needed.
Share knowledge across your team. Everyone benefits from each solved problem.
Built for Claude Code. Works seamlessly with your existing workflow.
Tracks technologies, situations, and project context for better matching.
Browse, search, and analyze your debugging knowledge in a clean UI.
Install the MCP server and start building your collective debugging knowledge.
View on GitHub