GitHub MCP Server for Discussions and Repository Analysis

GitHub MCP Server for Discussions and Repository Analysis

mcp_github_discussions•byjasona7

An MCP server that lets AI assistants interact with the GitHub API to search repositories, view discussions, analyze repository activity, and fetch repository statistics.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides tools to search repositories, fetch repository details, issues, and discussions, and retrieve top repositories by activity.
  • •Enables AI models to search repositories, view discussions, analyze repository activity, and fetch repository statistics.
  • •Offers features for repository management, GitHub Discussions analysis, activity insights, and advanced search.

BEST FOR

  • •Developers and teams who want AI assistants to query and analyze GitHub repositories and discussions through MCP.
  • •Automating tasks that involve searching GitHub repositories and reviewing discussion activity.

ABOUT MCP_GITHUB_DISCUSSIONS

GitHub MCP Server for Discussions and Repository Analysis is cataloged as an MCP server attributed to jasona7. An MCP server that lets AI assistants interact with the GitHub API to search repositories, view discussions, analyze repository activity, and fetch repository statistics. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for GitHub MCP Server for Discussions and Repository Analysis are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What GitHub actions can the server perform?

It can search repositories, view discussions, analyze repository activity, and fetch repository statistics.

上游原版 README

在 GitHub 查看同一版本原文

README.md · bb59528dd701 · 采集于 2026-11-13 13:34:42 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

GitHub MCP Server

A versatile and powerful server implementation of the Model Context Protocol (MCP), designed to seamlessly interact with GitHub repositories, issues, discussions, and beyond. This server enables efficient management, automation, and enhanced collaboration by providing a structured interface to query, update, and analyze GitHub data. With support for integrating custom workflows, handling repository metadata, and facilitating real-time interactions with issues and discussions, the MCP server empowers developers and teams to streamline their GitHub experience. Whether you're building tools, automating tasks, or exploring new ways to engage with GitHub's ecosystem, this server offers a robust foundation for your projects.

Overview

This MCP server provides a bridge between AI assistants and the GitHub API, allowing AI models to perform actions like:

  • Searching repositories
  • Viewing discussions
  • Analyzing repository activity
  • Fetching repository statistics

Features

  • Repository Management: Search, analyze, and interact with GitHub repositories
  • Discussion Integration: Analyze GitHub Discussions
  • Activity Analysis: Get insights on repository activity and contributions
  • Search Capabilities: Advanced search for repositories, code, and discussions

Installation

Prerequisites

  • Python 3.8+
  • GitHub Personal Access Token with appropriate permissions

Setup

  1. Clone the repository:

    git clone https://github.com/jasona7/mcp_github_discussions.git
    cd mcp_github_discussions
    
  2. Install dependencies:

    pip install requests
    
  3. Set up your GitHub token in the environment variable:

    export GITHUB_TOKEN=your_github_personal_access_token
    

Usage

Starting the Server

Run the server with:

python scripts/mcp/github/mcp_github_server.py

The server will start on localhost:8004 by default.

Available Tools

The server provides the following tools:

  • search_repositories: Search for repositories based on various criteria
  • get_repository_details: Get detailed information about a repository
  • get_repository_issues: Fetch issues from a repository
  • get_repository_discussions: Fetch discussions from a repository
  • get_top_repos_by_activity: Get trending repositories by activity

Configuration

The server can be configured using environment variables:

  • GITHUB_TOKEN: Your GitHub Personal Access Token
  • MCP_HOST: Host to bind the server to (default: localhost)
  • MCP_PORT: Port to bind the server to (default: 8004)

Using the Client

python scripts/mcp/github/mcp_github_client.py
╭──────────────────────────────── GitHub Discussions Explorer ────────────────────────────────╮
│ MCP GitHub Discussions Explorer                                                             │
│ A terminal UI for interacting with GitHub Discussions                                       │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯
Connecting to server...
Connected to server. 5 tools available.

Available Actions:
1. Browse Top Repositories
2. List Discussions (by repo)
3. Get Discussion Details
4. Check Server Status
5. Exit
6. Toggle Debug Mode
Enter the number of the action you want to perform [1/2/3/4/5/6] (1): 1

Browse Top Repositories:
1. Top Repos by Recent Activity
2. Top Repos by Star Count
3. Top Python Repos
4. Top JavaScript Repos
5. Top AI/LLM Repos
6. Back to Main Menu
Select repository category [1/2/3/4/5/6] (1): 3
Number of repositories to show (10): 3
Finding top Python repositories...
                             Top Repositories (3)                             
┏━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓
┃ # ┃ Repository                       ┃ Stars  ┃ Language ┃ Has Discussions ┃
┡━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩
│ 1 │ public-apis/public-apis          │ 334406 │ Python   │ ✗               │
│ 2 │ donnemartin/system-design-primer │ 294897 │ Python   │ ✗               │
│ 3 │ vinta/awesome-python             │ 238668 │ Python   │ ✗               │
└───┴──────────────────────────────────┴────────┴──────────┴─────────────────┘
None of the repositories have discussions enabled.

Available Actions:
1. Browse Top Repositories
2. List Discussions (by repo)
3. Get Discussion Details
4. Check Server Status
5. Exit
6. Toggle Debug Mode
Enter the number of the action you want to perform [1/2/3/4/5/6] (1): 

Troubleshooting

  • Connection Refused: Make sure the server is running and the port is not blocked by a firewall
  • Authentication Errors: Verify your GitHub token has the necessary permissions
  • Rate Limiting: GitHub API has rate limits; the server will handle these but may slow down during heavy usage

License

MIT License - see the LICENSE file for details

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for GitHub MCP Server for Discussions and Repository Analysis from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp_github_discussions)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools