GitHub logo
    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.

    What Rig syncs from GitHub

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

    • Repositories
    • Pull requests
    • Pull request diff stats
    • Issues
    • Members

    How GitHub connects to Rig

    Rig Ingest syncs your GitHub organisation's repositories, issues, members and pull requests, including lines added and deleted per pull request, into your warehouse on a schedule. Rig then models pull request timelines and contributor activity so cycle time and throughput questions resolve correctly.

    Read the step-by-step GitHub setup guide

    Measure pull request cycle time and throughput

    Pull request cycle time is the elapsed time from opening a pull request to merging it. Rig reads GitHub pull request timestamps, so you can see median time to merge, how long open pull requests have been waiting, and how throughput trends week over week.

    Ask Rig
    • What was median pull request cycle time last month?
    • Which repositories have the longest median time to merge?
    • Show merged pull request count per week this quarter

    Track pull request size and code churn

    Rig reads the lines added and deleted on each pull request, so you can see how large changes are, which repositories take the biggest changes, and whether smaller pull requests merge faster.

    Ask Rig
    • What is the median pull request size in lines changed?
    • Which repositories merge the largest pull requests?
    • Show lines added and deleted per week this quarter

    Report on contributors and ownership

    Rig joins GitHub pull requests to authors and repositories, so you can see where work is concentrated and how activity shifts across the team. That grounds capacity and ownership conversations in real data.

    Ask Rig
    • Show merged pull requests by author over the last quarter
    • Which repositories have the most active contributors?
    • Which organisation members have not opened a pull request this quarter?

    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.

    Frequently asked questions

    What GitHub data does Rig sync?
    Repositories, issues, members and pull requests for one organisation, including lines added and deleted per pull request. Commits, reviews, releases and workflow runs are not synced.
    Can Rig measure pull request cycle time without a dashboard?
    Yes. Rig models pull request timestamps, so cycle time and throughput questions are answered in plain English. Review events are not synced, so time to first review is not available.
    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 so new and changed pull requests and issues appear automatically.

    Related integrations

    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.