youtube-analytics-mcp
Query owned YouTube channels through local OAuth, retrieve full API data, and export large outputs to files.
- Runs locally
- Open source
Copy the install command and let the AI configure it · recommended for beginners
No copy-paste install info for "youtube-analytics-mcp" yet — see the docs or source repo.
// examples
Use youtube-analytics-mcp for my owned channel A (channelId: UCxxxx) to query the last 30 days of views, watch time, and engagement using Analytics and Reporting APIs, then export the result to a CSV file.
Returns a complete report file path with the three key metrics, ready for campaign review.
Use youtube-analytics-mcp to query channels A and B I own for video views and subscriber changes over the last 12 weeks with unrestricted parameters, and export the results as a JSON file.
Generates full time-series files for both channels so growth differences can be analyzed.
Use youtube-analytics-mcp to query channel A traffic data by country and device dimensions with custom parameters, and write the large result set to a file.
Outputs a raw data file grouped by country and device dimensions for regional and device-level analysis.
// use cases
Marketers can evaluate campaign impact by pulling full analytics data from multiple owned channels, then quickly comparing performance differences across channels.
Data analysts can pull large historical datasets with custom parameters and export files for secondary processing in BI or analytical models.
Researchers or product teams can use local OAuth to verify metric coverage across owned channels through Analytics, Data v3, and Reporting APIs.
// docs
// FAQ
Which YouTube APIs can this MCP tool query?
It supports querying the full interfaces of YouTube Analytics, Data v3, and Reporting APIs for one or more channels you own.
What authentication method does it use?
The tool uses local OAuth for authentication, so authorization is handled locally before querying data.
Can it export large query results?
Yes, it supports outputting large result sets to files, which is suitable for offline downloads and batch processing.