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:
Need full history and SQL? See the YouTube Analytics BigQuery connector
How the YouTube Analytics MCP server works
Connect YouTube Analytics once and query it in plain language.
Connect your first datasource
Link any of 32+ marketing and ecommerce platforms in a couple of clicks.
Connect Detrics to Claude
Add Detrics as an MCP connector in Claude. Your marketing data is ready to query in plain language.
Start talking to your data
Ask Claude for any report in plain language. It builds the dashboard from your real numbers, no hallucinations.
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.
Frequently Asked Questions
Ask your first YouTube Analytics question today
- Works with Claude, Cursor, Windsurf & more
- Read-only access, OAuth 2.0 secured
- Free plan with 35 queries/month
