Skip to main content
Glama
oss-trends-mcp

oss-trends-mcp

by hyunwk

oss-trends-mcp

Task-driven trending-OSS recommender for AI builders, exposed as an MCP server. Ask "what OSS is trending for building X?" and get ranked open-source projects backed by live signals: GitHub star momentum, npm/PyPI download growth, and Hacker News buzz.

Awesome lists go stale in weeks; the AI tooling landscape moves in days. oss-trends-mcp ranks candidates at question time from real signals instead of hand-curated links — and separates established players from rising newcomers (repos younger than 18 months).

Tools

recommend_oss (main)

Inputs: task (what you want to build), queries (focused GitHub search terms — recommended; expanded from the task text otherwise), ecosystem (auto/npm/pypi/none), limit. Returns an established ranking plus risingNewcomers, each with a transparent score breakdown so the calling LLM can explain the "why". The LLM expands the task into search queries; the server does deterministic collection and scoring.

search_repos

Raw GitHub repository search with normalized output.

repo_health

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

compare_repos

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

Related MCP server: oss-intel-mcp

Scoring (0-100)

  • momentum 35 — stars gained in the last 30 days (log scale)

  • maintenance 20 — push freshness decay; archived repos score 0

  • adoption 20 — npm or PyPI monthly downloads plus growth bonus (last 28d vs previous 28d)

  • community 15 — forks, license, topics

  • buzz 10 — Hacker News stories and top score over the last 180 days

Setup

Build and register with Claude Code:

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

Recommended: give the server a GITHUB_TOKEN. Without it GitHub allows 10 searches/min and 60 core requests/hour, so star-momentum sampling often degrades to fallback signals:

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

Works in any MCP client (Claude Code, Cursor, etc.) via stdio.

Limitations

  • Repos above ~40k stars: the stargazers API caps at 400 pages, so recent star history is unreachable; momentum falls back to age-adjusted average velocity plus npm growth.

  • Star velocity for other large repos is a sampled lower bound (last pages x 100 stars).

  • npm/PyPI package matching is heuristic (repository URL match); unmatched repos simply skip adoption signals.

Development

npm run build, npm test, npm run lint. A live end-to-end check drives the compiled server over stdio and calls recommend_oss against real APIs: see scripts/smoke.mjs.

License

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.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    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
      C
      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