npm-trends-mcp
Provides access to trend data from Amazon, including search volume and product popularity trends over time.
Enables querying of Google Search trend data, including keyword popularity and historical search volume.
Delivers weekly download counts, normalized trends (0-100), growth rates, and historical time series for npm packages.
Allows retrieval of trend data from Reddit, including keyword mentions, subreddit activity, and topic popularity over time.
Provides trend data from Steam, including game player counts, popularity rankings, and historical activity metrics.
Enables access to TikTok trend data, including hashtag popularity, video engagement trends, and content virality metrics.
Offers trend data from Wikipedia, including page view statistics, topic popularity shifts, and historical interest patterns.
Provides trend data from YouTube, including video view counts, channel growth, and topic interest over time.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@npm-trends-mcpShow me weekly download trends for React, Vue, and Svelte"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
npm-trends-mcp
npm package trend data for AI assistants Track weekly download counts for any npm package. Package download trends reveal which JavaScript libraries and frameworks developers are adopting, which are losing ground, and where the ecosystem is heading.
Full docs and live demo: https://trendsmcp.ai/npm-trends
Part of Trends MCP - the MCP server for live trend data across 12+ sources. See the main repo: https://github.com/trendsmcp/trends-mcp
Get started in 2 steps
Step 1: Get your free API key at trendsmcp.ai 100 requests/day, no credit card required.
Step 2: Add to your AI client (replace YOUR_API_KEY):
Cursor / Windsurf / Cline (~/.cursor/mcp.json or equivalent)
{
"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)
User → Settings → Developer → Edit Config — add inside 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 (browser) Settings -> Connectors -> Add custom connector:
https://api.trendsmcp.ai/mcpRelated MCP server: npm-trends-mcp
Example query
After connecting, ask your AI:
get_trends(keyword='react', source='npm', data_mode='weekly')Available tools
Tool | What it does |
| Time-series for a keyword on this source |
| Growth % over 1W, 1M, 3M, 6M, 1Y periods |
| What is trending right now on this source |
| Top topics ranked by volume |
FAQ
What npm data does Trends MCP return?
Weekly download counts for any npm package, normalized to a 0-100 scale, plus raw download volume, growth rates over standard periods (7D, 1M, 3M, 1Y), and a historical time series going back up to 5 years.
How do I query a specific package?
Use the exact npm package name - for example 'react', 'lodash', 'express', or '@anthropic-ai/sdk'. Scoped packages use the @org/package format.
Can I compare multiple packages?
Yes. Use get_growth with comma-separated package names or call get_trends for each package and compare the normalized series. Useful for framework comparisons like React vs Vue vs Svelte.
Why is npm data useful for investment research?
npm download trends are a leading indicator of developer ecosystem adoption. A library growing fast in downloads often precedes broader commercial adoption of the underlying platform or framework.
How is npm download data normalized?
Raw weekly download counts are normalized to a 0-100 scale relative to the package's own historical peak. This makes it possible to compare adoption velocity across packages with very different absolute download volumes.
All data sources
Trends MCP covers 12+ sources in one connection: Google Search, YouTube, TikTok, Reddit, Amazon, Wikipedia, News Sentiment, Web Traffic, App Downloads, Steam, npm, and more.
Browse all: https://trendsmcp.ai/data-sources
Also works as a Python client
Same API key works directly in Python - no MCP host needed.
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)Full Python docs: trendsmcp.ai/docs
License
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