Skip to content
mcp/skillhub

GitHub MCP Server

by githubio.github.github/github-mcp-serverv2.0.2

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

34kDockerstdioremoteofficial registry

context tax

~11,509 tok/turn46 tools

security

100/100

cold start

164 ms

freshness

Active26d ago

Our reading of GitHub, from the data

GitHub is a version control MCP server from github, listed in the official MCP Registry.

Its 46 tools add about 11,509 tokens to every model turn, heavier than the version control median of 1,256 tokens across 54 measured servers (measured 2026-10-23).

Maintenance is active: the last public signal was 26 days ago (2026-10-15). For comparison, 65% of version control servers are active or maintained.

With 33,740 GitHub stars it ranks #3 of 725 version control servers we index.

It runs either locally over stdio or as a hosted endpoint.

Install GitHub MCP server

Install in Claude Code

claude mcp add github -- docker run -i --rm ghcr.io/github/github-mcp-server:2.0.2

Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works

npx mcpskillhub test ghcr.io/github/github-mcp-server:2.0.2

Remote endpoints

  • streamable-httphttps://api.githubcopilot.com/mcp/

Context tax

Connecting this server adds ~11,509 tokens of tool definitions to every model turn (heavy, 46 tools). Measured 2026-10-23 via its hosted endpoint; o200k tokenizer, worst case for clients that load all tools up front. How we measure

ModelPer 1,000 turnsWith prompt caching
Claude Opus 5.5$46.04$2.30
Claude Sonnet 5.5$23.02$2.30
Claude Haiku 5.5$1.15—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (46)

  • issue_write803 tok

    Create a new or update an existing issue in a GitHub repository.

  • pull_request_read557 tok

    Get information on a specific pull request in GitHub repository.

  • list_issues545 tok

    List issues in a GitHub repository. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.

  • pull_request_review_write476 tok

    Create and/or submit, delete review of a pull request. Available methods: - create: Create a new review of a pull request. If "event" parameter is provided, the review is submitted. If "event" is omitted, a pending review is created. - submit_pending: Submit an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request. The "body" and "event" parameters are used when submitting the review. - delete_pending: Delete an existing pending review of a pull request. This requires that a pending review exists for the curren

  • search_issues436 tok

    Search issues using natural-language semantic matching. Best for conceptual or paraphrased queries (e.g. "login fails after password reset"). Already scoped to is:issue.

  • search_pull_requests400 tok

    Search for pull requests in GitHub repositories using issues search syntax already scoped to is:pr

  • list_commits398 tok

    Get list of commits of a branch in a GitHub repository. Returns at least 30 results per page by default, but can return more if specified using the perPage parameter (up to 100).

  • search_code381 tok

    Fast and precise code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns.

  • search_commits375 tok

    Search for commits across GitHub repositories using GitHub's commit search syntax. Useful for finding specific changes, authors, or messages across one or many repositories. Searches the default branch only.

  • list_pull_requests374 tok

    List pull requests in a GitHub repository. If the user specifies an author, then DO NOT use this tool and use the search_pull_requests tool instead.

  • sub_issue_write373 tok

    Add a sub-issue to a parent issue in a GitHub repository.

  • create_or_update_file367 tok

    Create or update a single file in a GitHub repository. If updating, you should provide the SHA of the file you want to update. Use this tool to create or update a file in a GitHub repository remotely; do not use it for local file operations. To obtain the current blob SHA before updating, call the get_file_contents tool with the same owner, repo, and path, and set its ref parameter to this tool's branch value. The first text result reports the blob SHA for the requested path. SHA MUST be provided for existing file updates.

  • issue_read332 tok

    Get information about a specific issue in a GitHub repository.

  • add_comment_to_pending_review330 tok

    Add review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).

  • add_issue_comment270 tok

    Add a comment and/or reaction to a specific issue or issue comment in a GitHub repository. Use this tool with pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add or react to review comments. At least one of body or reaction is required.

  • get_file_contents269 tok

    Get the contents of a file or directory from a GitHub repository

  • search_repositories262 tok

    Find GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.

  • add_reply_to_pull_request_comment256 tok

    Add a reply and/or reaction to an existing pull request comment. This can create a new comment linked as a reply to the specified comment, add an emoji reaction to the specified comment, or do both. At least one of body or reaction is required.

  • get_commit242 tok

    Get details for a commit from a GitHub repository

  • list_repository_collaborators241 tok

    List collaborators of a GitHub repository. Results are paginated; the response includes `nextPage`, `prevPage`, `firstPage`, and `lastPage` fields. To get the next page, use the `nextPage` value as the `page` parameter.

  • assign_copilot_to_issue233 tok

    Assign Copilot to a specific issue in a GitHub repository. This tool can help with the following outcomes: - a Pull Request created with source code changes to resolve the issue More information can be found at: - https://docs.github.com/en/copilot/concepts/agents/cloud-agent/about-cloud-agent

  • update_pull_request224 tok

    Update an existing pull request in a GitHub repository.

  • list_releases210 tok

    List releases in a GitHub repository

  • create_pull_request195 tok

    Create a new pull request in a GitHub repository.

  • search_users194 tok

    Find GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.

  • push_files182 tok

    Push multiple files to a GitHub repository in a single commit

  • merge_pull_request167 tok

    Merge a pull request in a GitHub repository.

  • list_issue_fields151 tok

    List issue fields for a repository or organization. Returns field definitions including name, type (text, number, date, single_select), and for single_select fields the list of valid option names. When repo is omitted, returns org-level fields directly.

  • ui_get150 tok

    Fetch UI data for MCP Apps (labels, assignees, milestones, issue types, branches, issue fields, reviewers).

  • update_issue_comment144 tok

    Update the body of an existing issue or pull request conversation comment. This tool cannot update pull request review comments.

  • create_repository127 tok

    Create a new GitHub repository in your account or specified organization

  • delete_filefile write126 tok

    Delete a file from a GitHub repository

  • list_branches125 tok

    List branches in a GitHub repository

  • list_tags125 tok

    List git tags in a GitHub repository

  • update_pull_request_branch119 tok

    Update the branch of a pull request with the latest changes from the base branch.

  • list_issue_types115 tok

    List supported issue types for a repository or its owner organization. When repo is omitted, returns org-level issue types directly.

  • request_copilot_review111 tok

    Request a GitHub Copilot code review for a pull request. Use this for automated feedback on pull requests, usually before requesting a human reviewer.

  • create_branch107 tok

    Create a new branch in a GitHub repository

  • get_release_by_tag104 tok

    Get a specific release by its tag name in a GitHub repository

  • get_label90 tok

    Get a specific label from a repository.

  • get_tag89 tok

    Get details about a specific git tag in a GitHub repository

  • fork_repository88 tok

    Fork a GitHub repository to your account or specified organization

  • get_team_members77 tok

    Get member usernames of a specific team in an organization. Limited to organizations accessible with current credentials

  • get_latest_release73 tok

    Get the latest release in a GitHub repository

  • get_teams63 tok

    Get details of the teams the user is a member of. Limited to organizations accessible with current credentials

  • get_me55 tok

    Get details of the authenticated GitHub user. Use this when a request is about the user's own profile for GitHub. Or when information is missing to build other tool calls.

