npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

github-local-mcp

v1.0.0

Published

MCP server wrapping the GitHub CLI (gh)

Readme

GitHub CLI MCP Server

An MCP (Model Context Protocol) server that exposes GitHub operations through the GitHub CLI (gh). It runs as an STDIO-based server, allowing AI assistants to manage repositories, pull requests, issues, releases, workflows, and more via your existing gh authentication.

Requirements

  • Node.js 18 or later
  • GitHub CLI (gh) installed and authenticated

Install GitHub CLI

Then authenticate:

gh auth login

Installation

From source

Clone this repository and install dependencies:

git clone https://github.com/YOUR_USERNAME/github-stdio-mcp.git
cd github-stdio-mcp
npm install
npm run build

Global install (optional)

npm install -g .

Configuration

Cursor / Claude Desktop

Add to your MCP configuration (e.g. Cursor's ~/.cursor/mcp.json or Claude's claude_desktop_config.json):

Using local path:

{
  "mcpServers": {
    "github": {
      "command": "node",
      "args": ["/path/to/github-stdio-mcp/dist/index.js"]
    }
  }
}

VS Code

Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and run MCP: Open User Configuration, then add:

{
  "servers": {
    "github": {
      "command": "node",
      "args": ["/path/to/github-stdio-mcp/dist/index.js"]
    }
  }
}

Replace /path/to/github-stdio-mcp with the actual path to this project.

Note: This package is not yet published to npm. Use the local path configuration above.

Available Tools

| Category | Tools | |-----------|-------| | Auth | gh_auth_status | | Repo | gh_repo_list, gh_repo_view, gh_repo_create, gh_repo_clone, gh_repo_fork | | PRs | gh_pr_list, gh_pr_view, gh_pr_diff, gh_pr_create, gh_pr_merge, gh_pr_comment, gh_pr_review, gh_pr_checks, gh_pr_close | | Issues | gh_issue_list, gh_issue_view, gh_issue_create, gh_issue_comment, gh_issue_close, gh_issue_reopen, gh_issue_edit | | Releases | gh_release_list, gh_release_view, gh_release_create | | Workflows | gh_workflow_list, gh_workflow_run, gh_run_list, gh_run_view, gh_run_cancel, gh_run_rerun | | Search | gh_search_repos, gh_search_issues, gh_search_prs | | Gists | gh_gist_list, gh_gist_view, gh_gist_create | | Labels | gh_label_list | | API | gh_api (REST + GraphQL passthrough) |

Each tool maps directly to gh subcommands. For repo-specific tools, omit repo when run from inside a Git repository to use the current repo. Many tools support json: true to return raw JSON.

Development

npm install
npm run dev     # Run with tsx (no build)
npm run build   # Compile TypeScript to dist/
npm run start   # Run compiled output

Debugging

Use the MCP Inspector to inspect the server:

npx @modelcontextprotocol/inspector node dist/index.js

Or with the dev script:

npx @modelcontextprotocol/inspector npm run dev

License

MIT