July Cintra
July Cintra
November 30, 2026
YouTube connected to Claude through the Dataslayer MCP connector

How to connect YouTube to Claude (No Google Cloud Setup Needed)

Try Dataslayer
  • 15-day free trial
  • No credit card
~ min read
Table of Contents
✓0 sections read
···0 more above
···5 more below
Share
↑Top

Quick answer

You can connect YouTube to Claude through the Dataslayer MCP connector without creating a Google Cloud project, enabling YouTube APIs, or hosting your own MCP server. Setup takes about a minute.

Once connected, you can retrieve watch time, audience retention, traffic sources, and subscriber activity directly in Claude using your YouTube Analytics data. No CSV exports or spreadsheets needed.

TL;DR

1 Log in to Dataslayer, select YouTube, and add your account.
2 Add the Dataslayer MCP connector in Claude, either from the Connectors Directory or under Customize, Connectors, Discover.
3 Ask Claude something like: “Compare Views and Average View Duration for my last 5 uploads.”

Comparing YouTube videos in Studio means switching between Analytics reports and manually lining up the numbers. Dataslayer connects your YouTube channel to Claude, so you can analyze performance across videos without combining reports yourself.

The same MCP connection also gives Claude access to Instagram Insights, TikTok, GA4, and 75+ other platforms supported by Dataslayer. You can compare YouTube performance with social media engagement, website traffic, and paid campaign results in one Claude conversation.

Learn how to connect YouTube to Claude in three steps, which analytics fields you can retrieve, and how to use prompts to analyze your channel performance.

See your YouTube channel through Claude

Pull YouTube Analytics alongside 75+ other platforms, all from inside Claude. Start your 15-day free trial, no credit card required.

Try It Free

How to set up Dataslayer’s YouTube connector for Claude in 3 steps

What you’ll need

Make sure you have the following ready:

  • A Dataslayer account. Start a free trial if you don’t already have one.
  • A YouTube channel you own or manage, with at least view access to the channel's analytics in YouTube Studio.
  • A Claude account with access to Connectors.

YouTube to Claude integration process

Step 1: Connect your YouTube channel in Dataslayer

  1. Log in to Dataslayer, select YouTube, and add your channel.
  2. Sign in with the Google account that has access to your YouTube channel, and authorize the requested permissions.
YouTube channel connected in Dataslayer, the first step to connect YouTube to Claude

Step 2: Add the Dataslayer MCP connector in Claude

  1. Open the Dataslayer MCP listing in Claude’s Connectors Directory and click Connect.
  2. Sign in to your Dataslayer account and authorize the connection.

Alternatively, open Customize, select Connectors, go to Discover, search for Dataslayer, and click Connect.

You can now access the YouTube channel and other data sources linked to your Dataslayer account.

Dataslayer MCP connector added in Claude's Connectors Directory

Step 3: Ask Claude about your YouTube channel

Start a new Claude conversation and enter a prompt like:

Prompt:

“Using Dataslayer MCP, compare Views and Average View Duration for my last 5 uploads.”

Claude retrieves the requested metrics through Dataslayer MCP and presents the results in your conversation.

Claude comparing YouTube views and average view duration retrieved through Dataslayer MCP

What Claude can see in your YouTube account

Once connected, you can ask Claude about views, watch time, audience retention, engagement, and traffic sources using the YouTube Analytics fields supported by Dataslayer’s connector.

The table below breaks down the fields that matter most for analyzing YouTube video performance in Claude. See Dataslayer's YouTube fields documentation for the rest.

Field What it means Analysis it unlocks
Views / Estimated Minutes Watched How often a video has been played, plus the total minutes people spent watching it Setting a reach and watch-time baseline you can track across videos or time windows
Average View Duration / Average View Percentage The average length people stick around, shown as a time and as a percentage of the video’s runtime Comparing attention across videos that run very different lengths
Elapsed Video Time Ratio / Audience Watch Ratio A point along a video’s runtime paired with the share of viewers still watching at that point Finding the spot where a video starts losing its audience
Subscribers Gained / Subscribers Lost The subscribers a video or period picked up versus the ones it lost Linking a specific upload to subscriber growth or drop-off
Likes / Dislikes The thumbs-up and thumbs-down counts a video collects Picking up sentiment signals a raw view count can’t show
Comments / Shares How much discussion a video draws and how often people pass it along Gauging engagement beyond the view count itself
Traffic Source Type / Traffic Source Detail The broad category a viewer arrived through, plus the exact source within that category Working out which discovery routes genuinely bring viewers in
Country / Device Type A viewer’s country and the device they used to watch Shaping content and formatting around where and how people watch
Age / Gender The age range and gender mix of a video’s audience Confirming a video is reaching the audience it was aimed at
Video Name / Video Publish Date A video’s exact title, tied to the date it originally published Tracking down one specific video inside a bigger report
Video Content Type / Video Length The format a video is tagged under, plus its total runtime Keeping Shorts from skewing the averages when stacked against long-form uploads
Card Clicks / Card Impressions How often the clickable cards that pop up during a video appear and get clicked Checking whether those cards are pulling viewers into more content

Not every metric in YouTube Studio is available through Dataslayer. Estimated revenue and thumbnail click-through rate, for example, aren't included in the connector, though CPM is. Age, gender, and country breakdowns are available, though, giving you a solid base for analyzing YouTube audience demographics in Claude. The structural limits section further down covers what's excluded and why.

Understanding YouTube reporting issues in Claude

  1. YouTube changed how it counts views, not just for Shorts anymore. Since March 31, 2025, Shorts views have counted whenever playback starts or loops, with no minimum watch time. On August 24, 2026, YouTube extended this method to all video formats, while tracking the previous Shorts-only metric separately as Engaged views. Dataslayer's YouTube connector doesn't expose Engaged views as a separate field, so figures retrieved through Claude reflect the current Public views metric.
  2. Browse features and Suggested videos represent two different discovery sources. Browse features cover views from YouTube's Home and Subscriptions feeds, where viewers are browsing for something to watch. Suggested videos come from recommendations shown next to or after a video someone's already watching. Lumping the two together blurs whether a view started from someone browsing YouTube or from a recommendation next to something else they were watching.
  3. Missing demographic data doesn't necessarily mean the connection failed. YouTube holds back age and gender breakdowns once a video's audience sample drops below a threshold it doesn't publish, and it leaves private or unlisted videos out of these reports entirely, no matter how many views they get. When Claude returns no demographic data, check the video's visibility and audience size before troubleshooting the connection.
  4. Average View Duration and Average View Percentage measure retention from different angles. Duration tracks the raw time spent watching, while Percentage converts that into a share of the video's own runtime. Once the videos you're lining up don't run the same length, Percentage gives the fairer picture of retention. Include both metrics in your Claude prompts when analyzing YouTube retention, for a more meaningful comparison.
  5. The most recent days in your dashboard haven't settled yet. YouTube typically takes a day or two to fully process views, watch time, and engagement; weekly aggregate reports can take up to a week to settle. Hold off on judging performance from the latest few days until the numbers catch up.

These differences affect how you read YouTube Analytics data in Claude. Keep them in mind when comparing videos, evaluating audience retention, or drawing conclusions from changes in views and engagement.

Prompt ideas for YouTube analysis in Claude

Use these YouTube prompts for Claude to compare video performance, understand traffic sources, and identify patterns in audience behavior.

Replace the example video names and date ranges with your own before running each prompt.

1. Rank your uploads by watch-time efficiency

Prompt:

“Using the Dataslayer MCP connector, show Views and Average View Duration for every video published in the last 60 days. Rank the videos by Average View Duration, from highest to lowest, and flag the three uploads with the longest viewing times. Identify one trait they share that is worth repeating in the next upload.”

What you get: A ranking of videos that hold viewers’ attention longest, with patterns from the top three to inform your next upload. Use it as a quick Claude YouTube channel audit to assess recent performance.

2. Pinpoint the drop-off point in an underperforming video

Prompt:

