mcp-github-trending MCP Server

by hetaoBackend

53 stars
808 downloads
Not rated
GitHub

About

MCP server for getting github trending repos & developers

Details

Author
hetaoBackend
GitHub stars
53
Downloads
808
Categories
Developer Tools

- Access GitHub trending repositories and developers data
- Filter repositories by programming language, time period, and spoken language
- Filter developers by programming language and time period
- Returns well-formatted JSON responses
- Supports daily, weekly, and monthly time ranges

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mcp-github-trending MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install the package via pip install mcp-github-trending (requires Python 3.12), then configure it in your MCP client (e.g., Claude Desktop) using the JSON configuration shown in the README. The server exposes two tools: get_github_trending_repositories and get_github_trending_developers.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp-github-trending mcp server": {
            "mcp-github-trending": {
                "command": "uv",
                "args": [
                    "sync"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-github-trending": {
        "command": "uv",
        "args": [
            "sync"
        ]
    }
}

mcp-github-trending MCP Server

A MCP server that provides access to GitHub trending repositories and developers data through a simple API interface.

smithery badge

Features

- Access GitHub trending repositories and developers data
- Filter by programming language
- Filter by time period (daily, weekly, monthly)
- Filter by spoken language
- Returns well-formatted JSON responses

Tools

The server implements the following tools:

get_github_trending_repositories

Gets trending repositories from GitHub with the following parameters:

- language (optional): Programming language to filter repositories by (e.g. "python", "javascript")
- since (optional): Time period to filter repositories by ("daily", "weekly", "monthly"). Defaults to "daily"
- spoken_language (optional): Spoken language to filter repositories by

Example response:

[
{
"name": "repository-name",
"fullname": "owner/repository-name",
"url": "https://github.com/owner/repository-name",
"description": "Repository description",
"language": "Python",
"stars": 1000,
"forks": 100,
"current_period_stars": 50
}
]

get_github_trending_developers

Gets trending developers from GitHub with the following parameters:

- language (optional): Programming language to filter by (e.g. "python", "javascript")
- since (optional): Time period to filter by ("daily", "weekly", "monthly"). Defaults to "daily"

Example response:

[
{
"username": "developer",
"name": "Developer Name",
"url": "https://github.com/developer",
"avatar": "https://avatars.githubusercontent.com/u/123456",
"repo": {
"name": "repository-name",
"description": "Repository description",
"url": "https://github.com/developer/repository-name"
}
}
]

Installation

Prerequisites

- Python 3.12

Install Steps

Install the package:

pip install mcp-github-trending

Claude Desktop Configuration

On MacOS:

~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows:

%APPDATA%/Claude/claude_desktop_config.json

<details>
<summary>Development/Unpublished Servers Configuration</summary>

{
  "mcpServers": {
    "mcp-github-trending": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-github-trending",
        "run",
        "mcp-github-trending"
      ]
    }
  }
}
</details>

<details>
<summary>Published Servers Configuration</summary>

{
  "mcpServers": {
    "mcp-github-trending": {
      "command": "uvx",
      "args": [
        "mcp-github-trending"
      ]
    }
  }
}
</details>

Development

Building and Publishing

1. Sync dependencies and update lockfile:

uv sync

2. Build package distributions:

uv build

3. Publish to PyPI:

uv publish

Note: Set PyPI credentials via environment variables or command flags:
- Token: --token or UV_PUBLISH_TOKEN
- Username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

For the best debugging experience, use the MCP Inspector.

Launch the MCP Inspector via npm:

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-github-trending run mcp-github-trending

The Inspector will display a URL that you can access in your browser to begin debugging.

License

This project is licensed under the MIT License - see the LICENSE file for details.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.