npm-trends-mcp
npm-trends-mcp
AIアシスタント向けnpmパッケージトレンドデータ 任意のnpmパッケージの週間ダウンロード数を追跡します。パッケージのダウンロードトレンドを見れば、どのJavaScriptライブラリやフレームワークが開発者に採用されているか、どれが衰退しているか、エコシステムの方向性がわかります。
完全なドキュメントとライブデモ: https://trendsmcp.ai/npm-trends
Trends MCP の一部 – 12以上のソースからライブトレンドデータを提供するMCPサーバーです。 メインリポジトリ: https://github.com/trendsmcp/trends-mcp
2ステップで始める
ステップ1: trendsmcp.ai で無料のAPIキーを取得 1日100リクエスト、クレジットカード不要。
ステップ2: AIクライアントに追加(YOUR_API_KEY を置き換えてください):
Cursor / Windsurf / Cline (~/.cursor/mcp.json または同等)
{
"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)
ユーザー → 設定 → 開発者 → 設定を編集 — mcpServers 内に追加
{
"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(ブラウザ) 設定 → コネクタ → カスタムコネクタを追加:
https://api.trendsmcp.ai/mcpRelated MCP server: npm-trends-mcp
クエリ例
接続後、AIに次のように尋ねてください:
get_trends(keyword='react', source='npm', data_mode='weekly')利用可能なツール
ツール | 機能 |
| このソースにおけるキーワードの時系列データ |
| 1週間、1ヶ月、3ヶ月、6ヶ月、1年単位の成長率 |
| このソースで現在トレンドのトピック |
| ボリューム順にランク付けされたトップトピック |
FAQ
Trends MCPはどのようなnpmデータを返しますか?
任意のnpmパッケージの週間ダウンロード数を、0〜100のスケールに正規化した値、生のダウンロードボリューム、標準期間(7日、1ヶ月、3ヶ月、1年)の成長率、および最大5年分の過去の時系列を返します。
特定のパッケージをクエリするにはどうすればいいですか?
正確なnpmパッケージ名を使用してください — 例: 'react', 'lodash', 'express', '@anthropic-ai/sdk'。スコープ付きパッケージは @org/package 形式で指定します。
複数のパッケージを比較できますか?
はい。カンマ区切りのパッケージ名で get_growth を使用するか、各パッケージに対して get_trends を呼び出して正規化された系列を比較してください。React vs Vue vs Svelte のようなフレームワーク比較に便利です。
投資調査においてnpmデータが役立つ理由は?
npmのダウンロードトレンドは、開発者エコシステムの採用の先行指標です。ダウンロードが急増しているライブラリは、その基盤となるプラットフォームやフレームワークの商業的な採用が広がる前兆であることが多いです。
npmダウンロードデータはどのように正規化されますか?
生の週間ダウンロード数は、パッケージ自身の過去のピークを基準に0〜100のスケールに正規化されます。これにより、絶対的なダウンロード数が大きく異なるパッケージ間でも、採用速度を比較できます。
すべてのデータソース
Trends MCPは1つの接続で12以上のソースをカバー: Google検索、YouTube、TikTok、Reddit、Amazon、Wikipedia、 ニュースセンチメント、Webトラフィック、アプリダウンロード、Steam、npmなど。
すべてを閲覧: https://trendsmcp.ai/data-sources
Pythonクライアントとしても動作
同じAPIキーがPythonで直接使用可能 — MCPホストは不要です。
pip install npm-trends-mcpimport 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)完全なPythonドキュメント: trendsmcp.ai/docs
ライセンス
MIT © Trends MCP
This server cannot be installed
Maintenance
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
- AlicenseAqualityDmaintenanceProvides 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.9MIT
- Alicense-qualityCmaintenanceProvides weekly download counts and trend data for npm packages, enabling comparison of adoption velocity across JavaScript libraries.MIT
- Alicense-qualityDmaintenanceProvides 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.12AGPL 3.0
- AlicenseAqualityCmaintenanceEnables 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.924MIT
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…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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