Skip to main content
Glama
oss-trends-mcp

oss-trends-mcp

by hyunwk

oss-trends-mcp

AIビルダー向けのタスク駆動型トレンドOSSレコメンダーを、MCPサーバーとして公開します。「Xを作るためのOSSはどれがトレンドか?」と尋ねると、GitHubスターの勢い、npm/PyPIのダウンロード成長、Hacker Newsの話題といったライブシグナルに基づいて、オープンソースプロジェクトをランキングして返します。

Awesomeリストは数週間で古くなります。AIツールの状況は数日で動きます。oss-trends-mcpは、手動のキュレーションリンクではなく、クエリ時点の実シグナルから候補をランキングし、定番のプロジェクトと急成長の新規プロジェクト(作られてから18か月未満のリポジトリ)を分けて扱います。

ツール

recommend_oss (main)

入力: task(作りたいもの)、queries(絞り込んだGitHub検索語句。推奨。省略時はタスクテキストから展開)、ecosystem(auto/npm/pypi/none)、limit(件数)。

返却: established のランキングに加えて risingNewcomers を返します。それぞれにスコアの内訳が透明な形で含まれるため、呼び出し元のLLMが「なぜ」を説明できます。LLMがタスクを検索クエリに展開し、サーバーは決定的な収集とスコアリングを行います。

GitHubリポジトリ検索を広い、正規化された出力で返します。

repo_health

1つのリポジトリについて、スターの勢い、メンテナンスの鮮度、npm/PyPIの採用状況、HackerNewsの話題、0から100のスコアなどの詳細なシグナルを提供します。

compare_repos

2〜6個のリポジトリを複合スコア順に並べ、傾向を横並びで比較します。

Related MCP server: oss-intel-mcp

スコアリング(0–100)

  • 運動量 35 — 直近30日間でバックの付いたスター数(対数スケール)

  • メンテナンス 20 — pushされた鮮度の減衰、アーカイブ済みは0点

  • 採用 20 — npm/PyPI の月間ダウンロード数と成長ボーナス(直近28日間とその前の28日間の比較)

  • コミュニティ 15 — forks、ライセンス、トピック

  • バズま 10 — 過去180日間のHacker Newsポストと最高スコア

セットアップ

ビールドして Claude Code に登録します:

npm install && npm run build
claude mcp add oss-trends -s user -- node /absolute/path/to/oss-trends-mcp/dist/index.js

推奨: サーバーに GITHUB_TOKEN を設定してください。設定しない場合、GitHubは1分あたり10件の検索・1時間あたり60件のコアリクエストしか許可しないため、スターモメンタムのサンプリングが失敗してフォールバックシグナルに落ちることがよくあります:

claude mcp add oss-trends -s user -e GITHUB_TOKEN=ghp_xxx -- node /absolute/path/to/dist/index.js

stdio 経由で、任意のMCPクライアント(Claude Code、Cursorなど)で動作します。

制限

  • スター数が約40kを超えるリポジトリ: stargazers API は400ページで制限されるため、直近のスター履歴に到達できず、モメンタムは世代調整済みの平均的なスター速度とnpm成長率にフォールバックします。

  • その他の大規模リポジトリのスターテンポは、サンプリングによる下界(最後のページ×100スター)です。

  • npm/PyPI のパッケージマッチングは発見的な手法です(リポジトリ ROI の一致)。マッチしないリポとリポジトリは採用シグナルをスキップします。

開発

npm run build、npm test、npm run lint を使用します。コンパイル済みのサーバーを stdio で real に起動し、実際の API に対して recommend_oss を呼び出すリソースエンジニー型のチェックは scripts/smoke.mjs を参照してください。

ライセンス

MIT

Available Tools

4 tools
compare_reposCompare repositoriesA

Side-by-side trend comparison of 2-6 github repositories, ranked by composite score.

Inputs: repos (required).

recommend_ossRecommend trending OSSB

Given a task or feature description, recommends trending open-source projects using GitHub star momentum, npm/PyPI download growth and Hacker News buzz. Pass focused github search terms in queries for best results.

Inputs: task (required), limit, queries, ecosystem.

repo_healthRepository health and trend scoreA

Deep signals for one github repository: star momentum, maintenance freshness, npm/PyPI adoption, HN buzz, plus a transparent 0-100 score breakdown.

Inputs: repo (required).

search_reposSearch GitHub repositoriesC

Raw github repository search with normalized output. Use for ad-hoc exploration.

Inputs: query (required), sort, limit, minStars, +1 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool serves a distinct purpose: recommendation, raw search, in-depth single-repo health, and multi-repo comparison. There is no overlap in functionality, so an agent can easily select the right tool for the task.

    Naming Consistency4/5

    Three tools follow a verb_noun pattern (recommend_oss, search_repos, compare_repos) while repo_health is noun_noun. The style is uniform in lowercase with underscores, and the one deviation is minor and still intuitive.

    Tool Count5/5

    With 4 tools, the server is tightly scoped to its purpose of OSS trend analysis. Each tool covers a distinct aspect without bloat, making the set manageable and well-focused.

    Completeness4/5

    The surface covers the core workflow: discover via search, get recommendations, deep-dive into one repo, and compare multiple. Missing features like historical trend charts or per-repo dependency analysis are minor gaps that don't block primary use cases.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Discover, rank, and compare GitHub repositories from any MCP-compatible AI client. Enables searching, filtering, ranking, and evaluating open-source repositories by topic, language, stars, license, activity, and relevance.
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      Open source intelligence for AI agents — GitHub project-health scoring, package dependency-risk analysis, trending repositories, license checks, and side-by-side package comparison.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to scout GitHub for existing open-source projects, libraries, and frameworks before building from scratch, offering tools for stack suggestions, repository searches, and detailed repo evaluation.
      3
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables coding agents to receive scored, verified library recommendations, compare repositories side by side, and list trending GitHub repositories by day, week, or month.
      3
      MIT