“For [video name], chart the Elapsed Video Time Ratio against Audience Watch Ratio across its full runtime. Identify the timestamp where the steepest retention drop occurs, explain what that drop suggests about viewer behavior, and recommend one specific change to the editing, pacing, or content at that point to help retain viewers in future uploads.”

What you get: The exact timestamp where retention drops sharply against Elapsed Video Time Ratio and Audience Watch Ratio, an explanation of what may be causing viewers to leave, and a specific editing or content change to help prevent the same drop-off in future videos.

3. Track subscriber momentum over the last two months

Prompt:

“Track Subscribers Gained against Subscribers Lost for each of the last 8 weeks. Flag any week where losses outpaced gains and compare those periods with Video Publish Date to identify uploads published shortly before subscriber declines. Highlight any timing patterns worth investigating, without assuming the uploads caused the losses.”

What you get: An eight-week view of subscriber gains and losses, with upload dates to help identify timing patterns worth investigating when subscriber numbers decline.

4. Find your highest-value traffic source

Prompt:

“Break down Traffic Source Type and Traffic Source Detail for the last 45 days, and compare each source’s share of Views against its share of Estimated Minutes Watched. Call out any source that over-delivers on watch time relative to its view count, and recommend one way to lean into it further.”

What you get: A breakdown of traffic sources based on the watch time they generate, helping you identify which sources bring viewers who spend the most time watching your videos, not just those who generate the most views.

5. Profile your audience by who’s watching and how

Prompt:

“Using Dataslayer MCP, analyze my YouTube audience over the last 90 days. Retrieve Age and Gender breakdowns using Viewer Percentage, Country breakdowns using Estimated Minutes Watched, and Device Type breakdowns using Estimated Minutes Watched. Identify the two largest age and gender audience segments, the countries contributing the most watch time, and the devices generating the most watch time. Recommend content adjustments based on these audience patterns.”

What you get: A breakdown of your audience by age, gender, country, and device, showing which demographic segments make up the largest share of viewers, where the most watch time comes from, and which devices viewers use, along with content recommendations based on these patterns.

6. Weigh Shorts against long-form by completion, not raw views

Prompt:

“Compare Views, Average View Percentage, and Subscribers Gained between Shorts and long-form videos published in the last 30 days. Identify which format holds viewers through a larger share of runtime, then recommend one adjustment to next month’s upload mix based on that gap.”

What you get: A comparison of Shorts and long-form performance based on the share of each video watched and the subscribers gained, helping you assess which format contributes more to channel growth.

Beyond YouTube: cross-channel analysis with Instagram, TikTok, and GA4

Comparing the performance of the same video across YouTube, Instagram, and TikTok means switching between separate analytics dashboards. Views alone won't show which platform holds viewers' attention, brings in new followers, or drives website traffic.

Dataslayer connects these platforms to Claude through one MCP connection. You can compare video performance across social channels and check whether YouTube activity coincides with changes in website traffic recorded in GA4.

A few cross-channel analyses are worth running:

  • Short-form reach across platforms: Compare views and viewer retention for YouTube Shorts, Instagram Reels, and TikTok videos.
  • Audience growth by platform: Track subscriber and follower growth against publishing frequency.
  • Referral traffic to your website: Compare YouTube watch time with website sessions coming from YouTube.
  • Format performance parity: Compare how Shorts and long-form videos perform across platforms to identify which formats contribute more to reach and audience growth.

Use these comparisons to identify patterns, not to match exact totals. Each platform defines views, followers, and engagement differently, so the metrics aren't directly interchangeable.

You can run these cross-channel analyses with prompts such as:

1. Compare short-form reach across platforms

Prompt:

“Using the Dataslayer MCP connector, pull Views and Average View Percentage for YouTube videos with Video Content Type set to Shorts and published in the last 21 days. For the same period, retrieve Reel views and average watch time from Instagram, plus Video Views and average time watched from TikTok. Compare the results to identify differences in reach and viewer retention across the three platforms. Where the available metrics allow, identify which platform keeps viewers watching for longer relative to video length, and recommend one pacing or length adjustment for the platform with weaker retention.”

What you get: A comparison of short-form performance across YouTube Shorts, Instagram Reels, and TikTok, highlighting differences in viewer retention and where changes to pacing or video length may help.

