Skip to content

Shalin-Shah-2002/Yt-MCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

LearnFlow AI

๐ŸŽ“ LearnFlow AI

Your AI-Powered Learning Companion | Learn. Build. Play. ๐Ÿš€

License Node MCP YouTube Claude

Free โ€ข Open Source โ€ข Learn Anything โ€ข No Limits


๐ŸŒŸ What is LearnFlow AI?

LearnFlow AI is a revolutionary MCP (Model Context Protocol) server that transforms how you learn programming and technology. It connects directly to Claude AI and gives it superpowers to:

  • ๐ŸŽฏ Find the BEST YouTube tutorials for any topic
  • ๐Ÿ“š Generate personalized learning paths for ANY skill
  • ๐Ÿ” Filter videos by quality (80%+ positive comments only!)
  • โฑ๏ธ Create time-based study plans (1 hour, weekend, daily micro-learning)
  • ๐ŸŽ“ Track your learning progress
  • ๐Ÿ†• Stay updated with latest tech news and features

"Learn anything, build everything, pay nothing." ๐Ÿ’ช


๐ŸŽฌ Why LearnFlow AI?

Problem LearnFlow AI Solution
๐Ÿ˜ต Overwhelmed by YouTube tutorials ๐ŸŽฏ AI finds the BEST videos, filters out junk
๐Ÿ“š Don't know where to start ๐Ÿ—บ๏ธ Auto-generated learning roadmaps
โฐ No time to learn โšก 15-min daily micro-learning plans
๐Ÿ’ธ Can't afford courses ๐Ÿ†“ 100% free YouTube-based learning
๐Ÿ“… No structure ๐Ÿ“‹ Week-by-week curriculum with projects
๐Ÿค” Outdated content ๐Ÿ†• Finds recent, up-to-date tutorials

๐Ÿš€ Quick Start (5 Minutes Setup!)

Prerequisites

Step 1: Clone & Install

# Clone the repository
git clone https://github.com/Shalin-Shah-2002/Yt-MCP.git

# Navigate to project
cd Yt-MCP

# Install dependencies
npm install

Step 2: Get YouTube API Key (Free!)

  1. Go to Google Cloud Console
  2. Create a new project (or select existing)
  3. Enable YouTube Data API v3
  4. Go to Credentials โ†’ Create Credentials โ†’ API Key
  5. Copy your API key

Step 3: Configure Claude Desktop

