Github logo

Github

Access public GitHub repository, code, issue, release, commit, user, and trending data through MCP tools.

Install Github

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "github-3": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-github"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 9 tools correctly (5d ago).

Overview

The github MCP server connects AI agents to GitHub’s public REST API through tools for repository discovery, code search, file inspection, issues, releases, commits, users, and trending projects. It can run as a hosted streamable-HTTP endpoint or as a local stdio package, with no authentication required for public endpoints. Reach for it when an agent needs current public GitHub data, source files, project activity, or examples from real repositories.

Use cases

  • Find repositories implementing a library or technique
  • Inspect public source files and configuration
  • Compare repository activity, releases, and issues
  • Locate code symbols across public projects
  • Track newly popular or actively developed repositories

Key features

  • Public repository and code search
  • Repository files and directory listings
  • Issue, release, and commit inspection
  • Public GitHub user profiles
  • Live trending repository queries
  • Hosted HTTP and local stdio modes

Tools9

What Github lets your agent do. Expand a tool for its parameters.

Verified live~2.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

7/7 checks healthy over the last 45d

What it can do

From the 9 tools this server returned when we ran it.

Makes network requests · 5Read-only tools · 9
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age185 days
Maintainers1

Observed 2026-10-17 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · @pipeworx/mcp-github (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads3.2kPackage downloads in the last 30 days.
Last commit25d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed9Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Github works

What github MCP server does

The github MCP server gives an MCP-compatible client read access to public GitHub data. It covers repository discovery, repository metadata, issue lists, public user profiles, repository files, code search, releases, commit history, and live trending-repository queries. The tools are designed for questions that require data from GitHub rather than general web results, such as checking a project’s current release, finding a symbol in public code, or reading a package.json file.

Repository lookup returns details such as stars, forks, watchers, license, language, topics, default branch, open issue count, and last push time. File retrieval can return decoded file text or directory listings. Code search accepts GitHub qualifiers including repository, organization, user, language, filename, path, extension, and content location.

How it works

The hosted endpoint is exposed through the Pipeworx gateway at https://gateway.pipeworx.io/github/mcp. An MCP client initializes the connection, lists available tools, and sends tool calls with structured arguments. The gateway endpoint also exposes shared Pipeworx meta-tools in addition to the GitHub-specific tools; the local package exposes only the pack’s tools.

The github MCP server uses GitHub’s public REST and Search APIs. Trending results are computed from live GitHub Search API data. Its “new” mode ranks repositories created during a selected day, week, or month by star count, while “active” mode ranks repositories pushed during that period. Results include a caveat because GitHub’s own trending page uses a private ranking method.

Setup and configuration

For a hosted connection, add the endpoint to an MCP client configuration:

config.json
{
  "mcpServers": {
    "github": {
      "url": "https://gateway.pipeworx.io/github/mcp"
    }
  }
}

The github MCP server can also run locally over stdio without a Pipeworx account:

config.json
{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-github"]
    }
  }
}

Run npx -y @pipeworx/mcp-github to start the local process directly.

Tools and capabilities

  • Search repositories by keyword and return names, descriptions, stars, forks, languages, and URLs.
  • Retrieve metadata for one repository identified by an owner/repo slug.
  • List repository issues while excluding pull requests; results default to open issues.
  • Read public files or list directories, with an optional branch, tag, or commit reference.
  • Search public code using GitHub search qualifiers.
  • Inspect recent releases, release notes, assets, and fallback tags.
  • Review commits with optional branch, tag, commit, path, and time filters.
  • Retrieve public user profiles and query trending repositories by time window, language, keywords, and minimum stars.

Limitations and notes

File responses are capped at approximately 60,000 characters. Code search indexes only default branches, ignores very common terms, and is limited to about ten searches per minute. Issue listing filters pull requests automatically and defaults to open issues.

Trending order may differ from github.com/trending because the public API does not expose GitHub’s ranking algorithm. The hosted endpoint lists shared gateway tools alongside the pack tools, while the stdio package lists only the GitHub pack tools.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Github

github is an MCP server that connects AI agents to GitHub’s public REST and Search APIs. Its main tools search repositories and code, inspect repository metadata and files, list issues and commits, retrieve releases and user profiles, and query trending repositories. Public endpoints require no authentication.

Install it as a local stdio server with `npx -y @pipeworx/mcp-github`. Add an MCP configuration that uses command `npx` and the package argument, or run the command directly to confirm it starts. A hosted gateway URL is also available for clients that support remote MCP connections.

Yes, github works with Cursor. Add `https://gateway.pipeworx.io/github/mcp` as the server URL in Cursor’s MCP configuration. The README also names Claude Desktop and Windsurf as supported setup targets, and the package can be run locally over stdio.

Yes, github can read files from public repositories and list repository directories. Provide the owner, repository name, and path; omit the path or use an empty path for the root listing. An optional branch, tag, or commit SHA selects the reference, and file text is capped at about 60,000 characters.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGithub AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/github-3?style=directory)](https://allmcps.com/mcp/github-3)
HTML Embed
<a href="https://allmcps.com/mcp/github-3"><img src="https://allmcps.com/api/badge/github-3?style=directory" alt="Github on AllMCPs" /></a>