# Hindsight MCP

Stores Git history, test results, and GitHub Copilot sessions in SQLite so an AI assistant can search project activity and report on it.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 5
- Author: Rbfinch
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Rbfinch/hindsight-mcp
- Updated: 2026-01-19
- HTML: https://affpapa.org/en/nevibecode/mcp/hindsight-mcp

## What it does

Hindsight MCP puts commits, test runs, and GitHub Copilot conversations into a SQLite database. Its MCP tools can search commits and messages, show an activity timeline, find failed tests, and retrieve commit details. Git and Copilot records are collected automatically; test results are added when you run `hindsight-mcp test`.

Test collection depends on `cargo-nextest`. Install the server with `cargo install hindsight-mcp`. The setup guide for VS Code uses `.vscode/mcp.json` to launch `hindsight-mcp` with the `--workspace` argument. Without `cargo-nextest`, test results cannot be collected. The CLI also provides `ingest` and `test` commands, with options to target a package or preview a test run.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- search commits by keyword
- review a project's activity timeline
- connect test outcomes to commits
- identify failing tests
- search GitHub Copilot conversations

## Example prompts
- Show recent commits and test runs for this project.
- Find commits related to authentication.
- Which tests are failing in this workspace?

## Similar
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [GitDiagram](https://affpapa.org/en/nevibecode/mcp/gitdiagram.md) — MCP server · ★ 18511
- [Repowise](https://affpapa.org/en/nevibecode/mcp/repowise.md) — MCP server · ★ 7925
- [sem](https://affpapa.org/en/nevibecode/mcp/sem.md) — MCP server · ★ 3427
- [GitLab MCP Server](https://affpapa.org/en/nevibecode/mcp/gitlab-mcp-server.md) — MCP server · ★ 2068
- [Octocode MCP - AI Context Platform](https://affpapa.org/en/nevibecode/mcp/octocode-mcp-ai-context-platform.md) — MCP server · ★ 955

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
