Skip to main content
MCP server CX Codex

Hindsight MCP — Claude Code MCP server: features and setup

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

Open on GitHub

What Hindsight MCP 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.

What it helps with

  • search commits by keyword
  • review a project's activity timeline
  • connect test outcomes to commits
  • identify failing tests
  • search GitHub Copilot conversations

Example prompts for the agent

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

How to install Hindsight MCP

Install

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

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Hindsight MCP

How do I install Hindsight MCP in Claude Code?

Install the server with cargo install hindsight-mcp. For VS Code setup, create .vscode/mcp.json and configure it to run hindsight-mcp with the --workspace argument.

What does Hindsight MCP do?

It stores Git activity, test outcomes, and GitHub Copilot sessions in SQLite, then exposes MCP tools for searching and reviewing project history.

What is needed to collect test results?

Install cargo-nextest with cargo install cargo-nextest, then run hindsight-mcp test. The results can be associated with the current commit.

Similar MCP servers

All MCP servers for Git and GitHub →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor