Skip to main content
ClaudeWave

MCP server for live npm package download trends. Track JavaScript library adoption and developer ecosystem growth from Claude, Cursor and more.

MCP ServersOfficial Registry0 stars0 forksPythonMITUpdated 4mo ago
ClaudeWave Trust Score
85/100
Trusted
Passed
  • Open-source license (MIT)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 8/19/2026
Install in Claude Code / Claude Desktop
Method: pip / Python · npm-trends-mcp
Claude Code CLI
claude mcp add npm-trends-mcp -- python -m npm-trends-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "npm-trends-mcp": {
      "command": "python",
      "args": ["-m", "npm-trends-mcp"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install npm-trends-mcp
Use cases

MCP Servers overview

# npm-trends-mcp

[![npm Trends](https://img.shields.io/badge/npm%20Trends-CB3837?style=flat-square)](https://trendsmcp.ai/npm-trends)
[![MCP](https://img.shields.io/badge/MCP-compatible-blue?style=flat-square)](https://modelcontextprotocol.io)
[![Works with Claude](https://img.shields.io/badge/Claude-supported-orange?style=flat-square)](https://trendsmcp.ai/mcp-server-for-claude)
[![Works with Cursor](https://img.shields.io/badge/Cursor-supported-purple?style=flat-square)](https://trendsmcp.ai/mcp-server-for-cursor)

> **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](https://trendsmcp.ai/npm-trends)

Part of **[Trends MCP](https://trendsmcp.ai)** - the MCP server for live trend data across 12+ sources.
See the main repo: [https://github.com/trendsmcp/trends-mcp](https://github.com/trendsmcp/trends-mcp)

---

## Get started in 2 steps

**Step 1:** Get your free API key at **[trendsmcp.ai](https://trendsmcp.ai)**
100 requests/day, no credit card required.

**Step 2:** Add to your AI client (replace `YOUR_API_KEY`):

[**+ Add to Cursor (one click)**](cursor://anysphere.cursor-deeplink/mcp/install?name=trends-mcp&config=eyJ1cmwiOiAiaHR0cHM6Ly9hcGkudHJlbmRzbWNwLmFpL21jcCIsICJ0cmFuc3BvcnQiOiAiaHR0cCJ9)

**Cursor / Windsurf / Cline** &nbsp; (`~/.cursor/mcp.json` or equivalent)
```json
{
  "mcpServers": {
    "trends-mcp": {
      "url": "https://api.trendsmcp.ai/mcp",
      "transport": "http",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}
```

**VS Code / GitHub Copilot** &nbsp; (`.vscode/mcp.json`)
```json
{
  "servers": {
    "trends-mcp": {
      "type": "http",
      "url": "https://api.trendsmcp.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}
```

**Claude Desktop** &nbsp; (`claude_desktop_config.json`)
User → Settings → Developer → Edit Config — add inside mcpServers
```json
{
  "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) &nbsp; Settings -> Connectors -> Add custom connector:
```
https://api.trendsmcp.ai/mcp
```

---

## Example query

After connecting, ask your AI:
```
get_trends(keyword='react', source='npm', data_mode='weekly')
```

---

## Available tools

| Tool | What it does |
|------|-------------|
| `get_trends` | Time-series for a keyword on this source |
| `get_growth` | Growth % over 1W, 1M, 3M, 6M, 1Y periods |
| `get_top_trends` | What is trending right now on this source |
| `get_ranked_trends` | 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](https://trendsmcp.ai/data-sources)


---

## Also works as a Python client

Same API key works directly in Python - no MCP host needed.

```bash
pip install npm-trends-mcp
```

```python
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)
```

Full Python docs: [trendsmcp.ai/docs](https://trendsmcp.ai/docs)
---

## License

MIT &copy; [Trends MCP](https://trendsmcp.ai)
ai-toolsanalyticsapiasyncclaudecursordeveloper-toolsjavascriptllm-toolsmcpmodel-context-protocolno-scrapingnpmnpm-downloadsopen-sourcepackage-statspypipythontrend-datatrendsmcp

What people ask about npm-trends-mcp

What is trendsmcp-ai/npm-trends-mcp?

+

trendsmcp-ai/npm-trends-mcp is mcp servers for the Claude AI ecosystem. MCP server for live npm package download trends. Track JavaScript library adoption and developer ecosystem growth from Claude, Cursor and more. It has 0 GitHub stars and its last recorded update is dated 2026-04-03.

How do I install npm-trends-mcp?

+

You can install npm-trends-mcp by cloning the repository (https://github.com/trendsmcp-ai/npm-trends-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is trendsmcp-ai/npm-trends-mcp safe to use?

+

Our security agent has analyzed trendsmcp-ai/npm-trends-mcp and assigned a Trust Score of 85/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.

Who maintains trendsmcp-ai/npm-trends-mcp?

+

trendsmcp-ai/npm-trends-mcp is maintained by trendsmcp-ai. The last recorded GitHub activity is dated 2026-04-03, with 0 open issues.

Are there alternatives to npm-trends-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy npm-trends-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: trendsmcp-ai/npm-trends-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/trendsmcp-ai-npm-trends-mcp)](https://claudewave.com/repo/trendsmcp-ai-npm-trends-mcp)
<a href="https://claudewave.com/repo/trendsmcp-ai-npm-trends-mcp"><img src="https://claudewave.com/api/badge/trendsmcp-ai-npm-trends-mcp" alt="Featured on ClaudeWave: trendsmcp-ai/npm-trends-mcp" width="320" height="64" /></a>

More MCP Servers

npm-trends-mcp alternatives