github-mcp
Provides tools for analyzing GitHub repositories, including health scores, comparisons, commit activity, and trending repositories.
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 Analytics 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.
GitHub project health, package dependency risk, trending repos, license & package comparison.
Evaluates any GitHub repository for license risk, maintenance velocity, stars/forks, and security.
Scan any public GitHub MCP-server repo for security issues. 37 MCP-specific L1 rules, 8 languages.
Related MCP Servers
- AlicenseCqualityDmaintenanceMonitors and analyzes GitHub repository health by detecting stale branches, old pull requests, unresponsive issues, and security alerts. Integrates with MCP-compatible AI assistants and automation tools.1MIT
- AlicenseNot gradedqualityDmaintenanceAI-powered GitHub repository analytics through MCP. Analyze repositories, track contributions, and get insights directly in your AI assistant.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides four GitHub superpowers (repo-scorecard, compare-repos, commit-heatmap, trending-mcp) as MCP tools with React widgets for repository health analysis, comparison, commit activity visualization, and trending MCP servers.295 npmMIT
- AlicenseBqualityBmaintenanceAnalyze GitHub repositories with health scores, issue triage, and action items through MCP tools.4MIT