Skip to main content
Choose how you use GitHits: connect your agent through MCP, run commands in a shell, scan your repository, or integrate through the REST API.

Use MCP

Connect your coding agent or software factory to GitHits MCP tools.

Use the CLI

Run GitHits commands in agent shells and software factory scripts.

Use Scan (Alpha)

Install githits-scan separately to generate SBOMs, audit dependencies, and check licenses in your repository.

Use the REST API

Build deeper integrations with direct control over requests and response handling.

Agent tools

Through MCP, your agent can use the Deterministic and Agentic tools below. Beta: tool names, setup flows, and result formats may change as GitHits evolves.

Deterministic

Code

Search indexed packages and repos, grep source, list files, and read exact lines.

Documentation

Search hosted and repo-backed package docs, then read targeted pages and line ranges.

Package Intelligence

Inspect package metadata, vulnerabilities, dependencies, changelogs, and upgrades.

Agentic

Example

Generate implementation examples from how other open-source projects solve a problem.

Research

Get answers about a package or repository with cited sources.