CreatorOS
CreatorOS is a read-only MCP server that connects Claude to your own YouTube channel to analyze performance, diagnose bottlenecks, and suggest what to do next.
Connect and manage channels – sign in with Google (read-only OAuth), list connected channels, pick a default channel, or disconnect one (with confirmation).
Explore the channel and library – channel profile, stats, Shorts vs long-form mix and upload cadence; list videos with sorting, format filters and pagination; keyword-search your own library without using YouTube quota; fetch full metadata and stored stat history for one video.
Read private analytics – channel totals vs the previous period, daily trends, traffic sources, countries and subscriber split; per-video impressions/CTR, traffic sources, a retention curve with the biggest drop-off, and YouTube search terms.
Read audience comments – top-level comments with derived signals such as viewer questions and most-liked comments.
Compare videos fairly – measure 2–5 videos over each one's own first N days after publishing.
Run a full health check – sync videos, pull two periods, classify each video's bottleneck (click, discovery, retention, conversion) against your own same-format baseline, find rising/declining videos, and return one prioritized recommendation.
Get publishing advice – best weekday and 3-hour time block from past upload outcomes, with confidence and sample sizes.
Review past advice – retrieve earlier recommendations and their baselines to check them against results.
Provides read-only analytics for a user's YouTube channel, including channel health checks, video performance and retention deep dives, traffic sources, subscriber metrics, fair video comparisons, rising/declining videos, publishing-time recommendations, and audience questions from comments.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CreatorOS run a channel health check and tell me my biggest bottleneck"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Documentation Wiki
The complete project wiki is available in docs/wiki, including setup, user guidance, MCP reference, architecture, security, troubleshooting, roadmap and contribution standards.
CreatorOS – YouTube Creator Intelligence for Claude
Related MCP server: YouTube MCP Server
Description
CreatorOS connects Claude to your own YouTube channel and turns your analytics into clear, evidence-based answers: how the channel is doing, what is holding each video back, what to replicate, when to publish, and what your audience is asking.
It is a read-only local extension for Claude Desktop. It never uploads, edits, deletes or comments, and your data never passes through any CreatorOS server — only between your computer, Google and Claude.
Every answer is labelled so you know what is fact and what is a suggestion:
Label | Meaning |
| Read directly from YouTube |
| Arithmetic on measured data (ratios, % change, medians) |
| Pattern inference from your history, with a confidence level |
| A suggested action to test — not a proven cause |
Features
Channel health check – compares every video with your own same-format baseline (Shorts vs Shorts, long-form vs long-form) and names the real bottleneck: click, discovery, retention or subscriber conversion, then gives one prioritized recommendation.
Private analytics – views, watch time, average view %, subscribers gained/lost, traffic sources, countries, subscriber vs non-subscriber viewing, period-over-period change.
Video deep dive – audience-retention curve with the biggest drop-off, discovery sources, YouTube search terms.
Fair comparisons – each video measured over its own first N days after publishing.
Rising & declining videos – momentum versus the previous period.
Best time to publish – estimated from how your past uploads performed, with confidence and sample sizes.
Audience voice – the questions viewers ask in your comments.
Library search – find your videos by topic without using YouTube quota.
History – snapshots and past recommendations saved locally so you can check advice against results.
Multi-channel – connect several channels and switch the default.
Installation
CreatorOS runs on your computer, so it works in Claude Cowork (desktop app) and Claude Code. It does not run in claude.ai web chat (local servers are not loaded there).
Prerequisites for the plugin: Python 3.10+ on your PATH, and the uv Python runner (one-time, 1 minute). CreatorOS runs with the exact package versions pinned in uv.lock.
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"macOS:
curl -LsSf https://astral.sh/uv/install.sh | sh
Option 0 — Claude plugin (Cowork and Claude Code)
From the Claude directory (once listed): Customize → Browse plugins, search CreatorOS, click Add.
Cowork, before listing: on GitHub click Code → Download ZIP, then in Claude Customize → Plugins → Add → Upload plugin and choose the ZIP.
Claude Code:
claude --plugin-dir ./youtube-claude-mcp(from a clone of this repo).
The plugin adds the CreatorOS server and a youtube-channel-review skill that teaches Claude which tool to use for each question. Then complete Configuration.
Option A — Claude Desktop extension
Download the
.mcpbfile from the latest release.Double-click it (or drag it into Claude Desktop, or Settings → Extensions → Install Extension).
Review the permissions and click Install.
Complete Configuration below.
Claude Desktop installs the Python runtime and dependencies automatically. Once listed in the Anthropic Directory: Settings → Extensions → Browse, search CreatorOS, click Install.
Option B — Manual install (developers)
Requires Python 3.10+.
Windows (Command Prompt):
cd "%USERPROFILE%\Documents"
git clone https://github.com/matteys001/youtube-claude-mcp.git
cd youtube-claude-mcp
python -m venv .venv
.venv\Scripts\python -m pip install --upgrade pip
.venv\Scripts\pip install -e .macOS (Terminal):
cd ~/Documents && git clone https://github.com/matteys001/youtube-claude-mcp.git
cd youtube-claude-mcp && python3 -m venv .venv
.venv/bin/pip install --upgrade pip && .venv/bin/pip install -e .If Documents is synced by OneDrive on Windows, the path is
%USERPROFILE%\OneDrive\Documents\youtube-claude-mcp.
Then add to Claude Desktop (Settings → Developer → Edit Config), keeping any existing servers:
{
"mcpServers": {
"creatoros": {
"command": "C:\\Users\\YOUR-NAME\\Documents\\youtube-claude-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "creatoros.server"]
}
}
}macOS: "command": "/Users/YOUR-NAME/Documents/youtube-claude-mcp/.venv/bin/python". Fully quit and reopen Claude.
Configuration
CreatorOS uses Google's official APIs. One-time setup (about 15 minutes):
1. Google OAuth client (required)
Open https://console.cloud.google.com → project dropdown → New Project →
CreatorOS→ Create → select it.Search and Enable: YouTube Data API v3 and YouTube Analytics API.
Google Auth Platform → Get started: app name
CreatorOS, your email → External → contact email → agree → Create.Audience → Test users → Add users → the Gmail that owns your channel → Save.
Clients → Create client → Desktop app → Create → Download JSON.
Give CreatorOS the client:
Plugin (Claude Code and Cowork): save the downloaded JSON as
client_secret.jsonin the.creatorosfolder of your user directory (Windows:mkdir "%USERPROFILE%\.creatoros"thenmove "%USERPROFILE%\Downloads\client_secret_*.json" "%USERPROFILE%\.creatoros\client_secret.json").Extension: Settings → Extensions → CreatorOS → Configure → Google OAuth client file → select the JSON.
Manual install: save it as
client_secret.jsonin the.creatorosfolder of your user directory (Windows:move "%USERPROFILE%\Downloads\client_secret_*.json" "%USERPROFILE%\.creatoros\client_secret.json"aftermkdir "%USERPROFILE%\.creatoros").
While the Google app is in Testing mode, Google asks you to sign in again every 7 days. CreatorOS tells you when.
2. YouTube API key (optional — comments only)
YouTube only allows comment reading through OAuth with a write-capable permission, which CreatorOS deliberately does not request.
APIs & Services → Credentials → + Create credentials → API key, name
CreatorOS Comments.API restrictions: select YouTube Data API v3. Application restrictions: None. Create, copy the key.
Plugin / manual install: save it in
.creatoros\api_key.txt. Extension: Configure → YouTube Data API key. Manual: save it in.creatoros\api_key.txt.
3. Connect your channel
Ask Claude: "Connect my YouTube channel with CreatorOS." A Google sign-in tab opens → choose the account/channel →
if shown, "Google hasn't verified this app" → Continue → tick both permissions → Continue.
(Manual install alternative: run .venv\Scripts\creatoros-connect.)
Examples
Example 1: Channel health check
User prompt: "Use CreatorOS to run a full health check on my YouTube channel for the last 28 days. Tell me the main bottleneck, the evidence, and three things to do this week."
Expected behavior:
Calls
youtube_analyze_channel_performance(syncs videos, pulls this and the previous 28 days).Returns views, watch time, retention and net subscribers with % change; top traffic sources and countries.
Classifies each recent video's bottleneck against your own same-format median, and names a main bottleneck only if it affects ≥30% of recent videos.
Gives 3 concrete actions, videos to replicate, a confidence level and the limitations (e.g. ~48h data lag).
Example 2: Compare videos fairly
User prompt: "Compare my two most-viewed videos over their first 28 days after publishing."
Expected behavior:
Calls
youtube_list_videos(sort: most viewed), thenyoutube_compare_videoswithfirst_days=28.Shows views, average % viewed, subscribers per 1,000 views and likes per 1,000 views for each video in equal windows.
Names the leader per metric and warns if formats differ (Short vs long-form) or a window is partial.
Example 3: Video deep dive
User prompt: "Analyze my most recent video: where do viewers drop off, how did people find it, and what search terms brought them?"
Expected behavior:
Calls
youtube_get_video_analyticsfor the video's lifetime.Returns a 20-point retention curve with the biggest drop-off (time in seconds), traffic sources and YouTube search terms.
States clearly when YouTube has no data for a report (e.g. too few views for search terms).
Example 4: Best time to publish
User prompt: "When should I publish my next Short? My audience is mostly in India."
Expected behavior:
Calls
youtube_recommend_publishing_timewithtimezone_name="Asia/Kolkata",format="short".Returns weekday and 3-hour time-block rankings with sample sizes, the best slot and confidence, your current habit, untested days and how to validate.
If no slot has 3+ comparable videos, says so instead of guessing.
Example 5: What the audience is asking
User prompt: "Read the comments on my most-commented video. What questions are viewers asking?"
Expected behavior:
Calls
youtube_list_videosthenyoutube_get_comments.Lists the most-liked comments and viewer questions, with the share of comments that are questions.
If no API key is configured, returns a
[configuration]message explaining how to add one.
More prompts: "Which videos are rising or declining?", "Search my videos about AI", "Run my weekly creator review".
Tools
All tools are annotated for the Anthropic Directory: readOnlyHint (12 tools) or destructiveHint (3 tools that write only local files).
Tool | Annotation | What it does |
| destructive (local) | Google sign-in; saves an encrypted token |
| read-only | Connected channels and default |
| destructive (local) | Choose the default channel |
| destructive (local) | Revoke Google access + delete token; requires |
| read-only | Profile, stats, format mix, upload cadence |
| read-only | Videos with filters, sorting, pagination |
| read-only | Search your own library (no quota) |
| read-only | Full metadata + stored stat history |
| read-only | Comments, viewer questions, most-liked |
| read-only | Private analytics vs previous period |
| read-only | Retention curve, drop-off, traffic, search terms |
| read-only | Equal-window comparison |
| read-only | Full health check + one recommendation |
| read-only | Best day/time with confidence |
| read-only | Past recommendations and baselines |
Prompts: channel_health_assessment, weekly_creator_review, video_performance_analysis.
Resources: creatoros://channels, creatoros://channels/{id}/videos, creatoros://channels/{id}/recommendations.
Privacy Policy
CreatorOS runs locally and has no servers or telemetry. Full policy: PRIVACY.md.
Data collection
Accessed (read-only, with your Google consent): channel info, video metadata and public counts, private YouTube Analytics for your own channel, and public comments (only with an API key).
Use: only to answer your questions in Claude. Never for ads, profiling or training.
Storage: on your computer in
.creatoros— encrypted Google tokens, a local SQLite history, and logs without secrets.Sharing: with Google (to fetch the data) and with Claude (tool results you request). Not with the publisher or anyone else.
Retention: until you delete it. Disconnect with
youtube_disconnect_channelor https://myaccount.google.com/permissions; delete the.creatorosfolder to erase everything.
CreatorOS's use of information received from Google APIs adheres to the Google API Services User Data Policy, including the Limited Use requirements.
Terms of Use
See TERMS.md. Independent project; not affiliated with or endorsed by Google, YouTube or Anthropic.
Support
Issues and feature requests: https://github.com/matteys001/youtube-claude-mcp/issues
Email: sumit@matteys.com
Logs for bug reports:
.creatoros/logs/server.logandtool_calls.jsonl(they contain no tokens or keys).
Troubleshooting
Every error starts with a category and a fix:
Message starts with | Meaning | Fix |
| OAuth client not set | Configuration → step 1.6 |
| APIs not enabled | Enable both YouTube APIs |
| Comments need a key | Configuration → step 2 |
| Sign-in expired (7-day testing limit) or revoked | Ask Claude to connect again |
| Wrong Google account / Brand Account | Reconnect and pick the channel owner |
| Daily Google quota used | Wait until midnight US Pacific time |
| YouTube has no data for that request | Longer period or another video |
| Temporary Google or network error (auto-retried 3×) | Try again shortly |
Windows: | Documents is in OneDrive | Use the OneDrive path |
Compatibility
Claude Desktop ≥ 0.10 on Windows, macOS and Linux · Python ≥ 3.10 (managed automatically for the extension). Live-tested on Windows 11 with a real channel; see Verification.
Architecture
flowchart LR
C[Claude Desktop] -- stdio MCP --> S[server.py<br/>15 tools · 3 resources · 3 prompts<br/>error guard + audit log]
S --> I[intelligence.py<br/>bottlenecks · momentum · publishing cohorts]
S --> A[auth.py<br/>OAuth 2.0 + encrypted vault]
S --> Y[youtube_client.py<br/>Data API v3]
S --> N[analytics_client.py<br/>Analytics API v2]
S --> D[(store.py<br/>SQLite snapshots)]
A --> G[Google OAuth]
Y --> YT[YouTube Data API]
N --> YA[YouTube Analytics API]Layer | Module | Responsibility |
MCP interface |
| Tools, resources, prompts, uniform errors, audit log |
Intelligence |
| Pure, unit-tested analytics engine |
YouTube Data |
| Channel, uploads, videos, comments (quota-aware) |
YouTube Analytics |
| Private metrics, optional reports degrade gracefully |
Auth |
| OAuth (PKCE), encrypted multi-channel vault, revoke |
Persistence |
| Append-only snapshots with provenance |
Errors |
| Category + fix for every failure |
Detailed design: docs/ARCHITECTURE.md (feasibility matrix, scopes, methods, roadmap) · docs/SOLUTION_AND_TECHNICAL_ARCHITECTURE.md (solution & technical diagrams) · docs/SUBMISSION.md (directory checklist).
How the intelligence works
Bottleneck diagnosis — each video vs the median of the same format on your channel:
Pattern | Bottleneck |
impressions ≥ 0.8× and CTR < 0.8× (when YouTube provides CTR) | Click |
views < 0.6× and retention ≥ 1.0× | Discovery |
views < 0.6× and retention < 0.85× | Discovery + consumption |
views ≥ 0.8× and retention < 0.8× | Consumption |
views ≥ 0.8× and subscribers/1k views < 0.6× | Conversion |
views ≥ 1.5× and retention ≥ 0.95× | Winning |
Publishing time — each video's views ÷ the median of its 10 nearest same-format uploads by date (controls for growth and age), grouped by weekday and 3-hour block in the audience timezone; a slot needs ≥ 3 videos. YouTube Studio's "when your viewers are on YouTube" chart is not available through the public API, so this is an outcome-based estimate.
Known limitations
Shorts are detected by duration (≤ 180 s) because the Data API has no Shorts flag.
Impressions/CTR are requested but YouTube rejects them for some report types; the click stage is then skipped and stated.
Analytics lag ~48 hours. Per-video analytics cover the top 200 videos per window.
Competitor research, content ideas, calendar and publishing are later phases (see roadmap).
Roadmap
Phase | Scope | Status |
1 | OAuth, library, analytics, diagnosis, publishing time, comments | Released (0.3.0, plugin + extension) |
2 | Reporting API history, weekly/monthly reports, native Shorts detection | Next |
3 | Transcripts, topic classification, semantic search | Planned |
4 | Market & competitor research, SEO, title/thumbnail review, ideation | Planned |
5 | Content calendar, approved uploads/scheduling, comment replies | Planned |
6 | Hosted remote MCP server (works in claude.ai chat, submit as MCP connector), web app, RBAC | Planned |
Verification status
Check | Result |
25 offline tests (engine, errors, vault, annotations, stdout safety, stubbed end-to-end) | Pass |
MCPB manifest validation + pack + launch via | Pass |
| Pass — nothing to report |
Live run on Windows 11 with a real channel (v0.1.1) | 12/15 pass, 2 later-phase, 1 verified offline; the one failure (transient Google 500) fixed in 0.1.2 with retries |
macOS clean-machine run | Pending |
Development
pip install -e ".[dev]" && pytest -q # offline tests
python scripts/acceptance_test.py # live acceptance tests on your channel
npm i -g @anthropic-ai/mcpb && mcpb pack . creatoros-youtube.mcpb # build the extensionProject structure:
youtube-claude-mcp/
├── .claude-plugin/plugin.json # Claude plugin manifest (directory listing)
├── .mcp.json # Plugin's local MCP server definition (python launch.py)
├── launch.py # Starts the server with uv using pinned versions (uv.lock)
├── uv.lock # Exact dependency versions
├── skills/youtube-channel-review/SKILL.md # Workflow skill for Claude
├── manifest.json # Claude Desktop extension manifest (MCPB 0.4, uv runtime)
├── main.py # Extension entry point
├── icon.png # 512×512 icon
├── assets/ # repository banner
├── creatoros/ # Server package (see Architecture)
├── scripts/acceptance_test.py
├── tests/test_creatoros.py
├── docs/ # ARCHITECTURE, SOLUTION_AND_TECHNICAL_ARCHITECTURE, SUBMISSION
├── PRIVACY.md · CHANGELOG.md · LICENSE
└── pyproject.tomlLicense
MIT © 2026 Sumit Mattey
Available Tools
15 toolsyoutube_analyze_channel_performanceAnalyze channel & recommendARead-onlyIdempotent
End-to-end health check: syncs videos, pulls analytics for this and the previous period, diagnoses each video's bottleneck (click / discovery / retention / conversion) against the channel's own same-format baseline, finds rising and declining videos, and returns ONE prioritized, evidence-backed recommendation.
Inputs: days, channel_id. Returns: object
youtube_compare_videosCompare videos fairlyBRead-onlyIdempotent
Compare videos on equal footing: each video is measured over its own first N days after publishing.
Inputs: video_ids (required), channel_id, first_days. Returns: object
youtube_connect_channelConnect a YouTube channelADestructive
Connect a YouTube channel via Google sign-in (OAuth 2.0, read-only permissions).
Opens Google's consent screen in a browser on the computer running this server. The user signs in and picks the channel (or Brand Account). Tokens are encrypted locally and never returned here. Call again to connect additional channels.
Inputs: no named parameters. Returns: object
youtube_disconnect_channelDisconnect a channelADestructiveIdempotent
Revoke CreatorOS's Google access for a channel and delete its local token. Requires explicit confirmation.
Inputs: channel_id (required), confirm. Returns: object
youtube_get_channel_analyticsChannel analyticsBRead-onlyIdempotent
Private channel analytics: totals vs previous period, daily trend, traffic sources, countries, subscriber split.
Inputs: days, channel_id. Returns: object
youtube_get_channel_overviewChannel overviewCRead-onlyIdempotent
Channel profile, public stats, library composition (Shorts vs long-form) and upload cadence.
Inputs: channel_id. Returns: object
youtube_get_commentsVideo commentsBRead-onlyIdempotent
Top-level comments on a video, with quick derived signals (questions, most-liked) for audience analysis.
Inputs: video_id (required), order, channel_id, max_results. Returns: object
youtube_get_recommendation_historyPast recommendationsBRead-onlyIdempotent
Recommendations CreatorOS made earlier (with their baselines) so you can check them against what happened next.
Inputs: limit, channel_id. Returns: object
youtube_get_video_analyticsVideo analyticsBRead-onlyIdempotent
Private analytics for one video: totals, impressions/CTR (if available), traffic sources, audience-retention curve with the biggest drop-off, and YouTube search terms that found it.
Inputs: video_id (required), days, channel_id. Returns: object
youtube_get_video_detailsVideo detailsARead-onlyIdempotent
Full metadata for one video (title, description, tags, duration, format, stats) plus stored stat history.
Inputs: video_id (required), channel_id. Returns: object
youtube_list_channelsList connected channelsARead-onlyIdempotent
List YouTube channels connected to CreatorOS and which one is the default.
Inputs: no named parameters. Returns: object
youtube_list_videosList channel videosARead-onlyIdempotent
List the channel's uploaded videos with lifetime public stats (views, likes, comments).
Inputs: sort, limit, format, offset, +2 more. Returns: object
youtube_recommend_publishing_timeBest time to publishARead-onlyIdempotent
Recommend the best weekday and time block to publish, estimated from how your past uploads performed relative to neighbouring uploads. Includes confidence, sample sizes and how to validate it.
Inputs: format, channel_id, timezone_name. Returns: object
youtube_search_videosSearch my videosARead-onlyIdempotent
Search the connected channel's own video library (keyword match; uses no YouTube quota).
Inputs: query (required), limit, channel_id. Returns: object
youtube_set_default_channelSet default channelBDestructive
Choose which connected channel tools use when channel_id is omitted.
Inputs: channel_id (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Tools split cleanly into four groups: connection management, library browsing, analytics, and recommendations. Most boundaries are clear, but the analytics cluster has mild overlap risk — get_channel_analytics vs analyze_channel_performance (the latter is a composite that calls the former) and get_video_analytics vs compare_videos require reading descriptions to pick correctly. list_videos vs search_videos could also be confused at a glance, though the quota note helps.
Every tool follows the same youtube_<verb>_<noun> snake_case pattern, with predictable verb families (connect, list, set, get, search, analyze, recommend, compare). No camelCase or style drift anywhere in the set.
15 tools is at the top of the ideal band and each one maps to a distinct user-facing job — connection lifecycle, video browsing, channel/video analytics, and recommendations. Nothing feels padded, and the composite analyze_channel_performance earns its place by tying the others together.
The surface covers the full connection lifecycle plus the read-only insight workflows the server explicitly scopes itself to (OAuth read-only), so core jobs have no dead ends. Minor gaps remain: no playlist or subscription inspection, no video metadata update, and no way to drill into comment replies, all of which an agent might reasonably expect from a creator-analytics server.
Maintenance
Related MCP Connectors
Your YouTube library, in the AI tools you already use: Claude, ChatGPT, Cursor, any MCP client.
AI YouTube analyst in Claude for creators: audit, fix, decide what to make next, grow subs.
Your YouTube channels’ private analytics for AI assistants: revenue, views, retention. Read-only.
Hosted MCP server for marketing agencies: connect Google Ads, GA4, Search Console, Meta, LinkedIn and more to Claude or ChatGPT. Pull reports and make changes via OAuth login, no setup.
Related MCP Servers
- AlicenseAqualityCmaintenanceA comprehensive MCP server that provides Claude AI with full access to YouTube content, including searchable transcripts, metadata, comments, and playlists. It uniquely supports capturing video screenshots and extracting audio clips for analysis across both local and remote platforms.523 npm3MIT
- AlicenseNot gradedqualityDmaintenanceA local MCP server that connects Claude to your YouTube channel, enabling video analysis, performance tracking, comment reading, and niche suggestions.ISC
- AlicenseAqualityDmaintenanceA local-first MCP server for inspecting and managing a creator-owned YouTube channel, using Google's official YouTube Data API v3 and Analytics API.1010 npmMIT
- AlicenseNot gradedqualityCmaintenanceA local, privacy-first MCP server providing direct access to official YouTube Data, Analytics, Reporting, and Live Streaming APIs for creators, enabling channel analysis, research, and guarded management operations.4MIT