GitHits is installed through the hybrid CLI. It detects Claude Code and configures the GitHits MCP server automatically.Documentation Index
Fetch the complete documentation index at: https://docs.githits.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Node.js 24 or later
- Claude Code installed and available on your
PATH
Installation
Run the hybrid CLI
From your terminal, run:The CLI configures Claude Code when it detects it. Authentication is handled automatically for common local setup.
Available slash commands
Once the plugin is loaded, the following slash commands are available in Claude Code:| Command | Description |
|---|---|
/githits:example <query> | Search for a canonical code example |
/githits:search <query> | Run a unified indexed search |
/githits:login | Authenticate with your GitHits account |
/githits:status | Show current authentication status |
/githits:logout | Remove stored credentials |
/githits:help | List available GitHits commands |
Uninstall
To remove GitHits configuration from Claude Code, run:npx githits@latest logout afterwards.