Cover image
Try Now
2025-03-11

用于获取YouTube成绩单的MCP服务器

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

YouTube Transcript MCP Server

This project implements a Model Context Protocol (MCP) server that provides a tool for fetching YouTube video transcripts in various formats. Leveraging the youtube-transcript-api, the server allows Large Language Models (LLMs) to access YouTube transcripts securely and efficiently.

Overview

The server exposes a tool, fetch_youtube_transcript, which retrieves transcripts for YouTube videos based on the provided video ID, language code, and desired format. This functionality enables LLMs to access and process YouTube video transcripts seamlessly.

Features

  • YouTube Transcript Retrieval: Fetch transcripts for YouTube videos in multiple languages.
  • Flexible Output Formats: Obtain transcripts in either plain text or JSON format.
  • MCP Integration: Designed to work seamlessly with MCP-compatible clients and tools.

Configuration with MCP Client

"mcpServers": {
  "youtube-transcripts": {
    "command": "uv",
    "args": [
      "--directory",
      "/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-transcripts/src",
      "run",
      "server.py"
    ]
  }
}

Setup

This project uses uv for package/project management. To run this project, follow the below setup instructions.

  1. Install uv if you haven't already. Here's the installation instructions.
  2. Clone the repo.
    git clone https://github.com/PraveenKishore/mcp-server-youtube.git
    cd mcp-server-youtube
    
  3. Create virtual env and install dependencies.
    uv sync
    
  4. Activate the virtual env.
    source .venv/bin/activate  # Activate the virtual environment (Linux/MacOS)
    # OR
    .\.venv\Scripts\activate  # Activate the virtual environment (Windows)
    
  5. You're all set!

Testing the MCP Server

1. Testing Only the MCP Server

To launch the MCP inspector, run the following command:

mcp dev src/server.py

This will start the server, allowing you to view the list of exposed tools in the Tools tab. You can also invoke any of these tools with the appropriate input.

2. Testing with Claude Desktop

To test with Claude Desktop, add the MCP configuration to the claude_desktop_config.json file.
For more details, refer to this link. Once configured, you should be able to invoke the tool directly within the Claude Desktop interface.

3. Testing with mcp-client-cli

The mcp-client-cli is a simple command-line tool for running LLM prompts and implementing the Model Context Protocol (MCP) client.
To use this tool, add the MCP configuration to ~/.llm/config.json. For further setup instructions, check out the official setup guide. After configuration, you’ll be able to invoke the tool within mcp-client-cli.

相关推荐

  • 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.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • 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.

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

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

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

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

  • OffchainLabs
  • 进行以太坊的实施

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

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    1 (1)
    Avatar
    user_dWZjguuW
    2025-04-15

    Mcp Autotest by strowk is an exceptional tool for automating tests efficiently. Its intuitive interface and seamless integration have significantly improved my workflow. Highly recommended for both beginners and advanced users. Check it out here: https://mcp.so/server/mcp-autotest/strowk.