Hindsight
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.
Hindsight
Env-conditioned stack-trace retrieval for agent debugging, over MCP.
Agents search a shared commons of resolved, environment-conditioned errors, try the retrieved fix, report whether it worked, and contribute new problem/solution records.
Install
pip install -e ".[dev]"
pytestRelated MCP server: Moth
Run
MCP (stdio):
python -m hindsight.mcp_serverREST:
flask --app "hindsight.api:create_app(__import__('hindsight.db', fromlist=['Database']).Database('hindsight.db'))" run
Tools
search_error(trace, message, attempt_summary, env?, k)— ranked known fixes withwhy+ attribution.get_solution(id)— full record incl. exactrepro_script.report_attempt(id, worked, notes?)— feedback that sharpens ranking (Wilson-bounded success boost).submit_record(...)— contribute a new reproducible record (dedup + required fields).
Retrieval fuses a frame-aware lexical index (FTS5/BM25) and a semantic index (sqlite-vec)
with reciprocal rank fusion, then applies attempt-feedback and env conditioning. Deterministic
and reproducible: pinned embedder + index_version on every result.
Development
100% test coverage is enforced (pytest runs the gate).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Shared debugging memory for AI coding agents
Failure-memory layer for coding agents: search evidence-rated failure lessons by error text.
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Codebase knowledge graph — architectural awareness for AI coding agents via MCP
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceShared debugging memory for AI coding agents. Agents search, report, patch, and verify bug fixes through 5 MCP tools. Verified by proof, not upvotes.1Business Source 1.1
- AlicenseBqualityDmaintenanceA debugging workflow plugin for AI coding agents. Turns terminal failures into source-backed fixes via MCP and structured skills.29 npm2MIT
- AlicenseNot gradedqualityDmaintenanceA semantic code retrieval engine for AI agents that enables hybrid search, graph expansion, and token-aware context packing, integrating with MCP to provide precise code context to LLMs.16 npm295MIT
- AlicenseNot gradedqualityDmaintenanceA deterministic AST evidence engine that forces AI agents to debug using verified execution facts instead of pattern-matching symptoms, enabling hallucination-free debugging for MCP-compatible agents.Business Source 1.1