# npm-trends-api

> npm-trends-api — trendsapi-ai-npm-trends-api. Use this tool when you need to retrieve npm download trends in JSON format, solving problems such as analyzing package popularity and tracking dependency usage. It takes package names as input and outputs JSON data via the Trends API, providing insights into download statistics. Ideal for developers and project managers looking to inform decisions about package selection and maintenance.

Canonical page: https://skillsregistry.net/skills/trendsapi-ai-npm-trends-api  
JSON: https://api.skillsregistry.net/v1/skills/trendsapi-ai-npm-trends-api

## Description

npm download trends as JSON via Trends API.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **License:** MIT
- **Updated:** 2026-09-28

## Source

- **Source listing:** [GitHub](https://github.com/trendsapi-ai/npm-trends-api)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "trendsapi-ai-npm-trends-api"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/trendsapi-ai-npm-trends-api` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/trendsapi-ai-npm-trends-api/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
