Skip to main content
MCP server CX Codex

YouTube Trends API — Claude Code MCP server: install and overview

Supplies YouTube search interest trends and live trending feeds to AI coding agents. Useful for content research and market demand tracking.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http youtube-trends-api https://youtube.api.trendsapi.ai/mcp
Open on GitHub

What YouTube Trends API does

This server connects your agent to the trends service over HTTP at https://youtube.api.trendsapi.ai/mcp. It exposes endpoints for historical search interest, percentage growth calculations, and the current trending feed. Search series return points with a normalized 0 to 100 value, along with date timestamps and optional absolute volume metrics.

Calls require an API token created at trendsapi.ai/#get-key. Strict parameter casing matters: setting source requires lowercase youtube, while type must match YouTube Trending exactly, or the server rejects the request with HTTP 400. Requests return 404 when a keyword has no historical entries.

What it helps with

  • track historical YouTube search interest on a 0-100 scale
  • calculate keyword growth percentages across quarters and years
  • fetch current top trending videos from the live feed
  • pull trend series data for content calendar planning

Example prompts for the agent

  • Retrieve the search interest time series for 'home gym' on YouTube.
  • Check the 3-month and 12-month growth for the topic 'cold plunge'.
  • List the top 10 entries from the current YouTube trending feed.

How to install YouTube Trends API

Platform CLI: remote server

claude mcp add --transport http youtube-trends-api https://youtube.api.trendsapi.ai/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about YouTube Trends API

How to install YouTube Trends API in Claude Code?

Run claude mcp add --transport http youtube-trends-api https://youtube.api.trendsapi.ai/mcp in your terminal.

What does YouTube Trends API do?

It provides search volume indices over time, calculates growth across chosen date windows, and retrieves current trending topics from YouTube.

What is required before using the server?

You need an API key from trendsapi.ai/#get-key exported as TRENDSAPI_KEY.

Similar MCP servers

All MCP servers for Marketing and content →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor