Connect YouTube to Cursor
Connect your YouTube data to Cursor with the Windsor.ai connector, so the dashboards and scripts Cursor builds use your real video, watch time, traffic source and subscriber data.
Ask Cursor for a watch time canvas, a traffic source report or a subscriber script built on your own Estimated Minutes Watched, Average View Percentage, Traffic Source and Subscribers Gained fields.
Forget CSVs. Stop copy/paste. Connect in minutes. No code required.
Build channel reports on live YouTube data in your Cursor project
Cursor works inside your project, so what it builds from your YouTube data stays with you as files, scripts and canvases you can rerun. Key use cases:
Rank videos by watch time
Cursor can build a canvas of each Video title by Estimated Minutes Watched, View Count and Average View Percentage.
See where views come from
Ask for a report of View Count by Traffic Source for two periods side by side, kept in your project to rerun.
Find videos that bring subscribers
Subscribers Gained and Subscribers Lost per video show which uploads grow the channel.
Compare Shorts and long videos
Cursor can split View Count and Average View Duration by Content Type in one chart.
Using Windsor.ai to connect data from YouTube to Cursor
Without Windsor.ai, Cursor builds on placeholder numbers or on CSV exports you paste into the project. Windsor MCP gives Cursor live YouTube data with the real field names, so the dashboards and scripts it writes match your account.
Connect in minutes, then ask Cursor to build something with your YouTube data.
Available actions
Add Video to Playlist
Add a video to the end of a playlist of the connected YouTube channel. playlist_id is a playlist id, as returned by the playlist_id read field, and video_id a YouTube video id. A video that the playlist already holds is not added again. Costs 50 units of the daily YouTube API quota.
Delete Comment
Permanently delete a comment or reply that the connected YouTube channel posted on one of its videos, for example a reply from reply_to_comment. comment_id is the YouTube comment id. To remove another user's comment, use moderate_comment with status rejected. Costs 50 units of the daily YouTube API quota.
Moderate Comment
Set the moderation status of a comment on a video of the connected YouTube channel. comment_id is a YouTube comment id, as returned by the comment_id read field. status heldForReview hides the comment until a moderator acts, published shows it again, and rejected removes it from public view together with its replies. A rejected comment cannot be published again. ban_author (only with rejected) also rejects the author's future comments. Comments that the channel posted itself cannot be moderated. YouTube shows a change after a short delay, and it can ignore a hold of a comment that a moderator already published once. Costs 50 units of the daily YouTube API quota.
Remove Video from Playlist
Remove a video from a playlist of the connected YouTube channel. The video itself is not deleted. playlist_id is a playlist id, as returned by the playlist_id read field, and video_id a YouTube video id. Every entry of the video in the playlist is removed. Costs 50 units of the daily YouTube API quota for each entry.
Reply to Comment
Reply to a top-level comment on a video of the connected YouTube channel. comment_id is a YouTube comment id, as returned by the comment_id read field. The reply is public and posted as the channel. Costs 50 units of the daily YouTube API quota. Use delete_comment to remove the reply.
Update Video Details
Change the details of a video on the connected YouTube channel. video_id is a YouTube video id, as returned by the video read field. Set only the details to change: title, description, tags (replaces the whole tag list), category_id (a YouTube video category id, for example 22 for People & Blogs) and privacy_status. The other details keep their values. Costs 50 units of the daily YouTube API quota.
Upload Video
Upload a video from a public URL to the connected YouTube channel. Provide video_url, title, made_for_kids and privacy_status (private, unlisted or public; defaults to private). Optionally set description, tags, category_id (default 22, People & Blogs) and publish_at, an ISO 8601 time with a timezone that YouTube schedules only on a private video. The file is downloaded server-side and sent with a resumable upload; it can be at most 100 MB. Returns the video id and URL. A YouTube Data API project allows 100 uploads a day. YouTube processes the video after the upload, so it can take a few minutes to appear in YouTube Studio.
How to connect YouTube to Cursor with Windsor.ai
Explore a step-by-step guide to add Windsor MCP to Cursor and start building on your YouTube data.
Add Windsor MCP in Cursor
Open Settings in Cursor Desktop and go to Tools & Integrations → New MCP Server. When mcp.json opens, add Windsor:
{
"mcpServers": {
"windsor": {
"url": "https://mcp.windsor.ai/"
}
}
}
Authenticate with Windsor.ai
Save mcp.json. Windsor appears in your MCP list and asks you to authenticate. Click Authenticate and sign in to Windsor.ai in the browser.
Ask Cursor to build on your YouTube data
Open a chat in your project and ask about your YouTube data.
FAQs
What YouTube data can Cursor use?
Windsor.ai gives Cursor access to 87 YouTube fields. These are some of the groups; the YouTube field reference lists all of them:
- Views and watch time: Video title, Publish date, View Count, Estimated Minutes Watched, Average View Duration, Average View Percentage, Engaged Views.
- Engagement: Likes, Comments, Shares, Subscribers Gained, Subscribers Lost.
- Traffic and audience: Traffic Source, Country, Viewer Age Group, Viewer Gender.
- Video details: Video length, Content Type, Video tags, Playlist Title.
What prompts can I use to build with YouTube data in Cursor?
Cursor works best when you ask it to build something with a clear output. Each of these names the fields to use and the file or canvas you want back:
-
Pull Video title, Publish date, View Count, Estimated Minutes Watched, Average View Duration and Average View Percentage for videos published in the last 90 days. Build a canvas that ranks videos by minutes watched and marks videos whose average view percentage is below the channel median.
-
Pull View Count and Estimated Minutes Watched by Traffic Source for the last 28 days and the 28 days before. Write a Python script that calculates the change per source, and writes traffic_sources.md with the sources that grew or fell most.
-
Pull Video title, Subscribers Gained, Subscribers Lost and View Count for this year. Write a script that calculates net subscribers per 1,000 views for each video and saves subscribers.csv sorted by that rate.
-
Pull Content Type, Video length, View Count, Average View Duration and Average View Percentage for last month. Build a chart that compares Shorts and long videos, and add a table of the five long videos with the highest average view percentage.
-
Pull View Count by Viewer Age Group, Viewer Gender and Country for the last 90 days. Write a monthly audience report as youtube_audience.md and keep the script in the project so I can rerun it each month.
Can Cursor turn YouTube data into dashboards I can share?
Yes. Cursor can render a dashboard, analysis or report as a canvas next to the chat, and it saves the canvas so you can reopen and rerun it later with fresh data. On paid Cursor plans you can publish a canvas to a read-only share link that members of your Cursor team can open. See the Cursor canvas documentation for the current plan requirements.
Can Cursor change my YouTube data?
Yes. Besides writing scripts, files and reports in your project, Cursor can run Windsor.ai’s YouTube actions: change a video’s title, description, tags, category or privacy, manage playlists, and reply to, hold or remove comments. Uploading and deleting videos are not available through Windsor.ai.
Can I combine YouTube data with other sources in Cursor?
Yes. Windsor.ai supports 350+ data sources, so you can connect YouTube alongside tools such as GA4, TikTok Organic or Instagram and ask Cursor to work with them together. For example, ask Cursor to put YouTube View Count by week next to GA4 Sessions from youtube.com for the same weeks, and build one chart of channel views and site visits.
How do I add Windsor MCP to Cursor?
Open Settings in Cursor Desktop, go to Tools & Integrations → New MCP Server, and add Windsor to mcp.json:
{
"mcpServers": {
"windsor": {
"url": "https://mcp.windsor.ai/"
}
}
}
Save the file, click Authenticate next to Windsor in your MCP list, and sign in to Windsor.ai in the browser.
Do I need to code to connect YouTube to Cursor?
No. The connection takes no code: connect YouTube in Windsor.ai, add Windsor to Cursor’s MCP settings, and sign in. After that you describe what you want in plain language, and Cursor writes and runs the code. You can read and edit everything it produces.
How much does it cost to integrate YouTube with Cursor using Windsor.ai?
The free forever plan covers 1 data source, so connecting YouTube on its own costs nothing and needs no credit card. Combining YouTube with other sources, such as GA4, needs a paid plan: $19/month for 3 sources or $99/month for 7. Cursor is billed separately by Cursor. See the pricing page.
Do you have helpful links to get started with YouTube and Cursor?
Yes. These are the resources to start with for the YouTube to Cursor integration:
Tired of manual YouTube data exports? Try Windsor.ai today to build on live data