2. Track audience growth across platforms

Prompt:

“Pull audience growth data for YouTube, Instagram, and TikTok over the last 10 weeks through the Dataslayer MCP connector. Retrieve Subscribers Gained from YouTube, New Followers from Instagram, and Followers from TikTok, breaking down the results by week. Then identify which platform is growing fastest relative to its posting frequency and recommend where to focus upload effort based on audience growth per upload.”

What you get: A comparison of audience growth relative to publishing frequency, helping you identify which platform is generating more followers from each upload.

3. Check whether YouTube is driving traffic to your site

Prompt:

“Analyze YouTube watch time against website traffic from YouTube referrals over the last 6 weeks. Pull Sessions, Engagement Rate, and Average Session Duration from GA4 for sessions where Session source is youtube, and Estimated Minutes Watched from YouTube. Break down both datasets by week to see whether increases in watch time coincide with increases in referral sessions. Flag weeks where watch time increased but referral sessions did not, and recommend whether your video descriptions and pinned comments are doing enough to convert viewers into site visitors.”

What you get: A weekly comparison of YouTube watch time and referral sessions, helping you identify whether increased viewing activity coincides with more website visits.

Why use Dataslayer for YouTube analysis in Claude

Dataslayer MCP YouTube access covers more than your channel. The same MCP connection also reaches Instagram, TikTok, GA4, Google Ads, and 75+ other platforms Dataslayer supports. You can use that data to weigh video performance against ad spend, website traffic, and social growth without switching dashboards to line up the numbers.

A few benefits come with that connection:

  • Manage multiple channels in one place: Agencies and multi-channel creators can connect several YouTube accounts through Dataslayer, share access with their team, and analyze performance across channels. Available channel and user limits depend on your plan.
  • Send the same data to other tools: Your YouTube metrics aren't limited to Claude. You can also send them to Google Sheets, Data Studio, Power BI, and BigQuery, depending on your plan, so your existing reports keep working without a rebuild.
  • Use built-in AI to analyze your data: Dataslayer's AI Agent, included in every paid plan, can analyze YouTube data directly in the platform, and AI Alerts flags sudden spikes or drops in views and subscribers. You can also schedule dashboard delivery.
  • Get help from a person, not a queue: Dataslayer offers 24/5 live chat support on every plan, with a dedicated account manager for Pro and Business customers.

Setting up this YouTube data integration into Claude once means you can access your channel data without repeating the authorization process or exporting reports manually.

There are two ways to use Dataslayer MCP: as your destination, with unlimited queries, or included with any other destination on every plan, with up to 500 queries per day.

You can start with a 15-day free trial without a credit card. See Dataslayer's pricing plans for details.

Alternative ways to connect YouTube to Claude

Dataslayer isn't the only way to bring YouTube data into Claude. Other options include third-party connectors, manual exports, and custom API integrations.

The right choice depends on how often you need YouTube data, whether you want to access other platforms like Instagram, TikTok, and GA4 in the same Claude conversation, and how much setup and maintenance you're willing to handle.

  • Export a CSV from YouTube Studio. For a one-off report, download the metrics you need from YouTube Studio's Analytics tab and upload the file to Claude. No connector or API key is needed, but you'll have to repeat the process whenever the data changes. Comparing YouTube with another platform also means merging the exported files yourself.
  • Add a connector built for YouTube. Porter Metrics and Supermetrics both let you connect YouTube to Claude automatically, with access to other marketing and analytics platforms too. Their setup, pricing, and account limits differ, as shown in the table below.
  • Build your own connection to the YouTube APIs. The YouTube Data API vs MCP distinction matters here: the Data API provides video and channel details, while the Analytics API provides performance metrics. Each requires its own OAuth scope and quota, and your team is responsible for hosting, authorization, and ongoing maintenance through a custom MCP connector.

Here's how the five options compare on setup, platform coverage, and cost.

