mcp-github-trending

Integrations

  • Provides access to GitHub trending repositories and developers data, with filtering capabilities by programming language, time period, and spoken language

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

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:

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 } ]

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
{ "mcpServers": { "mcp-github-trending": { "command": "uv", "args": [ "--directory", "/path/to/mcp-github-trending", "run", "mcp-github-trending" ] } } }
{ "mcpServers": { "mcp-github-trending": { "command": "uvx", "args": [ "mcp-github-trending" ] } } }

Development

Building and Publishing

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build
  1. 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.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

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

  1. Features
    1. Tools
      1. get_github_trending_repositories
      2. get_github_trending_developers
    2. Installation
      1. Prerequisites
      2. Install Steps
      3. Claude Desktop Configuration
    3. Development
      1. Building and Publishing
      2. Debugging
    4. License

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        MCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.
        Last updated a day ago
        17
        36,796
        41,847
        JavaScript
        MIT License
      • A
        security
        F
        license
        A
        quality
        MCP Server for the GitHub API, providing features for file operations, repository management, and advanced search, with automatic branch creation and comprehensive error handling.
        Last updated 3 months ago
        18
        4
        1
        TypeScript
      • A
        security
        A
        license
        A
        quality
        An MCP server for gitingest. It allows MCP clients like Claude Desktop, Cursor, Cline etc to quickly extract information about Github repositories including repository summaries, project directory structure, file contents, etc
        Last updated a month ago
        3
        8
        Python
        MIT License
        • Apple
      • -
        security
        F
        license
        -
        quality
        Provides tools for interacting with GitHub's API through the MCP protocol, allowing users to create repositories, push content, and retrieve user information.
        Last updated a month ago
        JavaScript

      View all related MCP servers

      ID: o7a5vfr6hu