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 키를 받으세요. 하루 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는 하나의 연결로 12개 이상의 소스를 다룹니다: Google 검색, YouTube, TikTok, Reddit, Amazon, Wikipedia, 뉴스 감성, 웹 트래픽, 앱 다운로드, 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
Available Tools
3 toolsget_growthARead-onlyIdempotentInspect
Point-to-point growth for a keyword on one or more sources. Each window is a preset string (12M, 3M, YTD, and the other listed periods). Values are on a 0-100 scale, plus absolute volume when available. Prefer this over get_time_series for growth questions. app downloads and app rankings are keyword sources (Android bundle ID). They are not the App Store / Google Play live boards on get_top_trends. If the request is rate limited or the monthly quota is used up, tell the user their plan limit is reached.
Inputs: source (required), keyword (required), percent_growth. Returns: result
get_time_seriesARead-onlyIdempotentInspect
Full historical series for one keyword and one source (0-100 values, plus volume when available). Use for charting or custom math. Not for live 'what's trending now' boards (use get_top_trends). For most growth questions, use get_growth. If the request is rate limited or the monthly quota is used up, tell the user their plan limit is reached.
Inputs: source (required), keyword (required). Returns: result
get_top_trendsARead-onlyIdempotentInspect
Live top-trending board for exactly one feed type. No keyword. For 'Amazon Best Sellers by Category', 'Google Trends by Category', 'Top Websites', and 'Substack by Category', always pass category. Default sort is current rank. Use sort='rank_change' for climbers vs a prior snapshot (window 1d, 3d, 7d, 14d, or 30d). App Store Top Free, App Store Top Paid, and Google Play are live store boards, not keyword lookups. For an app's history use get_growth or get_time_series with source app downloads or app rankings and an Android bundle ID. Do not use get_time_series for live boards. If the request is rate limited or the monthly quota is used up, tell the user their plan limit is reached.
Inputs: type (required), sort, limit, offset, +2 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The tools are largely distinct: get_top_trends targets live boards, while get_growth and get_time_series both handle historical keyword data and could be confused. However, the descriptions explicitly separate 'point-to-point growth' from 'full historical series' and tell agents which to prefer, so the boundary is workable.
All three tools follow a clean get_<noun> pattern: get_growth, get_top_trends, get_time_series. There is no mixing of styles or inconsistent verbs, making the naming predictable and easy to navigate.
Three tools is a focused, sensible scope for a trends data server. Each tool covers a distinct core user need: current top boards, point-to-point growth, and full time-series data, so each earns its place.
The set covers the main trend-related workflows: live rankings, growth comparisons, and historical charting data. Minor gaps exist, such as no explicit endpoint for listing available feeds, categories, or discovering keywords, but agents can work around those with known values and guidance in the descriptions.
Maintenance
Related MCP Connectors
npm package download trends and adoption growth over time. Free key at trendsapi.ai
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. 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…
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
- AlicenseNot gradedqualityCmaintenanceProvides weekly download counts and trend data for npm packages, enabling comparison of adoption velocity across JavaScript libraries.MIT
- AlicenseAqualityDmaintenanceEnables 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.914 npmMIT
- AlicenseBqualityDmaintenanceEnables querying NPM package download statistics, metadata, and dependency information through natural language.2MIT