Last 10 free Supermetrics migrations
YouTube Analytics · MCP

YouTube Analytics MCP Server: ask Claude about your data

The Detrics MCP server gives Claude read-only access to your YouTube Analytics account. You ask in plain language and Claude answers from your live data, not a stale export.

Available on the free plan: 35 queries/month, no credit card.

Ask your agent about YouTube Analytics

Summarize my YouTube Analytics data for the last 6 weeks

Traffic dropped this week according to YouTube Analytics. Find out why.

Which pages lost the most visits in YouTube Analytics this month?

What were my top traffic sources in YouTube Analytics this month?

What you can analyze in YouTube Analytics

Video Performance Metrics

Track views, watch time, average view duration, and average percentage viewed. Monitor video-level performance to identify your top-performing content.

Audience & Subscriber Growth

Analyze subscriber gains and losses, unique viewers, and viewer demographics. Track audience retention and growth trends over time.

Engagement Analytics

Monitor likes, dislikes, comments, shares, and annotation interactions. Measure audience engagement rates and content resonance across your channel.

Revenue & Monetization

Track estimated revenue, ad revenue, CPM, and RPM. Monitor monetized playbacks and revenue per video for content strategy optimization.

Traffic Source Analysis

Understand where your views come from: search, suggested videos, external sites, playlists, and more. Optimize discovery and content distribution.

Playback & Device Breakdown

Analyze playback locations, device types, and operating systems. Understand how and where your audience watches to optimize video formats.

What Claude can see in YouTube Analytics

41 metrics and 37 dimensions, including:

device typecountryviewsestimated minutes watchedlikes
HOW IT WORKS

How the YouTube Analytics MCP server works

Connect YouTube Analytics once and query it in plain language.

First step

Connect your first datasource

Link any of 32+ marketing and ecommerce platforms in a couple of clicks.

Second step

Connect Detrics to Claude

Add Detrics as an MCP connector in Claude. Your marketing data is ready to query in plain language.

DetricsClaudeMCP
And that's it

Start talking to your data

Ask Claude for any report in plain language. It builds the dashboard from your real numbers, no hallucinations.

Build a buyer-journey dashboard from my marketing data
Buyer journey LIVE
Sessions 12,302
Checkouts 145
Purchases 55
Close rate 37.9%
Done · generated by Detrics
Technical setup for developers

Add Detrics to any MCP-compatible client using your API key from app.detrics.io/mcp:

{
  "mcpServers": {
    "detrics": {
      "command": "npx",
      "args": ["-y", "detrics"],
      "env": {
        "DETRICS_API_KEY": "dk_••••••••"
      }
    }
  }
}

Available tools include list_connections, list_accounts, list_fields, and query_marketing_data. All YouTube Analytics access is read-only.

MCP

Frequently Asked Questions

You connect YouTube Analytics to Detrics once. The Detrics MCP server then exposes read-only query tools that Claude can call. Claude never sees your credentials and can never modify your YouTube Analytics account.
Anything the YouTube Analytics API exposes through Detrics, including audience. That covers 41 metrics and 37 dimensions, over any date range your account allows.
Any MCP-compatible client: Claude Desktop, Claude.ai, Claude Code, Cursor, Windsurf, and more.
MCP access is available on every Detrics plan. On the free plan it uses your 35 monthly data refreshes (the same quota as Google Sheets), no credit card required. Paid plans unlock higher quotas.

Ask your first YouTube Analytics question today

*No credit card required

  • Works with Claude, Cursor, Windsurf & more
  • Read-only access, OAuth 2.0 secured
  • Free plan with 35 queries/month