Terminal agents, including Codex
Connect YouTube to Claude Code
Give Claude Code your real YouTube history — videos and Shorts, titles and descriptions, view and interaction counts, and subscriber history — so it answers from what you actually published instead of guessing. Connecting is free.
Connect YouTube freeHow to connect YouTube to Claude Code
- Connect YouTube to Mysocial. One OAuth approval. Mysocial reads your catalogue so it is ready before Claude Code asks for it.
- Run
npx -y @mysocial.io/intelligence@latest setupin your terminal. - 3 Sign in to Mysocial when the browser opens, and approve.
- 4 The command installs the connector and the Mysocial agent skills together.
The same command works for Codex and other terminal agents that read an MCP config.
What makes YouTube different
YouTube is the only platform where a video keeps earning for years, so the back catalogue matters more than recency. Shorts and long-form also run on separate distribution — averaging them produces a number that describes neither, and holding them apart is the first thing worth doing.
Why Claude Code
Claude Code is the one that can act on what it finds rather than only describe it — writing files, running scripts, building something out of the answer. The single setup command installs the connector and the Mysocial agent skills together, which is why this is the fastest of the three to get running if you are already in a terminal.
What to ask Claude Code once your videos and Shorts are connected
- “Which videos beat my channel average, and what do their first 30 seconds share?”
- “Separate my Shorts from my long-form and compare how each performs.”
- “Which older videos are still earning views, and what are they about?”
- “What did my best-performing titles do differently?”
None of these are answerable from a screenshot or a pasted export. They need your whole catalogue, and they need Claude Code to know what typical looks like for you specifically.
Free versus paid
Free gives your assistant the record. Paid gives it the understanding. The line is provenance, not a quota: what YouTube already reports about you is free to read. What Mysocial's own pipeline produced — transcribing, ingesting, analysing — is paid.
Free
- Your posts and captions across every connected channel
- View, like, comment and share counts
- Complete metrics and follower history
- Measured audience demographics
- Search and rank your whole catalogue
Paid
- Video transcripts — what you actually said, not just what you captioned
- The comments themselves, not only how many there were
- Audience psychographics — what your audience responds to, not just who they are
- Hit DNA — the structural patterns behind your best posts
- Creator Universe — outlier research across creators beyond your own channels
Questions
How do I connect YouTube to Claude Code?
Connect your YouTube account to Mysocial, then add Mysocial as a connector in Claude Code using https://app.mysocial.io/mcp. Claude Code can then read your YouTube posts, metrics and comments directly — no exports and no copy-paste.
Is it free to connect YouTube to Claude Code?
Connecting is free, and so is reading what YouTube itself reports — your posts and captions, view, like and comment counts, follower history and measured audience demographics. What Mysocial's own pipeline produces is paid: video transcripts, the comment text itself, audience psychographics, Hit DNA and Creator Universe research.
What can Claude Code actually see?
Only the channels you connect, and only what you approve. Mysocial relays your videos and Shorts, titles and descriptions, view and interaction counts, and subscriber history. It cannot post on your behalf and it cannot see accounts you have not connected.
Does this work with other AI assistants?
Yes. Mysocial is a standard Model Context Protocol server, so the same URL works with Claude, ChatGPT, Claude Code, Codex and any other MCP client.