github-repository-analyzer
Provides tools for analyzing GitHub repositories, including retrieving repository metadata, browsing file structures, searching source code, and reading specific files or line ranges.
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-repository-analyzerAnalyze https://github.com/octocat/Hello-World and explain what the main function does"
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 Repository Analyzer
An LLM-powered GitHub repository analysis tool that allows users to provide a GitHub repository URL and ask natural-language questions about the repository.
The application retrieves repository information and source code through GitHub APIs exposed as MCP tools, then uses a local LLM to generate answers grounded in the retrieved repository evidence.
Features
Analyze different GitHub repositories from the terminal
Accept the repository URL separately from the question
Ask questions in natural language
Ask high-level repository questions
Ask implementation questions about functions and code
Search repository source code
Read specific repository files or line ranges
Retrieve repository metadata
Retrieve repository file structure
Use MCP to expose repository operations as tools
Use LangGraph to manage the analysis workflow
Use a local LLM through Ollama
Ground implementation answers in retrieved repository source code
Retry temporary GitHub API failures
Related MCP server: AI Project Explorer
Architecture
User
|
v
main.py
|
v
LangGraph
graph.py
|
v
MCP Client
mcp_client.py
|
v
MCP Server
mcp_server.py
|
v
repository_tools.py
|
v
github_client.py
|
v
GitHub REST API
|
v
Repository Information
and Source Code
|
v
LLM
|
v
Final AnswerTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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.
Related MCP Connectors
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
An MCP server that gives your AI access to the source code and docs of all public github repos
Ask any GitHub repository a question. Get source-backed answers.
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables analysis of any GitHub repository to get architecture, file roles, execution flows, system design Q\&A, and structured agent context. Works with MCP-compatible clients like Claude Desktop, Cursor, and Windsurf.647MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI assistants to discover and interact with GitHub repositories through standardized MCP tools, allowing exploration and retrieval of project information without direct API calls.-
- FlicenseNot gradedqualityCmaintenanceExposes GitHub repository data via MCP tools, a resource, and a prompt, enabling repo summaries, issue/PR listing, keyword search, and repo health review.-
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with GitHub via MCP, managing repositories, issues, PRs, and analyzing repository health through tools like list_repositories, read_issues, create_issue, comment_on_pr, and analyze_repo_health.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/01Aniket/github-repository-analyzer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server