Issue trackersGitHub

GitHub MCP servers and CLIs compared

Compare GitHub tools for agents: GitHub's official MCP server, the GitHub CLI and a SQLite archiver.

Pick the GitHub tool that fits what your agent should do: read your issues offline with no way to change GitHub, or also open issues and review pull requests. The table shows, for gthb and three other tools, what each one finds, what it can change and how it keeps your token and your code safe.

The marks for gthb come from its commands, its code and its documentation, checked against gthb 0.1.0 on 5 December 2026, not against a live account. They are checked again at each release. The marks for the other tools come from their own documentation and source, linked in the table, checked on 3 December 2026. Nothing was signed in to or tested live, and a tool may do more than its pages say.

The tools:

  • gthb: this tool. Keeps the repositories you choose in the local store on your computer, reaches GitHub's REST API read operations, and never writes to GitHub. It signs in with a fine-grained personal access token.
  • GitHub MCP Server: GitHub's official MCP server (34,926 stars, changed on 2 December 2026). GitHub runs it at api.githubcopilot.com, or you run it yourself with Docker or as a program. It reads and changes repositories, issues, pull requests and much more.
  • GitHub CLI: GitHub's official command line, gh (47,442 stars, changed on 2 December 2026). It works next to git: issues, pull requests, releases and any API call from the terminal.
  • github-to-sqlite: an open-source tool that copies issues, pull requests, commits and releases into a SQLite file you query yourself (477 stars, changed on 11 September 2026).

GitHub lets a program in with a personal access token, or through an OAuth or GitHub App sign-in in the browser. A fine-grained token can be limited to one owner, some repositories and read-only permissions. A classic token that reads private repositories can also write to them. GitHub's Copilot and its other AI products are not in the table, since they are not tools you connect to your own agent.

✅ yes · 🟡 partly · ❌ no · ➖ not in its documentation · n/a cannot apply

Features

TaskgthbGitHub MCP ServerGitHub CLIgithub-to-sqlite
Find and read
Read issues without the internet✅❌❌✅
Find an issue by its words✅✅✅🟡
List issues by state, label or assignee✅✅✅🟡
Read pull requests, commits and releases🟡✅✅✅
Make an issue your own task✅🟡🟡➖
Change
Create and update issues and pull requests❌✅✅❌
Agents and safety
Only reads, whatever the token allows✅🟡❌✅
Keeps code away from the agent✅❌❌➖
The token is kept in the system keyring✅❌✅❌
An agent at a terminal works through commands, without MCP✅n/a✅🟡
Setup
An MCP server✅✅➖➖
Works from ChatGPT or Claude in the browser🟡✅n/an/a
Several accounts, each named in the command✅➖🟡🟡
RequirementgthbGitHub MCP ServerGitHub CLIgithub-to-sqlite
Installnpm, Node 22.16+ or 24+none for GitHub's server, you add its address to your AI app. Or Docker, or a program you buildHomebrew, packages or a binarypip
Sign-infine-grained personal access token, read-only, one ownerOAuth in the browser, or a personal access tokenOAuth in the browser, or a tokenpersonal access token in a file or an environment variable
LicenceApache-2.0MITMITApache-2.0
Pricefreenot stated on its pagefreefree

Notes on the gthb column:

  • Sign-in. session start --owner octo-org takes a fine-grained personal access token, from stdin or a hidden prompt, never from an argument, and checks it with GitHub before it keeps it. It refuses a classic or OAuth token, which could write. The token is kept in the system keyring, or in a private file on a computer without one. See start here.
  • Without the internet. sync copies the issues of the repositories you chose, with their comments, labels, milestones and assignees, and each README, into the WireCat local store. After the first run it reads only what changed, and once a day it finds what GitHub deleted. issues list, issues show, issues context and issues search read the local store.
  • Pull requests, commits and releases. sync keeps them in the store too, without code or diffs, but gthb has no commands of its own to read them yet. An agent reads them live through the api group, so this row is partly.
  • Your task. After each sync, every open issue assigned to you is a WireCat task, and it closes when the issue is closed, deleted or goes to someone else. issues assign octo-org/app#12 makes any other issue your task. Neither changes anything on GitHub.
  • Only reads. No command writes to GitHub. The api group holds GitHub's read operations only.
  • No code. The api group leaves out every operation that returns file contents, archives, gists, logs or code search, and removes diffs, a check run's report text and secrets from every answer. The one file whose text sync keeps is each repository's README.
  • The api group. gthb <profile> api has one command for each read operation it keeps, each with its own flags and help. gthb skill show api lists them by group.
  • ChatGPT or Claude in the browser. mcp serve --http serves the tool behind a tunnel that you set up and keep running yourself, so this row is partly.
  • Several accounts. Every command starts with a profile, a name you choose for one account and one owner. No profile is assumed, not even the only one. See usage.

Notes on the other columns:

  • github-to-sqlite at a terminal. An agent can run its commands, but it answers by querying the SQLite file itself, with no search or list commands of the tool's own, so this row is partly. For the same reason its search and its issue lists are partly: it builds an issues table with a full-text index, which you query with SQL or Datasette.
  • GitHub CLI, GitHub MCP Server and your task. Both can assign an issue to you on GitHub, with gh issue edit --add-assignee @me or the server's issue_write. That changes the issue for everyone who sees it, and no task appears next to the rest of your work, so this row is partly.
  • GitHub CLI and read-only. gh has no read-only mode and writes as far as its token allows. Only a token with read-only permissions keeps it to reading.
  • GitHub MCP Server and the keyring. Its local server keeps an OAuth sign-in in memory only, and a personal access token goes into an environment variable in your MCP client's settings.

When another tool fits better

  • GitHub MCP Server: your agent should also change GitHub, such as open issues, review pull requests or run workflows, or you want ChatGPT or Claude in the browser with nothing to run on your computer.
  • GitHub CLI: you work next to git and want to check out a pull request, create a release or call any part of the API, writes included, from the terminal.
  • github-to-sqlite: you want the history of many repositories in one SQLite file, to query with SQL or browse with Datasette, and no agent setup.

If gthb fits, start with installation. To use it with an agent, see usage.