Skip to main content
Glama

npm-trends-mcp

npm Trends MCP Funktioniert mit Claude Funktioniert mit Cursor

npm-Paket-Trenddaten für KI-Assistenten Verfolgen Sie wöchentliche Download-Zahlen für jedes npm-Paket. Paket-Download-Trends zeigen, welche JavaScript-Bibliotheken und Frameworks Entwickler übernehmen, welche an Boden verlieren und wohin sich das Ökosystem entwickelt.

Vollständige Dokumentation und Live-Demo: https://trendsmcp.ai/npm-trends

Teil von Trends MCP – dem MCP-Server für Live-Trenddaten aus 12+ Quellen. Siehe das Haupt-Repository: https://github.com/trendsmcp/trends-mcp


Erste Schritte in 2 Schritten

Schritt 1: Holen Sie sich Ihren kostenlosen API-Schlüssel unter trendsmcp.ai 100 Anfragen/Tag, keine Kreditkarte erforderlich.

Schritt 2: Fügen Sie es Ihrem KI-Client hinzu (ersetzen Sie YOUR_API_KEY):

+ Zu Cursor hinzufügen (ein Klick)

Cursor / Windsurf / Cline   (~/.cursor/mcp.json oder gleichwertig)

{
  "mcpServers": {
    "trends-mcp": {
      "url": "https://api.trendsmcp.ai/mcp",
      "transport": "http",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

VS Code / GitHub Copilot   (.vscode/mcp.json)

{
  "servers": {
    "trends-mcp": {
      "type": "http",
      "url": "https://api.trendsmcp.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Claude Desktop   (claude_desktop_config.json) Benutzer → Einstellungen → Entwickler → Konfiguration bearbeiten — innerhalb von mcpServers hinzufügen

{
  "mcpServers": {
    "trends-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.trendsmcp.ai/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Claude.ai (Browser)   Einstellungen -> Connectors -> Benutzerdefinierten Connector hinzufügen:

https://api.trendsmcp.ai/mcp

Related MCP server: npm-trends-mcp

Beispielabfrage

Nach der Verbindung fragen Sie Ihre KI:

get_trends(keyword='react', source='npm', data_mode='weekly')

Verfügbare Werkzeuge

Tool

Was es tut

get_trends

Zeitreihe für ein Keyword auf dieser Quelle

get_growth

Wachstums % über 1W, 1M, 3M, 6M, 1Y Zeiträume

get_top_trends

Was gerade auf dieser Quelle im Trend liegt

get_ranked_trends

Top-Themen nach Volumen sortiert


FAQ

Wöchentliche Download-Zahlen für jedes npm-Paket, normalisiert auf eine 0-100-Skala, plus rohes Download-Volumen, Wachstumsraten über Standardzeiträume (7D, 1M, 3M, 1Y) und eine historische Zeitreihe, die bis zu 5 Jahre zurückreicht.

Wie frage ich ein bestimmtes Paket ab?

Verwenden Sie den genauen npm-Paketnamen – zum Beispiel 'react', 'lodash', 'express' oder '@anthropic-ai/sdk'. Scoped-Pakete verwenden das Format @org/package.

Kann ich mehrere Pakete vergleichen?

Ja. Verwenden Sie get_growth mit kommagetrennten Paketnamen oder rufen Sie get_trends für jedes Paket auf und vergleichen Sie die normalisierten Reihen. Nützlich für Framework-Vergleiche wie React vs Vue vs Svelte.

Warum sind npm-Daten für die Investitionsrecherche nützlich?

npm-Download-Trends sind ein Frühindikator für die Akzeptanz im Entwickler-Ökosystem. Eine Bibliothek, die bei Downloads schnell wächst, deutet oft auf eine breitere kommerzielle Akzeptanz der zugrunde liegenden Plattform oder des Frameworks hin.

Wie werden npm-Download-Daten normalisiert?

Rohdaten der wöchentlichen Downloads werden relativ zum eigenen historischen Höchststand des Pakets auf eine 0-100-Skala normalisiert. So lässt sich die Akzeptanzgeschwindigkeit über Pakete mit sehr unterschiedlichen absoluten Download-Volumina vergleichen.


Alle Datenquellen

Trends MCP deckt 12+ Quellen in einer Verbindung ab: Google Suche, YouTube, TikTok, Reddit, Amazon, Wikipedia, Nachrichtenstimmung, Web-Traffic, App-Downloads, Steam, npm und mehr.

Alle durchsuchen: https://trendsmcp.ai/data-sources


Funktioniert auch als Python-Client

Der gleiche API-Schlüssel funktioniert direkt in Python – kein MCP-Host erforderlich.

pip install npm-trends-mcp
import os
from npm_trends_mcp import TrendsMcpClient, SOURCE

client = TrendsMcpClient(api_key=os.environ["TRENDSMCP_API_KEY"])

series  = client.get_trends(source=SOURCE, keyword="your keyword")
growth  = client.get_growth(source=SOURCE, keyword="your keyword", percent_growth=["1M", "3M", "12M"])
top     = client.get_top_trends(type="Npm", limit=10)

Vollständige Python-Dokumentation: trendsmcp.ai/docs

Lizenz

MIT © Trends MCP

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Provides comprehensive contextual information about npm packages including README files, versions, dependencies, download statistics, and search functionality. Enables users to explore and analyze npm packages through natural language queries with intelligent GitHub README fetching and branch fallback.
    9
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Provides AI assistants with tools to check npm package versions and security heuristics, including version lookups, signal-based analysis, and batch analysis of package.json files.
    12
    AGPL 3.0
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI coding agents to search the npm registry and retrieve package metadata, READMEs, download stats, GitHub details, and usage snippets via the Model Context Protocol.
    9
    24
    MIT

View all related MCP servers

Related MCP Connectors

  • npm, PyPI & crates.io intel for AI agents: versions, popularity, deps, health. No API keys.

  • Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.

  • Provide AI-powered real-time analysis and intelligence on NPM packages, including security, depend…

View all MCP Connectors

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/trendsmcp-ai/npm-trends-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server