---
title: "GitHub Integration for Rig: Query GitHub Data in Plain English"
description: "Connect GitHub to Rig and query your GitHub data in plain English, or ask it in Claude, ChatGPT and Cursor. Governed, validated answers from your warehouse."
canonical: "https://rig.so/integrations/github"
format: markdown
---

Browse integrations

![GitHub logo](https://img.logo.dev/github.com?token=pk_AdkTbLWDS1iunmvTK2qm1g&size=112&format=png&retina=true)

Engineering & product ops Supported

# GitHub integration for Rig

## The easiest way to connect GitHub to Claude and other AI tools

GitHub is the leading code hosting and collaboration platform, where teams manage repositories, pull requests, issues, reviews and CI workflows.

[Try Rig](https://app.rig.so/signup)[Book a demo](https://rig.so/book-demo)

## What Rig syncs from GitHub

Once connected, Rig models these objects so questions resolve to the right tables and joins:

- Repositories
- Pull requests
- Commits
- Issues
- Reviews
- Comments
- Releases
- Workflow runs
- Contributors

## How GitHub connects to Rig

Rig Ingest syncs your GitHub repositories, pull requests, reviews and workflow runs into your warehouse on a schedule, tracking state changes over time. Rig then models pull request timelines and contributor activity so cycle time and throughput questions resolve correctly.

## Measure pull request cycle time and throughput

Pull request cycle time is the elapsed time from first commit to merge, broken into coding, review and idle waiting. Rig reads GitHub pull request timestamps and review events, so you can see median time to merge, where PRs wait, and how throughput trends week over week.

Ask Rig

- What was median pull request cycle time last month?
- Where do pull requests spend the most time, coding or review?
- Show merged pull request count per week this quarter

## Balance review load across the team

Rig joins GitHub reviews and comments to reviewers and repositories, so you can see who carries the review burden and how fast reviews come back. That surfaces bottlenecks where a single reviewer gates most merges.

Ask Rig

- Who reviewed the most pull requests in the last 30 days?
- What is median time to first review by repository?
- Which pull requests have been waiting on review for over three days?

## Track CI reliability and workflow failures

By reading GitHub workflow runs, Rig measures how often CI passes, which workflows fail most, and how long pipelines take. Engineering leads use it to find flaky checks that slow every merge.

Ask Rig

- What is the workflow run failure rate by repository this month?
- Which workflows take the longest to complete on average?
- Show failed workflow runs on the main branch this week

## Report on contributor activity and commit trends

Rig rolls up GitHub commits, pull requests and releases by contributor and repository, so you can see where work is concentrated and how activity shifts over releases. That grounds capacity and ownership conversations in real data.

Ask Rig

- Show commit volume by contributor over the last quarter
- Which repositories have the most active contributors?
- How many pull requests shipped in each release?

## Ask your GitHub data in Claude, ChatGPT or Cursor

Rig serves your GitHub data to AI assistants over MCP. Once GitHub is synced into your warehouse, you can ask questions in plain English from the tool you already use, and every answer is backed by validated, governed SQL.

- [Claude](https://rig.so/integrations/claude)
- [Claude Code](https://rig.so/integrations/claude-code)
- [Cursor](https://rig.so/integrations/cursor)
- [ChatGPT](https://rig.so/integrations/chatgpt)
- [Codex](https://rig.so/integrations/codex)
- [Gemini](https://rig.so/integrations/gemini)

## Frequently asked questions

What GitHub data does Rig sync?

Repositories, Pull requests, Commits, Issues, Reviews, Comments, Releases, Workflow runs and Contributors, including pull request and review state changes over time.

Can Rig measure pull request cycle time without a dashboard?

Yes. Rig models pull request timestamps and review events, so cycle time, time to first review and throughput questions are answered in plain English.

Can I query GitHub data in Claude or ChatGPT?

Yes. Once GitHub is synced to your warehouse, Rig serves it to Claude, ChatGPT, Cursor and other AI tools over MCP.

How often does GitHub data refresh?

Rig Ingest syncs on a schedule you set and tracks pull request, review and workflow state changes so new activity appears automatically.

## Related integrations

[![Asana logo](https://img.logo.dev/asana.com?token=pk_AdkTbLWDS1iunmvTK2qm1g&size=72&format=png&retina=true)AsanaTask throughput, cycle time and project health analytics from your Asana workspace.](https://rig.so/integrations/asana)[![Jira logo](https://img.logo.dev/atlassian.com?token=pk_AdkTbLWDS1iunmvTK2qm1g&size=72&format=png&retina=true)JiraSprint velocity, cycle time and backlog analytics from your Jira projects.](https://rig.so/integrations/jira)[![Linear logo](https://img.logo.dev/linear.app?token=pk_AdkTbLWDS1iunmvTK2qm1g&size=72&format=png&retina=true)LinearCycle velocity, issue throughput and estimate accuracy from your Linear workspace.](https://rig.so/integrations/linear)[![monday.com logo](https://img.logo.dev/monday.com?token=pk_AdkTbLWDS1iunmvTK2qm1g&size=72&format=png&retina=true)monday.comItem throughput, status flow and board health analytics from your monday.com boards.](https://rig.so/integrations/monday)[![Notion logo](https://img.logo.dev/notion.so?token=pk_AdkTbLWDS1iunmvTK2qm1g&size=72&format=png&retina=true)NotionTurn your Notion databases into queryable operational data for roadmaps, content and tasks.](https://rig.so/integrations/notion)[![Sentry logo](https://img.logo.dev/sentry.io?token=pk_AdkTbLWDS1iunmvTK2qm1g&size=72&format=png&retina=true)SentryError frequency, release health and incident trend analytics from your Sentry data.](https://rig.so/integrations/sentry)

## Connect GitHub data to AI tools like Claude

Rig builds a governed context layer over your data so every team, and every AI tool, asks questions and gets answers they can trust.

[Try Rig](https://app.rig.so/signup)[Book a demo](https://rig.so/book-demo)

---

- [This page as HTML](https://rig.so/integrations/github)
- [Site map for language models](https://rig.so/llms.txt)
- [API and agent documentation](https://rig.so/developers)
