Cookies

With your permission, we use Google Analytics cookies to measure visits and improve the site. Necessary cookies are always on. You can change your choice or withdraw consent anytime in the footer, under Cookie settings. Cookie Policy

Skip to content

MCP Agents ·Advanced

GitHub MCP Agent

About this app

A Streamlit application that allows you to explore and analyze GitHub repositories using natural language queries through the Model Context Protocol (MCP).

  • Complete open-source code
  • Step-by-step tutorial

Technical sheet

Category
MCP Agents
Difficulty
Advanced
Models
OpenAI
Frameworks
Agno
Runs locally?
Needs cloud APIs
Required keys
GITHUB_PERSONAL_ACCESS_TOKENGITHUB_TOKENOPENAI_API_KEY

License Apache-2.0 · content curated and maintained by Doutor AI.

Full tutorial

🎓 FREE Step-by-Step Tutorial

👉 Click here to follow our complete step-by-step tutorial and learn how to build this from scratch with detailed code walkthroughs, explanations, and best practices.

A Streamlit application that allows you to explore and analyze GitHub repositories using natural language queries through the Model Context Protocol (MCP).

✨ Now using the official GitHub MCP Server from GitHub!

Features

  • Natural Language Interface: Ask questions about repositories in plain English
  • Comprehensive Analysis: Explore issues, pull requests, repository activity, and code statistics
  • Interactive UI: User-friendly interface with example queries and custom input
  • MCP Integration: Leverages the Model Context Protocol to interact with GitHub's API
  • Real-time Results: Get immediate insights on repository activity and health

Setup

Requirements

  • Python 3.8+
  • Docker (for official GitHub MCP server)
  • Download and install from docker.com
  • Make sure Docker is running before starting the app
  • OpenAI API Key
  • GitHub Personal Access Token

Installation

  1. Clone this repository:
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
cd mcp-github-agent
  1. Install the required Python packages:
pip install -r requirements.txt
  1. Verify Docker is installed and running:
docker --version
docker ps
  1. Get your API keys:

Running the App

  1. Start the Streamlit app:
streamlit run github_agent.py
  1. In the app interface:
  • Enter your OpenAI API key
  • Enter your GitHub token
  • Specify a repository to analyze
  • Select a query type or write your own
  • Click "Run Query"

Example Queries

Issues

  • "Show me issues by label"
  • "What issues are being actively discussed?"
  • "Find issues labeled as bugs"

Pull Requests

  • "What PRs need review?"
  • "Show me recent merged PRs"
  • "Find PRs with conflicts"

Repository

  • "Show repository health metrics"
  • "Show repository activity patterns"
  • "Analyze code quality trends"

From the same category

MCP AgentsAdvanced

AI Travel Planner MCP Agent Team

A sophisticated Streamlit-based AI travel planning application that creates extremely detailed, personalized travel itineraries using multiple MCP ser…

  • OpenAI
MCP AgentsAdvanced

Browser MCP Agent

A Streamlit application that allows you to browse and interact with websites using natural language commands through the Model Context Protocol (MCP) …

  • OpenAI
  • Claude
  • Llama
  • local
MCP AgentsAdvanced

Multi-MCP Intelligent Assistant

The Multi-MCP Intelligent Assistant is a powerful productivity tool that integrates multiple Model Context Protocol (MCP) servers to provide seamless …

  • OpenAI

Need a tailor-made solution?

Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.

Save hours every week with AI, no hassle

Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.

See plans