
Hindsight MCP
Pulls your git commits, test results, and Copilot chat history into a SQLite database that Claude can search through MCP tools. You get full-text search across commits and conversations, test failure queries linked to specific SHAs, and timeline views of recent activity. The server auto-ingests git and Copilot data on startup. For tests, you run `hindsight-mcp test` which wraps cargo-nextest and stores outcomes with durations and failure output. Useful when you want Claude to answer questions like "what tests are failing" or "summarize my work this week" using actual project history instead of just the current file context. Ships as a Rust binary that connects over stdio.
- GitHub stars
- 2
- tools
- 6
- transport
- STDIO
- last updated
- Jan 19, 2026
Tools
6 toolsPublic tool metadata for what this MCP can expose to an agent.
hindsight_timelineChronological activity view
Chronological activity view
No parameter schema in public metadata yet.
hindsight_searchFull-text search
Full-text search
No parameter schema in public metadata yet.
hindsight_failing_testsQuery test failures
Query test failures
No parameter schema in public metadata yet.
hindsight_activity_summaryAggregate stats
Aggregate stats
No parameter schema in public metadata yet.
hindsight_commit_detailsCommit info with tests
Commit info with tests
No parameter schema in public metadata yet.
hindsight_ingestTrigger data refresh
Trigger data refresh
No parameter schema in public metadata yet.
Sponsors
Readme
hindsight-mcp
An MCP server for AI-assisted coding that leverages development history.
Overview
hindsight-mcp consolidates development data (git logs, test results, and GitHub Copilot sessions) into a searchable SQLite database, making it accessible to AI assistants through MCP tool calls in VS Code.
Key Features:
- Full-text search across commits and Copilot conversations
- Track test results linked to specific commits
- Activity summaries and timeline views
- Automatic git and Copilot session ingestion
Quick Start
Prerequisites
- VS Code v1.99+ with GitHub Copilot
- cargo-nextest (for test ingestion):
cargo install cargo-nextest
Installation
cargo install hindsight-mcp
Configure VS Code
Create .vscode/mcp.json in your project:
{
"servers": {
"hindsight": {
"type": "stdio",
"command": "hindsight-mcp",
"args": ["--workspace", "${workspaceFolder}"]
}
}
}
Verify Setup
Details
- Repository
- github.com/rbfinch/hindsight-mcp
- Categories
- AI & LLM Tools, Developer Tools
- Package
https://github.com/Rbfinch/hindsight-mcp/releases/download/v0.1.5/hindsight-mcp-v0.1.5-x86_64-unknown-linux-gnu.tar.gz- Transport
- STDIO
- Registry
- MCP registry, active