NP

npm Trends API MCP Server

Published by trendsapi-ai

npm package download trends and adoption growth over time. Free key at trendsapi.ai

Website
CATEGORY
More to explore
DEPLOYMENT
Remote endpoint
LATEST SOURCE VERSION
1.0.2
SOURCE CHECKED
Dec 1, 2026

Quick answers

How do I add npm Trends API MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --transport http npm-trends-api https://npm.api.trendsapi.ai/mcp --header 'Authorization: Bearer <your-token>'

Replace the <your-…> placeholder with your own token.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "npm-trends-api": {
      "url": "https://npm.api.trendsapi.ai/mcp",
      "headers": {
        "Authorization": "Bearer <your-token>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own token.

Cursor setup guide
CodexConfig

Add this to ~/.codex/config.toml:

[mcp_servers.npm-trends-api]
url = "https://npm.api.trendsapi.ai/mcp"
http_headers = { "Authorization" = "Bearer <your-token>" }

Replace the <your-…> placeholder with your own token.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "npm-trends-api": {
      "type": "http",
      "url": "https://npm.api.trendsapi.ai/mcp",
      "headers": {
        "Authorization": "Bearer <your-token>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own token.

VS Code setup guide
Claude DesktopAddress

Paste this address into Add custom connector:

https://npm.api.trendsapi.ai/mcp

Under Request headers, add Authorization with your own key from npm Trends API.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: its connector form can't send the Authorization header this server needs.

ChatGPT setup guide

Which apps can use npm Trends API MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: its connector form can't send the Authorization header this server needs.

Does npm Trends API MCP Server need an API key?

Yes. Its listing says the remote address needs the Authorization header with your own key or token. The publisher's guide explains how to get one.

Is npm Trends API MCP Server official?

It's published by trendsapi-ai. The Official MCP Registry accepts names under ai.trendsapi only from someone who proved they control trendsapi.ai. We last checked its listing on Dec 1, 2026. A listing shows where a server comes from; it isn't a security review.

View source repository