MCP cover image
See in Github
2025-03-21

MCP服务器有助于成绩单YouTube视频

1

Github Watches

1

Github Forks

0

Github Stars

YouTube Transcript API

A Python service that provides APIs to fetch and transcribe YouTube video content. It supports both REST API (Flask) and MCP server implementations.

Features

  • Fetch YouTube video transcripts in multiple languages (English and Vietnamese)
  • Auto-detect and use available transcripts
  • Fallback to audio transcription using Whisper when transcripts are unavailable
  • Support for both REST API and MCP server interfaces
  • Automatic language detection
  • Temporary file cleanup
  • Progress reporting for long-running operations

Installation

pip install -r requirements.txt

Usage

REST API (Flask)

Start the Flask server:

python apps/flask_server.py

Available endpoints:

  • GET /transcript?video_id=<video_id>&language=<lang> - Get video transcript
  • GET /video/info?video_id=<video_id> - Get video information
  • GET /health - Health check endpoint

MCP Server

Start the MCP server:

python apps/mcp_server.py

Available tools:

  • get_transcript(video_id, language) - Get video transcript
  • extract_transcript(video_id, language) - Extract transcript from audio
  • search_youtube_video(query) - Search for YouTube videos

Language Support

  • English (en)
  • Vietnamese (vi)
  • Auto-detection for other languages

Dependencies

  • youtube-transcript-api
  • pytube
  • whisper
  • torch
  • langdetect
  • flask (for REST API)
  • mcp (for MCP server)

Development

The project structure:

apps/
├── __init__.py
├── flask_server.py  # REST API implementation
├── mcp_server.py    # MCP server implementation
└── utils.py         # Shared utilities

License

MIT License

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • modelcontextprotocol
  • 模型上下文协议服务器

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • n8n-io
  • 具有本机AI功能的公平代码工作流程自动化平台。将视觉构建与自定义代码,自宿主或云相结合,400+集成。

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • open-webui
  • 用户友好的AI接口(支持Ollama,OpenAi API,...)

    Reviews

    3 (1)
    Avatar
    user_b0DQi2Ow
    2025-04-15

    As a dedicated MCP application user, I am thoroughly impressed with Chargebee. This product seamlessly streamlines subscription management and billing processes. The interface is user-friendly and integrates effortlessly with various platforms. The support from the main author is commendable, ensuring smooth operations. Highly recommended for anyone looking to efficiently manage their billing systems!