Ytch
FreeNot checkedMCP server build to analyze the channel whether it is β οΈ or ππ»ββοΈ.
About
MCP server build to analyze the channel whether it is β οΈ or ππ»ββοΈ.
README
π Project File Structure
youtube-channel-analyzer/
βββ src/
β βββ server.py # Main MCP server code
βββ requirements.txt # Python dependencies
βββ README.md # Project documentation
βββ .env.example # Environment variables example
βββ setup.py # Package setup (optional)
π Setup Instructions
1. Create Project Directory
mkdir youtube-channel-analyzer
cd youtube-channel-analyzer
2. Create Virtual Environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
3. Install Dependencies
pip install -r requirements.txt
4. Get YouTube API Key
- Go to Google Cloud Console
- Create a new project or select existing one
- Enable YouTube Data API v3
- Create credentials (API Key)
- Restrict the API key to YouTube Data API v3 (recommended)
5. Create Environment File (Optional)
# Create .env file
echo "YOUTUBE_API_KEY=your_api_key_here" > .env
YouTube Channel Analyzer MCP Server
π Project File Structure
youtube-channel-analyzer/
βββ src/
β βββ server.py # Main MCP server code
βββ requirements.txt # Python dependencies
βββ README.md # Project documentation
βββ .env.example # Environment variables example
βββ claude_desktop_config.json # Claude Desktop configuration
βββ setup.py # Package setup (optional)
π Claude Desktop Setup Instructions
1. Create Project Directory
mkdir youtube-channel-analyzer
cd youtube-channel-analyzer
mkdir src
2. Create Virtual Environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
3. Install Dependencies
pip install mcp httpx python-dateutil
4. Get YouTube API Key
- Go to Google Cloud Console
- Create a new project or select existing one
- Enable YouTube Data API v3
- Create credentials (API Key)
- Restrict the API key to YouTube Data API v3 (recommended)
5. Save the Server Code
Copy the main server code and save it as src/server.py
6. Configure Claude Desktop
Create or edit your Claude Desktop configuration file:
On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this configuration:
{
"mcpServers": {
"youtube-analyzer": {
"command": "python",
"args": ["/full/path/to/your/youtube-channel-analyzer/src/server.py"],
"env": {
"YOUTUBE_API_KEY": "your_youtube_api_key_here"
}
}
}
}
Important: Replace /full/path/to/your/youtube-channel-analyzer/ with the actual absolute path to your project directory.
7. Restart Claude Desktop
Close and reopen Claude Desktop for the configuration to take effect.
π§ Using the Tool in Claude Desktop
Once configured, you can use the tool directly in Claude Desktop conversations:
Example usage:
Analyze this YouTube channel: https://www.youtube.com/@MrBeast
or
Can you check if this channel is still active? https://www.youtube.com/channel/UC_x5XG1OV2P6uZZ5FSM9Ttw
Supported URL formats:
https://www.youtube.com/channel/UC_x5XG1OV2P6uZZ5FSM9Ttwhttps://www.youtube.com/c/ChannelNamehttps://www.youtube.com/user/Usernamehttps://www.youtube.com/@Handle
π§ Manual API Key Usage
If you prefer not to set the API key in the environment, you can provide it directly:
Analyze this channel with API key: https://www.youtube.com/@channel_name
API Key: your_api_key_here
π Troubleshooting
Server Not Showing Up
- Check that the file path in
claude_desktop_config.jsonis correct and absolute - Ensure Python is in your PATH
- Verify all dependencies are installed
- Check Claude Desktop logs for errors
API Key Issues
- Ensure your API key is valid
- Check that YouTube Data API v3 is enabled in Google Cloud Console
- Verify API quotas haven't been exceeded
Path Issues on Windows
Use forward slashes or double backslashes in the config:
"args": ["C:/path/to/your/project/src/server.py"]
or
"args": ["C:\\path\\to\\your\\project\\src\\server.py"]
π Analysis Metrics
The server analyzes channels based on:
1. Recent Activity (40% weight)
- Uploads in last 30 days
- Days since last video
- Upload frequency patterns
2. Engagement Metrics (30% weight)
- Average views per video
- Median views
- View consistency
3. Subscriber Base (20% weight)
- Total subscriber count
- Channel reach potential
4. Content Volume (10% weight)
- Total video count
- Content library size
π― Verdict Scale
- π’ VERY ALIVE (70-100 points): Highly active channel
- π‘ ALIVE (50-69 points): Regularly active channel
- π DECLINING (30-49 points): Reduced activity
- π΄ NEARLY DEAD (15-29 points): Minimal activity
- π DEAD (0-14 points): Inactive channel
π Sample Output
# YouTube Channel Analysis Report
## π Channel Overview
**Name:** MrBeast
**Subscribers:** 123,456,789
**Total Videos:** 234
**Total Views:** 12,345,678,901
**Created:** 2012-02-20
## π― Verdict: π’ VERY ALIVE
**Health Score:** 85/100
### Analysis Factors:
β’ Very active uploads (4+ videos/month)
β’ High average views (10K+)
β’ Large subscriber base (100K+)
β’ Substantial content library (100+ videos)
## π Recent Activity Metrics
**Videos Analyzed:** 50 recent videos
**Upload Frequency:** Very Active (15+ videos/month)
**Uploads Last 30 Days:** 8
**Average Days Between Uploads:** 3.5
## ποΈ View Metrics
**Average Views:** 50,123,456
**Median Views:** 45,678,901
**Total Views (Recent Videos):** 2,506,172,800
## πΊ Content Activity
**Videos in Last Year:** 45
## π¬ Latest Video
**Title:** I Gave Away $1,000,000
**Published:** 2024-05-25
**Views:** 75,432,109
π§ Advanced Configuration
Custom Scoring Weights
You can modify the scoring weights in the analyze_channel_health method:
# Current weights:
# Recent activity: 40%
# Engagement: 30%
# Subscribers: 20%
# Content volume: 10%
Analysis Parameters
- Recent videos analyzed: 50 (configurable)
- Time period for "recent": 30 days
- Year analysis: Last 365 days
π οΈ Development
Adding New Features
- Extend the
YouTubeAnalyzerclass - Add new metrics to the analysis
- Update the scoring algorithm
- Modify the report format
Error Handling
The server includes comprehensive error handling for:
- Invalid YouTube URLs
- API rate limits
- Missing channels
- Network issues
π License
This project is open-source and available under the MIT License.
Installing Ytch
This server has no published package β it is built from source. Open the repository and follow its README.
βΈ github.com/sms03/ytch-mcpFAQ
Is Ytch MCP free?
Yes, Ytch MCP is free β one-click install via Unyly at no cost.
Does Ytch need an API key?
No, Ytch runs without API keys or environment variables.
Is Ytch hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Ytch in Claude Desktop, Claude Code or Cursor?
Open Ytch on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install β the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Ytch with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
