github-mcp
Provides 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.
README
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 |
|---|---|---|
repo-scorecard |
"how healthy is vercel/next.js?" | Health ring + stat grid + contributors |
compare-repos |
"next.js vs remix?" | Side-by-side table, winner per metric |
commit-heatmap |
"how active is langchain?" | 52-week commit heatmap |
trending-mcp |
"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 /inspector
Open http://localhost:3000/inspector, list tools, and call e.g. repo-scorecard with { "repo": "vercel/next.js" }.
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-use
To 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.