Skip to main content
Glama
github-repository-analyzer

github-repository-analyzer

by 01Aniket

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: GitHub Repository Intelligence MCP Server

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 Answer

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      C
      quality
      D
      maintenance
      Exposes GitHub repository data via MCP tools, a resource, and a prompt, enabling repo summaries, issue/PR listing, keyword search, and repo health review.
      4
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables MCP clients such as Claude Desktop, Cline, and Cursor to extract information from GitHub repositories, including repository summaries, project directory structure, and file contents. It exposes these capabilities as tools that can be invoked directly from a natural-language chat session.
      -