mcp-github-trending

by hetaoBackend
Verified

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.

Integrations

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

mcp-github-trending MCP サーバー

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

特徴

  • GitHubのトレンドリポジトリと開発者データにアクセスする
  • プログラミング言語でフィルタリング
  • 期間(日次、週次、月次)でフィルタリング
  • 話し言葉でフィルタリング
  • 適切にフォーマットされたJSONレスポンスを返す

ツール

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

次のパラメータを使用して、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 } ]

次のパラメータを使用して、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ファイルを参照してください。

You must be authenticated.

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

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

  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
      ID: o7a5vfr6hu