- Explore MCP Servers
- github-repo-analyzer
Github Repo Analyzer
What is Github Repo Analyzer
The GitHub Repository Analyzer is an AI-powered tool that retrieves key metrics about a given GitHub repository, determining its maintenance status.
Use cases
Use cases include assessing whether to contribute to a repository, monitoring the activity of dependencies, and analyzing trends in repository maintenance over time.
How to use
To use the GitHub Repository Analyzer, clone the repository, install the dependencies, set up your environment variables, and run the FastAPI server. You can then analyze a repository by sending a GET request to the ‘/analyze_repo’ endpoint with the repository name.
Key features
Key features include fetching repository statistics such as the last commit date and active development status, as well as checking issue engagement to assess if the repository is actively maintained.
Where to use
The GitHub Repository Analyzer can be used in software development, project management, and open-source contributions to evaluate the health and activity of repositories.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Github Repo Analyzer
The GitHub Repository Analyzer is an AI-powered tool that retrieves key metrics about a given GitHub repository, determining its maintenance status.
Use cases
Use cases include assessing whether to contribute to a repository, monitoring the activity of dependencies, and analyzing trends in repository maintenance over time.
How to use
To use the GitHub Repository Analyzer, clone the repository, install the dependencies, set up your environment variables, and run the FastAPI server. You can then analyze a repository by sending a GET request to the ‘/analyze_repo’ endpoint with the repository name.
Key features
Key features include fetching repository statistics such as the last commit date and active development status, as well as checking issue engagement to assess if the repository is actively maintained.
Where to use
The GitHub Repository Analyzer can be used in software development, project management, and open-source contributions to evaluate the health and activity of repositories.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
📊 GitHub Repository Analyzer - Day 17/21
This agent is part of the Everyday New AI Agent series - Day 17/21 🚀
📌 Overview
The GitHub Repository Analyzer is an AI-powered tool that retrieves key repository metrics and determines whether a GitHub repository is actively maintained.
🔹 Features:
- Fetches repository statistics using GitHub MCP:
- 📅 Last Commit Date
- ✅ Active Development Status
- ✅ Determines if the repository is actively developed:
- Checks if the last commit was within the last 7 days
- Verifies issue engagement (responses to open issues)
🛠️ Installation & Setup
Prerequisites
- Python 3.9 or higher
- Git
- Virtual environment (recommended)
- GitHub Personal Access Token (for MCP authentication)
Installation
1️⃣ Clone the repository:
git clone <repository-url>
cd <repository-folder>
2️⃣ Install dependencies:
pip install -r requirements.txt
3️⃣ Set up your environment variables:
Create a .env file in the root directory and configure it as follows:
GITHUB_PERSONAL_ACCESS_TOKEN="your_github_token" AZURE_OPENAI_ENDPOINT="your_azure_openai_endpoint" AZURE_OPENAI_API_VERSION="your_azure_openai_api_version" AZURE_OPENAI_API_KEY="your_azure_openai_api_key"
🚀 Running the Application
Start the FastAPI server:
uvicorn upsonicai:app --reload
Open the UI in your browser:
http://127.0.0.1:8000/
🔗 API Endpoints
1️⃣ Analyze a GitHub Repository
- Endpoint:
GET /analyze_repo - Query Parameter:
repo(GitHub repository inowner/repoformat) - Example Usage:
curl "http://127.0.0.1:8000/analyze_repo?repo=torvalds/linux"
- Response:
{
"repository": "torvalds/linux",
"stats": {
"last_commit_date": "2024-02-10",
"active_development": true
}
}
🏆 Why Use This Agent?
✅ No scraping, uses GitHub MCP for stable access.
✅ Easily determine if a repository is actively maintained.
✅ Quick & simple FastAPI interface with a modern UI.
✅ Built with Upsonic Framework for seamless AI-powered automation.
🔗 Explore More: GitHub Repository
🚀 UpsonicAI - Making AI Agents Simple & Scalable!
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










