Skip to content

Getting Started

What is gitinspect?

gitinspect is a CLI tool that turns any Git repository — local or remote — into a structured, token-efficient snapshot optimized for LLMs and AI agents. It works with any Git host without requiring a full clone.

Quick Install

bash
curl -fsSL https://raw.githubusercontent.com/richie-rich90454/gitinspect/main/install.sh | bash
bash
wget -qO- https://raw.githubusercontent.com/richie-rich90454/gitinspect/main/install.sh | bash
bash
brew tap richie-rich90454/tap
brew install gitinspect
powershell
scoop bucket add gitinspect https://github.com/richie-rich90454/scoop-bucket
scoop install gitinspect
bash
go install github.com/richie-rich90454/gitinspect/cmd/gitinspect@latest

Your First Inspection

bash
# Inspect the current directory
gitinspect inspect .

# Inspect a remote repository
gitinspect inspect https://github.com/user/repo.git

# Get plain text output
gitinspect inspect --format text --strip .

# Start as an MCP server for AI agents
gitinspect mcp

Next Steps

Released under the Apache-2.0 License.