Skip to main content
Glama

mcp-github-trending MCP サーバー

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

鍛冶屋のバッジ

特徴

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

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

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

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

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

Related MCP server: GitHub MCP Server Plus

ツール

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

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

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

Latest Blog Posts

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