Security signals

100/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

No findings from the checks that ran.

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ✓Tool descriptions (prompt-injection and hidden-text heuristics)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules

Freshness

Active — last maintenance signal 26d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-15 · 26d ago · GitHub

  2. Latest release

    2026-10-08 · 33d ago · GitHub · v2.0.2

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-10-08 · 33d ago · official registry · v2.0.2

How it compares in Version Control

Against the most-starred version control servers we index. Token cost is per model turn, measured from each server's live tool list.

ServerStarsToolsTokens / turnFreshnessRuns
GitHub (this)33,7404611,509Activelocal + hosted
Gitcompare91,356121,139Activelocal
PostHog40,338—not measuredActivelocal + hosted
GitDiagram18,3133864Activehosted
Skill Seekers15,180—not measuredActive—
Plg Handler14,805—not measuredActive—
All version control MCP servers

FAQ

›How do I install the GitHub MCP server in Claude Code?

Run: claude mcp add github -- docker run -i --rm ghcr.io/github/github-mcp-server:2.0.2. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does GitHub require an API key?

No required environment variables are declared in its published metadata.

›Can I use GitHub as a remote (hosted) MCP server?

Yes — it offers both a hosted endpoint and a local stdio package.

›Is GitHub in the official MCP registry?

Yes, as io.github.github/github-mcp-server.

›How many tokens does GitHub add to my context?

Its tool definitions total about 11,509 tokens, resent on every turn.

Sources and method

Official MCP Registry entry
updated 2026-10-08
GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.

Alternatives to GitHub

Other version control MCP servers.

View all

Comparing GitHub servers? All GitHub MCP servers, official and community.