github-insights-mcp
Allows AI assistants to look up and analyze GitHub repositories, including fetching repo stats, searching repos, reading READMEs, and performing analysis on project health.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@github-insights-mcpAnalyze repo facebook/react"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub Insights MCP Server
A small server that lets an AI assistant look up and analyze GitHub repositories.
It's built with the Model Context Protocol (MCP). MCP is a standard way to give an AI access to outside tools and data. You build the server once, and any MCP-compatible app (like Claude Desktop or Cursor) can use it.
What it can do
Look up a repo — get a repository's stars, forks, language, description, and open issues.
Search repos — search GitHub by keyword and get back the top results.
Read a README — pull any repository's README so the AI can read it.
Analyze a repo — a ready-made prompt that tells the AI to gather the repo's stats and README and give a clear verdict on whether the project is healthy and worth using.
Built with
TypeScript
The MCP TypeScript SDK
Zod (for checking inputs)
The GitHub API (for live data)
Node.js
How to run it
You'll need Node.js 18 or newer.
git clone https://github.com/YOUR_USERNAME/github-insights-mcp.git
cd git-mcp
npm install
npm run buildTry it out
The MCP Inspector is a simple tool for testing the server in your browser:
npm run inspectOpen the link it prints, click Connect, and try:
Tools — look up
facebook/reactResources — read
repo://facebook/react/readmePrompts — run
analyze_repoand see the instruction it creates
Use it with Claude Desktop
Add this to your Claude Desktop config file:
{
"mcpServers": {
"github-insights": {
"command": "node",
"args": ["/full/path/to/github-insights-mcp/dist/index.js"]
}
}
}Restart Claude Desktop and the tools will be ready to use.
What I learned
Building this taught me how MCP actually works:
How the client and server talk to each other, and why keeping them separate is useful
The three things an MCP server can offer — tools (actions), resources (data to read), and prompts (ready-made instructions)
How to connect real API calls, handle errors, and check inputs
How one prompt can tie the tools and resources together into a single task
END
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jknithin36/git-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server