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 "Deploy 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 AnswerThis server cannot be deployed
Maintenance
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.623 npmMIT
- 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.-
- FlicenseCqualityCmaintenanceExposes GitHub repository data via MCP tools, a resource, and a prompt, enabling repo summaries, issue/PR listing, keyword search, and repo health review.4-
- 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.-