# Connect YouTube to Claude

Connect YouTube to Claude with Supermetrics and turn your YouTube data into answers, reports, and next steps without leaving Claude.

Don’t take our word. Try it free today.

[Connect YouTube to Claude for free](https://claude.ai/directory/connectors/supermetrics)

![Illustrative Claude response for YouTube: Use Supermetrics. Select my 4 most recently published videos. Show their views, estimated minutes watched and average view percentage for the last 28 complete days.](https://cdn.sanity.io/images/8ly2m84z/production-2025/6f18c3bd690cdd968b54e1a47323c32a07b227ab-2400x1240.png)

## At a glance
- **What it does.** Ask Claude about video performance, watch time, audience retention, traffic sources, demographics, devices and ad revenue for your YouTube channel.
- **What you need.** To connect, you need the Owner role on a private account or the Manager role on a brand account.
- **Videos report limits.** The Videos performance report covers up to the 1,000 most recently published videos on the channel. The connector returns no transcripts.
- **Read-only.** The connector is read-only for YouTube. Claude can't upload, edit or schedule videos.

## Before you start

### Claude

You need a Claude account where you can add connectors. Supermetrics appears under Customize, then Connectors. Anthropic's [custom connectors guide](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp) explains remote connectors.

### Supermetrics

You don't need a subscription to start. If you don't have one, a trial starts at login.

If you already pay for Supermetrics, your subscription needs an [AI chats](https://docs.supermetrics.com/docs/ai-chats) destination in the [Supermetrics Hub](https://hub.supermetrics.com). If it's missing, upgrade or swap an existing destination to [AI chats](https://docs.supermetrics.com/docs/ai-chats). The connection is tied to the subscription that was active when you first connected ([Supermetrics for Claude docs](https://docs.supermetrics.com/docs/supermetrics-for-claude)).

See [pricing](/pricing) for plans.

### YouTube

You need this access to the channel ([YouTube connection guide](https://docs.supermetrics.com/docs/youtube-connection-guide)):

- Private accounts need the Owner role.

- Brand accounts need the Manager role.

- For most account and channel types, the Google account that logs in must be the channel's owner.

- Monetization data needs ownership of the Content Manager account, or a channel with monetization enabled.

If a client owns the channel, send them a [Supermetrics authentication link](https://docs.supermetrics.com/v1/docs/how-to-connect-to-data-sources-from-supermetrics-hub#share-authentication-link) so they can authorize it. For missing channels, follow the [YouTube connection guide](https://docs.supermetrics.com/docs/youtube-connection-guide): it describes inviting a separate Google account as Manager, accepting the invitation, then adding a new Supermetrics connection. Check the account and channel type before changing access.

## How do you connect YouTube to Claude?

1. **Add Supermetrics to Claude.** Open the [Supermetrics for Claude page](/products/claude) and click Try in Claude. Alternatively, in Claude go to Customize, then Connectors, and search for Supermetrics.

2. **Select your team.** Sign in to Supermetrics and choose the team to use. If you have no subscription, the trial starts here.

3. **Sign in to YouTube through the Hub.** Open YouTube in the [Supermetrics Hub](https://hub.supermetrics.com), or use the login link Claude returns. Click Sign in with Google, choose the channel’s account or brand account, and allow all requested access scopes. Connections used in [AI chats](https://docs.supermetrics.com/docs/ai-chats) are shared by default; check team access before authorizing client channels.

   ![Illustrative Supermetrics Hub form for connecting YouTube.](https://cdn.sanity.io/images/8ly2m84z/production-2025/6da8254d1745c1ef05e10c9706c7f2034b1edbe0-2400x974.png)

4. **Tell Claude what to use.** Point Claude at Supermetrics and the right channel. If other data tools are connected, write "use Supermetrics". If you have several channels, name the one you want.

5. **Run one small query.** Specify a channel and date range. Try: “Use Supermetrics. For my 10 latest videos, show views and estimated minutes watched for the last 28 complete days. Show the report type and fields used.”

6. **Check it, then go deeper.** Compare views for one video with YouTube Studio. If they agree, move on to retention, traffic sources and revenue, or ask Claude for a dashboard.

Building your own agent or n8n workflow instead? Use the [standalone Supermetrics MCP server](https://docs.supermetrics.com/docs/supermetrics-mcp-server), which needs a Supermetrics subscription with API access. For more setup help, see the [AI tools connection guide](https://docs.supermetrics.com/docs/how-to-connect-supermetrics-to-ai-tools).

## What can you ask Claude about YouTube?
Replace the dates and video ID with your own. Specify publication dates separately from the period whose performance you want to measure. “Published in the last 90 days, with performance over the last 28 complete days” is clearer than “latest videos from the last 90 days.” Videos performance covers at most the 1,000 latest published videos, so its ranking is not an all-time ranking of every upload.

| **Goal** | **Prompt** | **What you get** |
| --- | --- | --- |
| Reporting | Use Supermetrics. Select my 20 most recently published videos. Show their views, minutes watched and average view percentage over the last 28 complete days, ranked by views. | A table of recent uploads, ranked by views |
| Reporting | Show subscribers gained and lost per week for the last 12 weeks. | A weekly net subscriber table |
| Diagnosis | For video ID z6m-exPLVco, show the audience watch ratio across the video for the last 28 days. | A retention curve that shows where viewers leave |
| Comparison over time | Compare views by device type and operating system this month with last month. | Two period tables side by side |
| Cross-source | Show YouTube views per week for the last 12 weeks beside posts published per week by my social publishing tool. | Two result sets that Claude lines up by week |
| Action | Build a channel dashboard of views, watch time and subscriber change for the last 90 days and create it in Supermetrics Studio. | A dashboard in Studio |

### More example prompts

| **Goal** | **Prompt** | **What you get** |
| --- | --- | --- |
| Diagnosis | Break the last 28 days of views and minutes watched down by traffic source type. | A table of where viewing comes from |
| Diagnosis | Which age groups and genders made up my viewers in the last 28 days? | A viewer share table |
| Comparison over time | Which countries drove the most minutes watched this quarter? | A country ranking |

![Audience watch ratio across one demo video](https://cdn.sanity.io/images/8ly2m84z/production-2025/d98d95e0fff0ba70415efb53da8a0e3a85b48c46-2400x1644.png)

More patterns are in the [AI chats use cases](https://docs.supermetrics.com/docs/use-cases-for-supermetrics-ai-chats-and-mcp-server). Google's [YouTube Analytics API documentation](https://developers.google.com/youtube/analytics) explains the metrics behind these fields.

## What can you do with YouTube data in Claude?

- **Rank recent videos.** See which recent uploads held attention, with views, minutes watched and the average percentage watched for each.

- **See where viewers drop off in a video.** Ask for the retention curve of one video to find the moment viewers leave, and compare its retention with YouTube videos of similar length.

- **Find out where viewing comes from.** Break views and minutes watched down by traffic source.

- **Profile the audience.** Compare the demographic share of logged-in viewers by age group and gender, then query viewing by country or device in separate reports.

- **Track subscribers.** See subscribers gained and lost each week, next to your all-time subscriber count.

- **Check ad revenue.** See gross revenue, ad impressions and CPM by ad type.

- **Review video SEO.** Compare titles, tags and descriptions alongside views to develop hypotheses to test. Strong performance alone does not show which wording caused it. Query traffic sources separately from video metadata.

## How do you combine YouTube with other data in Claude?

YouTube sits next to your other Supermetrics sources in one chat.

- **Posting against viewing.** With [Sprout Social in Claude](/connect/sprout-social-to-claude), ask whether weeks with more social posts about a video also had more YouTube views.

- **Local presence against video.** With [Google Business Profile in Claude](/connect/google-my-business-to-claude), compare viewing by country with where your listings get attention.

- **Video against paid spend.** Compare weekly YouTube views with paid spend to find patterns worth investigating. A rise in both does not establish that the ads caused the extra views; use Google Ads or another advertising connector for paid campaign performance.

Align cross-source results at a shared reporting level, such as week, and use the same time boundaries. Matching dates enables comparison, not attribution. Video titles or campaign names require a deliberate mapping. For demographic or geographic period comparisons, run each period separately rather than assuming that every report supports a date breakdown.

## What YouTube data can Claude query?

Each query uses one of eight report types, with a compatible set of metrics and dimensions. Specify the reporting period. Single video performance also takes a video_id setting: use the value after v= in a watch URL, or the video identifier in a Shorts URL.

| **Report type** | **What it covers** | **Example field IDs** |
| --- | --- | --- |
| Videos performance (LatestVideos) | Up to 1,000 most recently published videos with metadata and totals | video_title, video_url, video_published_date, views, likes, comments |
| Single video performance (VideoTotals) | One video by ID, including the retention curve | audienceWatchRatio, relativeRetentionPerformance, elapsedVideoTimeRatio, video_tags |
| Channel overview (ChannelTotals) | Channel-level totals and lifetime snapshots | subscribersGained, subscribersLost, channel_subscribers, channel_videos |
| Geographies (Geo) | Viewing by country; US state requires a Country = US filter | country, province, views, estimatedMinutesWatched |
| Demographic | Viewer share by age group and gender | ageGroup, gender, viewerPercentage |
| Device | Viewing by device, operating system and YouTube product | deviceType, operatingSystem, youtubeProduct, views |
| Traffic sources (TrafficSources) | Where viewers came from | insightTrafficSourceType, views, estimatedMinutesWatched |
| Ad performance (AdPerformance) | Gross ad revenue, impressions and CPM by ad type | grossRevenue, adImpressions, cpm, adType |

Use the [YouTube field reference](https://docs.supermetrics.com/docs/youtube-fields) for current metrics and dimensions. This connector provides analytics and video metadata, not transcripts, captions, search rankings or keyword volumes.

### Field glossary

| **Field ID** | **Plain-English meaning** | **Type** | **Watch out** |
| --- | --- | --- | --- |
| views | Video views | Metric | Check the field and reporting period: public view counting changed; do not equate views with engaged views |
| estimatedMinutesWatched | Estimated minutes that users watched | Metric | Watch time in minutes; divide by 60 for hours |
| averageViewPercentage | Average percentage of a video that viewers watched | Metric | Request the required grouping; do not simply average row percentages |
| avgTimeViewed_hms | Average view duration in h:m:s | Metric | Arrives pre-calculated. averageViewDuration_seconds and avgTimeViewed_minutes report the same average in other units |
| subscribersGained | Subscribers gained | Metric | Available in Channel overview and Videos performance |
| channel_subscribers | All-time subscriber count | Metric | A lifetime snapshot rounded down to three significant figures. Can't be split by date |
| audienceWatchRatio | Ratio of viewers watching at a given point in the video | Metric | Needs Single video performance, video_id and elapsedVideoTimeRatio. Can't be combined with other metrics |
| relativeRetentionPerformance | Relative retention score against videos of similar length | Metric | A comparative score, not the percentage still watching. Same query restrictions as audienceWatchRatio |
| viewerPercentage | Share of logged-in viewers in a demographic group | Metric | Demographic report; excludes viewers who were not logged in |
| estimatedRevenue | Estimated net revenue | Metric | Needs monetization (see Before you start) |
| grossRevenue | Estimated gross revenue in USD | Metric | Estimated gross ad revenue, distinct from net earnings. GBP and EUR fields also exist |
| insightTrafficSourceType | The traffic source type | Dimension | Traffic sources only |

The Channel overview report has its own date variants, such as yearWeekIso_channel_totals.

## What is the YouTube MCP connector for Claude?
The YouTube MCP connector for Claude is the Supermetrics connector that lets Claude read your YouTube data through the Model Context Protocol (MCP).

The Model Context Protocol (MCP) is an open standard that lets an AI application call outside tools and read outside data ([modelcontextprotocol.io](https://modelcontextprotocol.io)). The Supermetrics connector is one of those tools. When you ask how a video performed, Claude decides which YouTube fields and report type apply, Supermetrics runs the query, and the rows land in the chat.

The connector is read-only for YouTube. Claude can read the analytics Supermetrics exposes for your channel, but it can't upload, edit or schedule videos, or change anything in your account.

Use [AI chats](https://docs.supermetrics.com/docs/ai-chats) to ask questions in Claude. For custom agents, n8n workflows or other MCP clients, use the standalone [Supermetrics MCP server](https://docs.supermetrics.com/docs/supermetrics-mcp-server).

## Which way should you connect YouTube to Claude?

| **Approach** | **Setup effort** | **Data scope** | **Blending with other sources** | **Maintenance** | **Suits** |
| --- | --- | --- | --- | --- | --- |
| Supermetrics connector for Claude | Low: add the connector, sign in with Google once | YouTube channels plus other sources in your Supermetrics account | Yes, in the same chat | Supermetrics holds the connection. You reconnect if access is removed | Creators, video marketers and agencies who want answers in chat |
| [Supermetrics MCP server](https://docs.supermetrics.com/docs/supermetrics-mcp-server) (custom client) | Medium: you set up your own MCP host | Same sources as above | Yes, if your agent combines results | You maintain the client | Engineers building agents or workflows |
| YouTube Studio | Use existing channel access | YouTube only | No, unless you add other tools | YouTube maintains the interface | Work that stays inside YouTube |
| CSV export and upload | Low, but repeated every time | One file at a time | Claude can compare files; define how rows match | Export again for each refresh | One-off questions |
| Direct API and custom code | High: you build OAuth, requests and a script | Whatever you code | Whatever you code | You own it | Teams with a developer who want full control |

Choose the Supermetrics connector for Claude if you want retention, traffic and revenue answers in chat, or you want YouTube next to other channels.

Choose the [Supermetrics MCP server](https://docs.supermetrics.com/docs/supermetrics-mcp-server) if you run your own agent or host and need to control the client.

Choose YouTube Studio for channel management, including uploading and editing videos.

Choose CSV or the API if you need one snapshot (CSV) or a pipeline of your own (API).

## When is this not the right tool?

- You need transcripts or comment text. The connector returns no transcripts or captions, and comments arrive as a count.

- You want other people's channels. This connector reads the channel you authorize. Supermetrics documents a separate YouTube Public Data source, so check its [connection guide](https://docs.supermetrics.com/docs/youtube-public-data-connection-guide) for public channel and video details.

- You want a stored history you can query later. Keep a long-term copy with [YouTube to BigQuery](/connect/youtube-to-bigquery).

- You need a standing channel report. Use [YouTube in Looker Studio](/connect/youtube-to-looker-studio) for a dashboard people open weekly.

- You work in spreadsheets. Use [YouTube in Google Sheets](/connect/youtube-to-google-sheets) for refreshable tabs.

## How do you check Claude’s YouTube numbers?

Most surprises come from the date range, the report type or how a field is calculated. Ask Claude to show the query, report type and fields it used.

Then compare one total with YouTube Studio using the same channel, metric and dates. YouTube Analytics data typically takes [48–72 hours](https://developers.google.com/youtube/analytics/data_model) to process, and the API may stop at the last fully processed day. Supermetrics may also use temporary connector storage. YouTube expanded public start-of-play view counting to all formats in [August 2026](https://blog.youtube/inside-youtube/engaged-views-youtube-explained/); engaged views retain the earlier counting approach. Check the selected field and reporting period before comparing API results with public counters or historical data.

| **Situation** | **What happens** | **What to do** |
| --- | --- | --- |
| Date range | Every YouTube report requires one | Name the period and channel in the prompt, and ask Claude to show the query |
| Video outside the latest 1,000 | Videos performance covers up to the 1,000 most recent videos | Use Single video performance with the video ID |
| Audience or country period comparisons | Use a compatible report and dimensions; date breakdowns vary by report | Request separate date ranges if the chosen report cannot be split by date |
| Subscriber total looks rounded | channel_subscribers is a lifetime snapshot rounded down to three significant figures. channel_views, channel_subscribers and channel_videos can't be split by date | Use subscribers gained and lost for trends |
| Percentages look off | Averages and percentages, such as averageViewPercentage, arrive pre-calculated | Don't average percentage rows yourself. Ask Claude to re-run the query at the grouping you want |
| Revenue in the wrong currency | grossRevenue is in USD, with grossRevenue_gbp and grossRevenue_eur versions | State the currency in the prompt and check which field was used |
| Revenue fields are empty | Monetization data needs Content Manager ownership or a monetized channel | Check the monetization requirement in Before you start |

## Troubleshooting

| **Symptom** | **Likely cause** | **Fix** |
| --- | --- | --- |
| LICENSE_NOT_FOUND | No active subscription is found for the connection; an incorrect email address or team can cause this | Find the email and team behind the paid subscription. In Claude Connectors, disconnect Supermetrics, reconnect, and choose that team |
| Claude pulls from the wrong team, or skips Supermetrics | Another team was picked at first login, or other data tools are connected | Reconnect Supermetrics in Claude Connectors with the right team, and say "use Supermetrics" in the prompt |
| "No accounts found" | The Google login can't see a YouTube channel | Follow the docs article "How to fix No accounts found errors", then sign in with the Google account that owns or manages the channel |
| YouTube isn't authorized | The Hub has no YouTube connection, or it needs renewing | Ask Claude for the YouTube login link, or reconnect in the Hub |
| The channel isn't in the list | The Google account isn't the channel's Owner, or a brand channel's Manager | Invite a Google account as Manager (see Before you start) |
| The connection misbehaves after login | Not every access scope was selected | Reconnect and tick all scopes |
| Other Google sources broke | Supermetrics access was removed in Google account settings, which disconnects more than YouTube | Reconnect each affected source |
| Retention query returns an error or nothing | audienceWatchRatio needs Single video performance, a video_id and elapsedVideoTimeRatio, and can't share a query with other metrics | Set video_id explicitly and request audienceWatchRatio alone with elapsedVideoTimeRatio |
| Still stuck | Something else | Contact support through the [Supermetrics Hub](https://hub.supermetrics.com) |

## Is it safe? Security and data handling

- What is read. Supermetrics retrieves the requested YouTube reporting fields and returns the results to Claude. Use aggregate data and exclude personal data from prompts and query results in line with the [Supermetrics AI Terms](/ai-terms).

- What can change. This YouTube connection retrieves reporting data. It does not upload, edit, delete or schedule videos. Creating a report in Supermetrics Studio is a separate reporting workflow.

- Access you grant. You approve Google's scopes at login. Removing Supermetrics from your Google account settings affects other Google sources too (see Troubleshooting).

- Who can use the connection. [AI chats](https://docs.supermetrics.com/docs/ai-chats) connections are shared by default. Team members assigned to a subscription can use shared data-source logins. Review team and subscription access before connecting a client’s channel. Anyone who can open a Claude chat can see its returned results.

- Where data goes. Supermetrics may use temporary connector storage; retention varies by source and functionality. Anthropic’s separate policies govern Claude conversation content and depend on your plan and settings.

- Policies and certifications. See the [Supermetrics Trust Center](https://trust.supermetrics.com).

## Related connectors

- [Send YouTube data to BigQuery](/connect/youtube-to-bigquery): keep channel history in a warehouse

- [Report on YouTube in Looker Studio](/connect/youtube-to-looker-studio): a channel dashboard to share

- [Analyze YouTube in Google Sheets](/connect/youtube-to-google-sheets): spreadsheet views of video stats

- [Connect Sprout Social to Claude](/connect/sprout-social-to-claude): add social publishing data to the chat

- [Connect Google Business Profile to Claude](/connect/google-my-business-to-claude): add local listing performance

- [Supermetrics for Claude](/products/claude): explore available marketing data sources

## FAQ

### How does the YouTube connector use MCP?

MCP lets Claude call Supermetrics tools to retrieve YouTube reporting data. Add the ready-made connector for [AI chats](https://docs.supermetrics.com/docs/ai-chats). The standalone [Supermetrics MCP server](https://docs.supermetrics.com/docs/supermetrics-mcp-server) serves custom agents and integrations with API access.

### Does it work in Claude Desktop, claude.ai and Claude Code?

Yes. Remote connectors work on claude.ai, in Claude Desktop and in Claude Code. Use the standalone [Supermetrics MCP server](https://docs.supermetrics.com/docs/supermetrics-mcp-server) when configuring a separate custom integration or another MCP host.

### Can Claude change my YouTube channel?

No. This Supermetrics connection retrieves YouTube analytics and metadata. It cannot upload, edit, delete or schedule videos. Creating a Supermetrics Studio report does not change the channel.

### How fresh is the YouTube data?

YouTube Analytics can take [48–72 hours](https://developers.google.com/youtube/analytics/data_model) to process data, and the API may end at the last fully processed day. Supermetrics may use temporary connector storage. Check the dates returned and compare the same metric and period with YouTube Studio.

### Does it cost extra?

Starting is free with a trial. After that, you need a Supermetrics plan with an [AI chats](https://docs.supermetrics.com/docs/ai-chats) destination. If your plan doesn't have one, upgrade or swap a destination. See [pricing](/pricing).

### Is my data used to train models?

Supermetrics’ [AI Terms](/ai-terms) restrict using customer data to train general-purpose models, subject to a limited exception for de-identified, aggregated usage data. Anthropic’s separate policies apply to content sent to Claude and depend on your plan and settings. Review both before connecting client data.

### How is it different from exporting YouTube to Sheets or BigQuery?

Exports keep a copy you query later, while the connector lets you ask a question in chat and see the rows come back. Pick [Sheets](/connect/youtube-to-google-sheets) or [BigQuery](/connect/youtube-to-bigquery) if you need a stored, refreshable copy.

## Connect YouTube to Claude

Add the Supermetrics connector, sign in with the Google account that owns or manages your channel, and ask your first question.

[Connect YouTube to Claude for free](https://claude.ai/directory/connectors/supermetrics)