Dataslayer Porter Metrics Supermetrics Manual CSV DIY with APIs
Setup Native Claude connector via the Connectors Directory, sign in with Dataslayer Claude plugin or custom connector with Porter’s server URL, sign in with Google Native Claude connector via the Connectors Directory, sign in with Supermetrics None Developer app + OAuth, separate scope and quota per API
Query YouTube alongside other platforms Yes, 75+ platforms Yes, 30+ platforms Yes, 170+ data sources Manual merge Needs a build per source
Data history Queried live, no fixed window 30 days on the free plan (15 days in AI chats); longer on paid plans As much history as each data source allows; refresh frequency depends on plan Whatever you export Whatever you build, bounded by each API’s own limits
Same data in Sheets, Data Studio, BI tools Yes, on every plan Yes Yes, on higher tiers Manual If you build it
Ongoing maintenance None None None Every export Hosting, OAuth, and API version upgrades
Pricing Unlimited queries with MCP as your destination.

Also included with any other destination on every plan, with 500 queries/day. From $35/month.
Free plan (unlimited connected accounts); paid from $12.50/account/month billed annually ($15/account/month billed monthly) From $44/month billed annually Free Developer time

For a one-off report, a CSV export may be enough. For recurring analysis across YouTube and other platforms, Dataslayer, Porter Metrics, and Supermetrics offer more practical options. Building your own API connection makes sense if your team has the engineering resources to manage its hosting, authorization, and maintenance.

Tips for reliable YouTube reporting in Claude

Knowing how to connect YouTube Analytics to Claude is one thing. Getting consistent, accurate results from your reports is another. These habits help avoid common reporting errors.

  1. Spell out exact dates, not relative ones. Requests for the last 30 days can produce different date ranges depending on when you run them. Give the Claude YouTube connector a specific start and end date so you can keep the reporting period consistent across sessions.
  2. Name the exact metric field. YouTube Analytics has similarly named metrics, such as Average View Duration and Average View Percentage, that measure different things. Confirm which field Claude uses before you send YouTube data to Claude for reporting. This helps prevent metrics from being mislabeled or mixed up.
  3. Let Dataslayer do the adding up. When reporting across dozens of videos, request totals and averages directly from Dataslayer instead of asking Claude to add up a long table manually. This reduces the risk of calculation errors during aggregation.

Structural limits of the YouTube connection in Claude

Claude's view into your YouTube channel through the YouTube MCP server for Claude has a few hard edges worth knowing before you build a report around it.

  1. Estimated revenue stays out of reach, but CPM doesn't. Dataslayer's YouTube connector doesn't request the scope that unlocks ad earnings, so estimated revenue figures aren't something Claude can pull here. CPM is available through the connector, allowing Claude to include this metric in your YouTube performance analysis. YouTube Studio's own Analytics tab still covers estimated revenue and ad earnings directly.
  2. Comments arrive as a count, not as text. Claude can tell you how many comments a video received, but it can't read, summarize, or judge sentiment on them, since the connector doesn't retrieve comment content itself.
  3. Some breakdowns return a capped slice. Granular reports like detailed traffic sources return a fixed number of top rows, not the full list. This limit comes from YouTube's Analytics API, not Dataslayer. A value you expect may simply fall beyond that cutoff.
  4. Claude can't make changes to your channel through this connection. The YouTube connection is built for analysis: it reports on what already happened, but it can't upload videos, edit titles or thumbnails, reply to comments, or touch monetization settings. Dataslayer MCP already supports campaign management for ad platforms such as Meta Ads, Google Ads, and Klaviyo, and more connectors are being added.

Access and data handling

  • Permissions. Dataslayer can only reach YouTube channels your authorized Google account manages, and the YouTube connection is built for analysis, not for making changes to your channel.
  • Authentication. The connection runs on OAuth 2.1, so your Google credentials are never handed to Claude directly, and you can revoke access anytime by removing the connector.
  • Data handling. To send YouTube data to Claude, Dataslayer uses an encrypted connection; once there, Claude's own privacy and retention policies govern what happens to that conversation data.

Troubleshooting your YouTube connection in Claude

Issues with a YouTube Analytics Claude integration usually involve account permissions, an expired connector session, or a query exceeding Dataslayer's data limits. The table below covers common symptoms, their likely causes, and how to fix them.

