Cover image
Try Now
2025-03-21

A MCP server helps to transcript a youtube video

3 years

Works with Finder

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.

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

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

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

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

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

  • Khalid kalib
  • Write professional emails

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

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

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

    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!