Skip to main content
Glama

mcp-github-trending

MCP 服务器通过简单的 API 接口提供对 GitHub 趋势存储库和开发人员数据的访问。

特征

  • 访问 GitHub 热门存储库和开发人员数据
  • 按编程语言过滤
  • 按时间段过滤(每日、每周、每月)
  • 按口语过滤
  • 返回格式良好的 JSON 响应

工具

该服务器实现了以下工具:

获取 github 趋势存储库

使用以下参数从 GitHub 获取热门存储库:

  • language (可选):用于过滤存储库的编程语言(例如“python”,“javascript”)
  • since (可选):筛选仓库的时间段(“每日”、“每周”、“每月”)。默认为“每日”。
  • spoken_language (可选):用于筛选存储库的口语

响应示例:

[ { "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 } ]

获取 github 趋势开发者

使用以下参数从 GitHub 获取热门开发人员:

  • language (可选):要过滤的编程语言(例如“python”,“javascript”)
  • since (可选):过滤的时间段(“每日”、“每周”、“每月”)。默认为“每日”

响应示例:

[ { "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" } } ]

安装

先决条件

  • Python 3.12

安装步骤

安装软件包:

pip install mcp-github-trending

Claude桌面配置

在 MacOS 上:

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

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

发展

构建和发布

  1. 同步依赖项并更新锁文件:
uv sync
  1. 构建软件包分发版:
uv build
  1. 发布到 PyPI:
uv publish

注意:通过环境变量或命令标志设置 PyPI 凭据:

  • 令牌: --tokenUV_PUBLISH_TOKEN
  • 用户名/密码: --username / UV_PUBLISH_USERNAME--password / UV_PUBLISH_PASSWORD

调试

为了获得最佳调试体验,请使用MCP Inspector

通过npm启动 MCP 检查器:

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

检查器将显示一个 URL,您可以在浏览器中访问该 URL 以开始调试。

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

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.

MCP 服务器通过简单的 API 接口提供对 GitHub 趋势存储库和开发人员数据的访问。

  1. 特征
    1. 工具
      1. 获取 github 趋势存储库
      2. 获取 github 趋势开发者
    2. 安装
      1. 先决条件
      2. 安装步骤
      3. Claude桌面配置
    3. 发展
      1. 构建和发布
      2. 调试
    4. 执照

      Related MCP Servers

      • 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 -
        18
        4
        3
        TypeScript
        • Linux
        • Apple
      • 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 -
        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 -
        JavaScript
      • A
        security
        F
        license
        A
        quality
        An MCP server that enables integration with GitHub Enterprise API, allowing users to access repository information, manage issues, pull requests, workflows, and other GitHub features through Cursor.
        Last updated -
        16
        33
        14
        TypeScript
        • Linux
        • Apple

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/hetaoBackend/mcp-github-trending'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server