# GitHub MCP servers and CLIs compared (/en/docs/gthb/compare)

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](https://github.com/github/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](https://github.com/cli/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](https://github.com/dogsheep/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](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens),
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 [#features]

| Task | gthb | [GitHub MCP Server](https://github.com/github/github-mcp-server) | [GitHub CLI](https://github.com/cli/cli) | [github-to-sqlite](https://github.com/dogsheep/github-to-sqlite) |
|---|:-:|:-:|:-:|:-:|
| **Find and read** | | | | |
| Read issues without the internet | ✅ | [❌](https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/README.md?plain=1#L3-L5) | [❌](https://cli.github.com/manual/gh_issue_list) | [✅](https://github.com/dogsheep/github-to-sqlite/blob/39b22de7a966da9cff5f90e0982fff34948ac412/README.md?plain=1#L53-L57) |
| Find an issue by its words | ✅ | [✅](https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/README.md?plain=1#L1129-L1138) | [✅](https://cli.github.com/manual/gh_search_issues) | [🟡](https://github.com/dogsheep/github-to-sqlite/blob/39b22de7a966da9cff5f90e0982fff34948ac412/github_to_sqlite/utils.py#L8-L20) |
| List issues by state, label or assignee | ✅ | [✅](https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/README.md?plain=1#L1115-L1127) | [✅](https://cli.github.com/manual/gh_issue_list) | [🟡](https://github.com/dogsheep/github-to-sqlite/blob/39b22de7a966da9cff5f90e0982fff34948ac412/README.md?plain=1#L53-L69) |
| Read pull requests, commits and releases | 🟡 | [✅](https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/README.md?plain=1#L1532-L1548) | [✅](https://cli.github.com/manual/gh_pr_list) | [✅](https://github.com/dogsheep/github-to-sqlite/blob/39b22de7a966da9cff5f90e0982fff34948ac412/README.md?plain=1#L71-L130) |
| Make an issue your own task | ✅ | [🟡](https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/README.md?plain=1#L1080-L1083) | [🟡](https://cli.github.com/manual/gh_issue_edit) | ➖ |
| **Change** | | | | |
| Create and update issues and pull requests | ❌ | [✅](https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/README.md?plain=1#L1080) | [✅](https://cli.github.com/manual/gh_issue_create) | [❌](https://github.com/dogsheep/github-to-sqlite/blob/39b22de7a966da9cff5f90e0982fff34948ac412/README.md?plain=1#L10-L31) |
| **Agents and safety** | | | | |
| Only reads, whatever the token allows | ✅ | [🟡](https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/README.md?plain=1#L1758-L1764) | [❌](https://cli.github.com/manual/gh_issue_create) | [✅](https://github.com/dogsheep/github-to-sqlite/blob/39b22de7a966da9cff5f90e0982fff34948ac412/README.md?plain=1#L242-L246) |
| Keeps code away from the agent | ✅ | [❌](https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/README.md?plain=1#L1499) | [❌](https://cli.github.com/manual/gh_api) | ➖ |
| The token is kept in the system keyring | ✅ | [❌](https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/README.md?plain=1#L197-L199) | [✅](https://github.com/cli/cli/blob/88e8d7abc3e5b1429f05d6902e7da61b91f23f1b/pkg/cmd/auth/login/login.go#L81-L84) | [❌](https://github.com/dogsheep/github-to-sqlite/blob/39b22de7a966da9cff5f90e0982fff34948ac412/README.md?plain=1#L41-L51) |
| An agent at a terminal works through commands, without MCP | ✅ | n/a | [✅](https://github.com/cli/cli/blob/88e8d7abc3e5b1429f05d6902e7da61b91f23f1b/README.md?plain=1#L16-L26) | [🟡](https://github.com/dogsheep/github-to-sqlite/blob/39b22de7a966da9cff5f90e0982fff34948ac412/README.md?plain=1#L10-L31) |
| **Setup** | | | | |
| An MCP server | ✅ | [✅](https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/README.md?plain=1#L3-L5) | ➖ | ➖ |
| Works from ChatGPT or Claude in the browser | 🟡 | [✅](https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/README.md?plain=1#L31-L35) | n/a | n/a |
| Several accounts, each named in the command | ✅ | ➖ | [🟡](https://cli.github.com/manual/gh_auth_switch) | [🟡](https://github.com/dogsheep/github-to-sqlite/blob/39b22de7a966da9cff5f90e0982fff34948ac412/README.md?plain=1#L61-L63) |

| | gthb | GitHub MCP Server | GitHub CLI | github-to-sqlite |
|---|---|---|---|---|
| Install | npm, Node 22.16+ or 24+ | none for GitHub's server, you add its address to your AI app. Or Docker, or a program you build | Homebrew, packages or a binary | pip |
| Sign-in | fine-grained personal access token, read-only, one owner | OAuth in the browser, or a personal access token | OAuth in the browser, or a token | personal access token in a file or an environment variable |
| Licence | Apache-2.0 | MIT | MIT | Apache-2.0 |
| Price | free | not stated on its page | free | free |

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](/llms.mdx/docs/gthb/content.md#make-a-read-only-token).
- **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](/llms.mdx/docs/gthb/usage/content.md).

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 [#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](/llms.mdx/docs/gthb/installation/content.md). To use it with an agent, see [usage](/llms.mdx/docs/gthb/usage/content.md).