Symptom Likely cause Fix
No YouTube channels show up in Claude The connector is tied to a different Dataslayer account than the one the channel was added under, or the YouTube channel isn’t connected to the correct Dataslayer account. Log in to Dataslayer and confirm that the YouTube channel is connected to the same account authorized in Claude.
A Brand Account channel won’t connect Owner or Manager access on the Brand Account itself can authorize the connection; YouTube Studio permissions (Manager, Editor, Viewer) alone can’t. Sign in with the Google account that’s an Owner or Manager on the Brand Account directly, not one only invited through Studio permissions.
Claude returns no results for a date range that should have data The window falls inside YouTube’s processing delay, or the field requested doesn’t apply to that video’s content type. Move the end date back a few days and confirm the field matches the video format before asking again.
Claude says it can’t find the Dataslayer connection The authorization behind the connector has lapsed, or its session in Claude has gone stale. Remove the Dataslayer connector from Claude, reconnect it, and sign in again to refresh the authorization.
Numbers don’t match YouTube Studio The two are comparing different date ranges or time zones, or Studio is still showing the last day or two of still-processing data. Match the date range and time zone on both sides, and leave out the most recent day or two before comparing.

If these steps don't resolve the issue, check that your connection is still active in Dataslayer. Then remove the connector from Claude and reconnect it to clear any lingering issues.

Put your YouTube Analytics to work with Dataslayer MCP for Claude

Compare videos, spot where viewers drop off, and pull up whichever number you need next, all inside the same Claude conversation. Add TikTok, Instagram, GA4, Google Ads, and 75+ other platforms through the same connection.

Start Your 15-Day Free Trial →

FAQs

Is this a built-in Claude feature, or do I need to set something up first?

Dataslayer's YouTube connection is available directly in Claude's Connectors Directory, or under Customize, Connectors, Discover. Add it there and sign in to your Dataslayer account to authorize the connection. After that one setup step, it behaves the same way a native integration would.

I manage a YouTube channel under a Brand Account. Will that connect the same way?

Only if your Google account is an Owner or Manager of the Brand Account itself. YouTube Studio permissions (Manager, Editor, Viewer) don't carry API access, so a Studio-only invite won't be enough.

Does Claude remember my YouTube connection between separate conversations?

The connector is tied to your account once you authorize it, not to a single chat, so it stays available the next time you open Claude without asking you to reconnect.

What happens if I ask about something the connector can't retrieve, like ad revenue?

Claude will tell you it can't pull that figure instead of guessing at one. Ad revenue and estimated earnings sit behind a YouTube scope the connector doesn't request, so those numbers still come from YouTube Studio directly. CPM is available through the connector, so Claude can include it in your analysis. However, Dataslayer can help you analyze revenue tracked separately in connected platforms like Stripe or your CRM, compared against YouTube performance data, as long as you can attribute that revenue to specific videos or campaigns.

Is there a cost beyond my Claude plan to use this?

Dataslayer plans start at $35/month, with a 15-day free trial that doesn't require a card. There are two ways to use Dataslayer MCP: as your destination, with unlimited queries, or included with any other destination on every plan, with up to 500 queries a day.

Can Claude help me track how Shorts are performing separately from my regular uploads?

Filtering by video format keeps Shorts and long-form metrics as two separate sets instead of blending them into one average.

How current is the data Claude pulls, compared to YouTube Studio?

Both draw from the same underlying YouTube Analytics data, so the numbers match once processing finishes. The only gap shows up in the most recent day or two, while YouTube is still finalizing that window, regardless of which view you're looking at.

Will connecting YouTube give Claude access to anything beyond channel analytics?

No. The YouTube connection is built for analysis and scoped to the channels your Google account manages. It can't reach private viewer information, upload or edit content, or touch account settings.

Can I use this same YouTube connection on Claude's mobile app or in Claude Code, not just the browser?

Custom connectors are tied to your account, not to one app, so the same YouTube connection carries over to Claude on mobile, desktop, and other Claude surfaces once it's set up.

1 / 1Table of contents
Keep reading

Related posts