Triangle pointing up
MCP Server

Cursor

Connect TubeLab to Cursor and turn it into your YouTube research assistant.

Connect your TubeLab account to Cursor and it becomes your YouTube research assistant — searching channels, finding viral videos, pulling transcripts — all within your editor.

Setup

1. Create a TubeLab API key

Create an API key here and copy it.

Be aware, this key won't be shown again.

2. Open MCP settings

In Cursor, go to SettingsMCP+ Add new MCP server.

3. Paste this config

{
  "mcpServers": {
    "tubelab": {
      "url": "https://public-api.tubelab.net/mcp",
      "headers": {
        "Authorization": "Bearer your-api-key-here"
      }
    }
  }
}

Replace your-api-key-here with the API key from step 1.

4. Restart Cursor

Restart Cursor to connect. No installation needed — this connects directly to TubeLab's hosted MCP server.

Done. TubeLab is now available in Cursor.

Example prompts

Ask Cursor anything about YouTube and it will call TubeLab's tools behind the scenes:

  • "Search for cooking channels with over 100K subscribers"
  • "Get me the transcript of this video: dQw4w9WgXcQ"
  • "What are the top comments on this video?"
  • "Find channels similar to @mkbhd"
  • "What viral videos are there about home automation this month?"
  • "How many credits do I have left?"

Tools

Once connected, Cursor has access to 11 TubeLab tools:

ToolWhat it doesCost
search_channelsSearch YouTube channels by keyword with filters (subscribers, views, language, monetization, etc.)5 credits
search_related_channelsFind channels similar to a given channel5 credits
search_outliersFind viral or underperforming videos across YouTube by keyword2 credits
search_related_outliersFind outlier videos from channels similar to a given channel2 credits
get_channelGet info about a YouTube channel (accepts ID, URL, or @handle)free
get_channel_videosGet recent videos from a channelfree
get_channel_shortsGet recent Shorts from a channelfree
get_videoGet detailed info about a specific videofree
get_video_transcriptGet the transcript/captions of a videofree
get_video_commentsGet top comments from a videofree
get_credits_balanceCheck your TubeLab credit balancefree

You don't need to call these by name. Just ask Cursor what you need in plain language and it picks the right tools automatically.

Good to know

  • Tools consume your TubeLab credits at the same rate as the TubeLab app or API
  • The Bearer token authenticates as your account — treat it like a password
  • Check your balance anytime: "What's my TubeLab credit balance?"

How it works

TubeLab's Cursor integration uses MCP (Model Context Protocol) — an open standard that lets AI assistants use external tools directly inside a conversation. When you add TubeLab as an MCP server, Cursor can call TubeLab's API on your behalf without you writing any code or leaving the editor.