Skip to main content
Glama
hetaoBackend

mcp-github-trending

by hetaoBackend

mcp-github-trending MCP サーバー

シンプルな API インターフェースを通じて GitHub のトレンド リポジトリと開発者データへのアクセスを提供する MCP サーバー。

鍛冶屋のバッジ

特徴

  • GitHubのトレンドリポジトリと開発者データにアクセスする

  • プログラミング言語でフィルタリング

  • 期間(日次、週次、月次)でフィルタリング

  • 話し言葉でフィルタリング

  • 適切にフォーマットされたJSONレスポンスを返す

Related MCP server: ossinsight-mcp

ツール

サーバーは次のツールを実装します。

get_github_trending_repositories

次のパラメータを使用して、GitHub からトレンドのリポジトリを取得します。

  • language (オプション): リポジトリをフィルタリングするプログラミング言語 (例: "python"、"javascript")

  • since (オプション): リポジトリをフィルタリングする期間(「daily」、「weekly」、「monthly」)。デフォルトは「daily」

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

get_github_trending_developers

次のパラメータを使用して、GitHub からトレンドの開発者を取得します。

  • language (オプション): フィルタリングするプログラミング言語 (例: "python"、"javascript")

  • since (オプション): フィルタリングする期間(「daily」、「weekly」、「monthly」)。デフォルトは「daily」

応答例:

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

クロードデスクトップ構成

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 資格情報を設定します。

  • トークン: --tokenまたはUV_PUBLISH_TOKEN

  • ユーザー名/パスワード: --username / UV_PUBLISH_USERNAMEおよび--password / UV_PUBLISH_PASSWORD

デバッグ

最適なデバッグ エクスペリエンスを得るには、 MCP Inspectorを使用します。

npm経由で MCP Inspector を起動します。

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

インスペクターには、ブラウザでアクセスしてデバッグを開始できる URL が表示されます。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

Available Tools

2 tools

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv1.0.0
    • First observedget_github_trending_developers
    • First observedget_github_trending_repositories

TDQS

B3.2/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have perfectly distinct purposes: one targets trending developers, the other trending repositories. There is no overlap in functionality, and an agent can easily differentiate between them based on the clear resource distinction.

Naming Consistency5/5

Both tools follow an identical verb_noun pattern with 'get_github_trending_' prefix, ensuring complete predictability. The naming is highly consistent and readable, with no deviations in style or structure.

Tool Count2/5

With only 2 tools, the server feels thin for its apparent scope of 'github-trending'. While it covers two key resources, the lack of filtering, sorting, or time-range options limits utility, making the count borderline insufficient for robust trending analysis.

Completeness3/5

The server provides basic access to trending developers and repositories, but there are notable gaps. Missing operations include filtering by language, location, or time period, and there is no way to get historical trending data or detailed analytics, which are common needs in this domain.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that provides access to the OSS Insight Public API for GitHub repository analytics. It enables querying trending repositories, contributor statistics, and collection rankings through various tools.
    18
    8 npm
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides tools for interacting with the GitHub API, enabling AI assistants to query repositories, pull requests, issues, commits, users, and more.
    538 npm
    ISC