Add this to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "learnflow-ai": {
      "command": "node",
      "args": ["/FULL/PATH/TO/Yt-MCP/src/server.js"],
      "env": {
        "YOUTUBE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

๐Ÿ’ก Replace /FULL/PATH/TO/Yt-MCP with actual path and add your API key!

Step 4: Restart Claude Desktop

Close and reopen Claude Desktop. You should see LearnFlow AI tools available! ๐ŸŽ‰


๐Ÿ› ๏ธ All Features & Tools (27 Total!)

๐Ÿ“น YouTube Tools (14 Tools)

Tool Description
search_youtube Search YouTube videos with smart ranking
get_video_details Get comprehensive video info
analyze_video Deep analysis with quality score & recommendations
get_video_comments Analyze comment sentiment
get_video_timestamps Extract chapters/timestamps
compare_videos Side-by-side video comparison
get_related_videos Find similar content
get_video_transcript Get video transcript/summary info
get_full_transcript Fetch complete video transcript
analyze_channel Deep channel analysis
get_channel_info Basic channel information
set_youtube_api_key Set API key at runtime
get_api_key_status Check API key status
check_api_quota Monitor API usage

๐ŸŽ“ Learning Path Tools (3 Tools)

Tool Description
generate_learning_path Create week-by-week curriculum for ANY topic
get_available_paths See suggested learning categories
get_path_info Get details about a learning path

๐Ÿง  Smart Learning Tools (10 Tools)

Tool Description
smart_search Quality-filtered search (80%+ positive comments)
generate_smart_roadmap AI-powered learning roadmap
get_video_trust_score Calculate video quality score
generate_topic_curriculum Detailed curriculum with phases
get_prerequisites What to learn before a topic
get_next_steps What to learn after completing topic
find_best_video Find single best video for a topic
get_learning_progress Track your learning journey
update_learning_progress Mark topics as complete
get_trending_in_tech Discover trending tech topics

๐Ÿ’ฌ 18 Built-in Prompts for Learning

๐ŸŽฏ Quick Learning Prompts

Prompt What It Does
find-best-recent Find BEST and most RECENT videos on any topic
learn-in-one-hour Learn any topic in 60 minutes
learn-before-tomorrow Emergency crash course for deadlines
weekend-deep-dive Master a topic over the weekend (6-10 hrs)
daily-micro-learning 15-20 min daily learning habit

๐Ÿ“š Structured Learning Prompts

Prompt What It Does
create-learning-journey Personalized multi-week learning path
weekly-study-plan Detailed plan for one week
skill-assessment Assess your current level
continue-learning Pick up where you left off
quick-refresh Quick refresher on known topics

๐Ÿ” Research & Discovery Prompts

Prompt What It Does
deep-dive-topic Comprehensive research on a topic
compare-technologies Compare frameworks/languages
whats-new-in Latest updates in any technology
explain-like-im-five Simple explanations for complex topics

๐Ÿ› ๏ธ Project & Career Prompts

Prompt What It Does
project-roadmap Learn by building real projects
code-along-project Find best build-along tutorials
interview-prep Prepare for technical interviews
debug-learning Get help when stuck

๐Ÿ“– How to Use LearnFlow AI

Example 1: Learn React in One Hour

Just ask Claude:

Use the learn-in-one-hour prompt with topic="React hooks"

Example 2: Weekend Python Mastery

Use the weekend-deep-dive prompt with topic="Python" total_hours="8" include_project="yes"

Example 3: Find Best Recent Tutorials

Use find-best-recent prompt with topic="Next.js 14" recency="this-month"

Example 4: Generate Full Learning Path

Use generate_learning_path tool with goal="Machine Learning" level="beginner"

Example 5: Emergency Interview Prep

Use learn-before-tomorrow prompt with topic="System Design" purpose="interview" hours_available="4"

Example 6: Daily Learning Habit

Use daily-micro-learning prompt with topic="TypeScript" daily_minutes="20" days="7"

๐ŸŽฏ Learning Paths for Any Topic!

LearnFlow AI can generate learning paths for ANY topic. The system is fully dynamic!

Suggested Categories:

  • ๐ŸŒ Web Development
  • ๐Ÿ“ฑ Mobile Development
  • ๐Ÿค– Machine Learning
  • ๐Ÿ“Š Data Science
  • โš™๏ธ DevOps
  • โ˜๏ธ Cloud Computing
  • ๐Ÿ”’ Cybersecurity
  • ๐ŸŽฎ Game Development
  • โ›“๏ธ Blockchain
  • ๐ŸŽจ UI/UX Design

Popular Technologies:

React, Vue, Angular, Next.js, Node.js, TypeScript, Flutter, React Native, Swift, Kotlin, Python, TensorFlow, PyTorch, Docker, Kubernetes, AWS, Azure, and many more!

Three Skill Levels:

  • ๐ŸŒฑ Beginner (6 weeks) - Start from zero
  • ๐ŸŒฟ Intermediate (6 weeks) - Level up your skills
  • ๐ŸŒณ Advanced (8 weeks) - Become an expert

๐Ÿ—๏ธ Project Architecture

Yt-MCP/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ server.js              # MCP server entry point
โ”‚   โ”œโ”€โ”€ config/
โ”‚   โ”‚   โ””โ”€โ”€ config.js          # Configuration management
โ”‚   โ”œโ”€โ”€ controllers/
โ”‚   โ”‚   โ”œโ”€โ”€ youtubeController.js
โ”‚   โ”‚   โ”œโ”€โ”€ learningPathController.js
โ”‚   โ”‚   โ””โ”€โ”€ smartLearningController.js
โ”‚   โ”œโ”€โ”€ models/
โ”‚   โ”‚   โ”œโ”€โ”€ TopicTree.js       # Dynamic topic suggestions
โ”‚   โ”‚   โ””โ”€โ”€ LearningPath.js    # Learning path structure
โ”‚   โ”œโ”€โ”€ services/
โ”‚   โ”‚   โ”œโ”€โ”€ youtubeService.js  # YouTube API integration
โ”‚   โ”‚   โ”œโ”€โ”€ learningPathService.js
โ”‚   โ”‚   โ””โ”€โ”€ smartLearningService.js
โ”‚   โ”œโ”€โ”€ prompts/
โ”‚   โ”‚   โ””โ”€โ”€ promptManager.js   # 18 built-in prompts
โ”‚   โ””โ”€โ”€ utils/
โ”‚       โ”œโ”€โ”€ videoFormatter.js
โ”‚       โ””โ”€โ”€ errorHandler.js
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

๐Ÿ”ง Configuration Options

Environment Variables

Variable Description Required
YOUTUBE_API_KEY Your YouTube Data API key Yes

Runtime Configuration

You can also set the API key through Claude:

Use set_youtube_api_key tool with apiKey="YOUR_KEY"

Check your API status:

Use get_api_key_status tool

๐ŸŽฎ Fun Ways to Use LearnFlow AI

๐Ÿ† Challenge Mode

"I want to learn Docker in one weekend. Create an intensive plan with a project!"

๐Ÿ“… Daily Streak

"Set up a 30-day JavaScript challenge with 20 minutes daily learning"

๐Ÿ†š Tech Battle

"Compare React vs Vue vs Angular for a beginner who wants to get a job quickly"

๐Ÿš€ Speed Run

"I have an interview tomorrow about Kubernetes. Emergency crash course please!"

๐ŸŽฏ Skill Tree

"Create a complete Full Stack Developer roadmap from zero to hero"


๐Ÿ”ง Development

Run in Development Mode

npm run dev

Run Tests

npm test

Check Syntax

node --check src/server.js

Test Individual Components

# Test transcript service
node test-transcript.mjs

# Test prompts
node -e "import('./src/prompts/promptManager.js').then(m => console.log(new m.PromptManager().listPrompts()))"

๐ŸŒŸ What Makes LearnFlow AI Special?

โœจ Quality First

Only recommends videos with 80%+ positive comments. No more wasting time on bad tutorials!

๐ŸŽฏ Personalized

Adapts to YOUR skill level, time availability, and learning style.

๐Ÿ†“ Completely Free

Uses free YouTube content + free YouTube API. No subscriptions, no hidden costs.

๐Ÿค– AI-Powered

Leverages Claude AI to understand your needs and create perfect learning plans.

๐Ÿ“ฑ Any Topic

Not limited to pre-defined paths. Learn literally anything from Kubernetes to Origami!

โฑ๏ธ Time-Aware

Whether you have 15 minutes or a whole weekend, LearnFlow creates the perfect plan.


๐Ÿ“Š API Quota Information

YouTube Data API has a free quota of 10,000 units/day. Typical usage:

Action Cost
Search 100 units
Video details 1 unit
Comments 1 unit

This means you can do approximately 100 searches per day for free!


๐Ÿ› Troubleshooting

"API Key not configured"

Make sure you've set YOUTUBE_API_KEY in your Claude Desktop config or use the set_youtube_api_key tool.

"Claude doesn't show LearnFlow tools"

  1. Check the config file path is correct
  2. Restart Claude Desktop completely
  3. Check the path to server.js is absolute

"Quota exceeded"

You've hit the daily YouTube API limit. Wait 24 hours or create a new API key.


๐Ÿ—บ๏ธ Roadmap

  • ๐Ÿ“Š Learning analytics dashboard
  • ๐Ÿ”„ Playlist support
  • ๐Ÿ“ Note-taking integration
  • ๐ŸŽฏ Quiz generation from videos
  • ๐Ÿ“ฑ Mobile companion app
  • ๐ŸŒ Multi-language support

๐Ÿค Contributing

We welcome contributions! Feel free to:

  • ๐Ÿ› Report bugs
  • ๐Ÿ’ก Suggest features
  • ๐Ÿ”ง Submit PRs
  • โญ Star the repo

How to Contribute

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

MIT License - Use it, modify it, share it! ๐ŸŽ‰


๐Ÿ™ Acknowledgments

  • YouTube Data API - For access to the world's largest video library
  • Anthropic Claude - For the amazing MCP protocol
  • Open Source Community - For inspiration and support

๐ŸŽ“ Start Learning Today!

"The best time to learn was yesterday. The second best time is now."


Made with โค๏ธ by Shalin Shah


โญ Star this repo if it helps you learn something new!


๐Ÿš€ Let's Learn Together! ๐Ÿš€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors