> ## 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.

# GitHits documentation

> Connect coding agents and software factories to open-source code, documentation, and package data through MCP, the CLI, or the REST API.

<span className="githits-beta-note">Beta: tool names, setup flows, and result formats may change as GitHits evolves.</span>

<div className="githits-feature-grid">
  <Card title="Connect your coding agent" img="https://mintcdn.com/githits/Hm40jjPoMZp3cAjh/images/githits-agent-workflow.svg?fit=max&auto=format&n=Hm40jjPoMZp3cAjh&q=85&s=fe3e8baf0087fbb5dbf2d3662669dbea" href="/quickstart" width="378" height="378" data-path="images/githits-agent-workflow.svg">
    Set up GitHits MCP for your coding agent or software factory.
  </Card>
</div>

## Deterministic

<div className="githits-feature-grid">
  <div className="githits-tool-columns">
    <Card title="Code" img="https://mintcdn.com/githits/Hm40jjPoMZp3cAjh/images/githits-code-context.svg?fit=max&auto=format&n=Hm40jjPoMZp3cAjh&q=85&s=6b1641bcbafdca5581a6cae1fed0b0ad" href="/tools/code-navigation" width="378" height="378" data-path="images/githits-code-context.svg">
      Search indexed packages and repos, grep source, list files, and read exact lines.
    </Card>

    <Card title="Documentation" img="https://mintcdn.com/githits/Hm40jjPoMZp3cAjh/images/githits-open-source-refresh.svg?fit=max&auto=format&n=Hm40jjPoMZp3cAjh&q=85&s=35f810b5d549af84cdfd04cb1b6978b3" href="/tools/documentation-access" width="378" height="378" data-path="images/githits-open-source-refresh.svg">
      Search hosted and repo-backed package docs, then read targeted pages and line ranges.
    </Card>

    <Card title="Package Intelligence" img="https://mintcdn.com/githits/Hm40jjPoMZp3cAjh/images/githits-reasoning-rank.svg?fit=max&auto=format&n=Hm40jjPoMZp3cAjh&q=85&s=d74cfc9b71db5b699bd18630eb5b0960" href="/tools/package-inspection" width="378" height="378" data-path="images/githits-reasoning-rank.svg">
      Inspect package metadata, vulnerabilities, dependencies, changelogs, and upgrades.
    </Card>
  </div>
</div>

## Agentic

<CardGroup cols={2}>
  <Card title="Example" icon="code" href="/tools/code-examples">
    Generate implementation examples from how other open-source projects solve a problem.
  </Card>

  <Card title="Research" icon="search" href="/tools/research">
    Get answers about a package or repository with cited sources. Experimental.
  </Card>
</CardGroup>

## API and CLI

<CardGroup cols={2}>
  <Card title="Build with the REST API" icon="network" href="/api/overview">
    Build deeper integrations with direct control over requests and response handling.
  </Card>

  <Card title="Use the CLI" icon="terminal" href="/cli/commands">
    Run GitHits commands in agent shells and software factory scripts.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.