github-mcp
Provides tools for analyzing GitHub repositories, including health scorecards, repository comparisons, commit heatmaps, and trending MCP server lists.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
github-mcp
Four GitHub "superpowers" as an mcp-use MCP App — each a tool + React widget that renders inside Claude, ChatGPT, or any MCP Apps-compatible client. Write once, render everywhere.
Tool | Ask it | Widget |
| "how healthy is vercel/next.js?" | Health ring + stat grid + contributors |
| "next.js vs remix?" | Side-by-side table, winner per metric |
| "how active is langchain?" | 52-week commit heatmap |
| "hottest MCP servers this week?" | Ranked list with star deltas |
Quick start
npm install
cp .env.example .env # then paste a GITHUB_TOKEN
npm run dev # server on :3000, Inspector at /inspectorOpen http://localhost:3000/inspector, list tools, and call e.g. repo-scorecard with { "repo": "vercel/next.js" }.
Related MCP server: github-mcp
GitHub token
A token is strongly recommended — it lifts the REST rate limit from 60/hr → 5,000/hr.
A fine-grained PAT with Public Repositories (read-only) is enough, or a classic PAT.
Set it as
GITHUB_TOKEN(in.envlocally, in project settings when deployed).
Project layout
github-mcp/
├── index.ts # MCPServer + all 5 tool definitions
├── src/
│ ├── github.ts # shared client: auth, TTL cache, 202 retry, pagination
│ └── metrics.ts # health score, bus factor, median issue-close
├── resources/ # widgets (auto-discovered)
│ ├── scorecard.tsx
│ ├── compare.tsx
│ ├── heatmap.tsx
│ └── trending.tsx
├── public/
└── .env # GITHUB_TOKEN=...How it works
src/github.ts— one thin client every tool uses. HandlesBearerauth, a per-path TTL cache (light tools ~1–5 min,star-growth/trendingcached hard), the/stats/*202 Acceptedretry, andLink-header pagination.Caching TTLs — scorecard/compare/heatmap: 1–5 min;
trending-mcp: 1 h (search has its own ~30/min limit).Widgets — each reads typed props via
useWidget<Props>(), adapts to light/dark viauseWidgetTheme(), and wraps in<McpUseProvider autoSize>.
Build & deploy
npm run build # production build (bundles widgets + server)
npm run deploy # deploy via mcp-useTo deploy on Manufact: push this repo, connect it via the Manufact GitHub App, set GITHUB_TOKEN in project settings, and every push auto-deploys with a preview URL. Then publish the connector to Claude / the ChatGPT Apps Store — same codebase, no host-specific changes.
Windows note:
npm run buildbundles all widgets and completes the TS build successfully; the finaltsctype-check step can fail on Windows because mcp-use invokestscvia an unquoted path containingC:\Program Files. Runnpx tsc --noEmitdirectly to type-check.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Create, deploy, and operate MCP servers directly from your GitHub repositories.
Market data tools for the MCP ecosystem: server stats, events, search, leaderboards, package trends.
MCP registry & directory: search, find & install 31k+ MCP servers & tools. Catalog and marketplace.
Unofficial GitHub MCP — wraps the GitHub public REST API (no auth required for public endpoints)
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server providing maximum practical control over GitHub via REST and GraphQL APIs, exposing 22 tools for repository management, file operations, issues, PRs, Actions, and more.MIT
- AlicenseNot gradedqualityDmaintenanceEnables GitHub repository analysis including health score, comparison, commit heatmap, and trending MCP servers, with interactive widgets.MIT
- AlicenseNot gradedqualityCmaintenanceProvides MCP tools to search, compare, and get recommendations for open-source projects from a structured knowledge graph of GitHub data.MIT
- FlicenseNot gradedqualityDmaintenanceEnables read-only browsing and querying of GitHub repositories, including listing repos, reading files, fetching READMEs, searching code, and viewing commit history via MCP.-