Skip to main content

A YouTube information retrieval server implementation for Model Context Protocol (MCP)

Project description

MCP YouTube Info Server

This project is a server implementation that retrieves YouTube video information using the Model Context Protocol (MCP). It utilizes the FastMCP framework to provide functionality for fetching YouTube video data.

Available Tools

youtube_metainfo

Retrieves metadata for a YouTube video.

  • video_id (string, required): YouTube video ID

    • Returns: JSON containing metadata such as title, description, view count, publication date, etc.

youtube_thumbnail_url

Retrieves the URL of a YouTube video's thumbnail image.

  • video_id (string, required): YouTube video ID

    • Returns: URL of the thumbnail image

youtube_thumbnail_image

Retrieves the image data from a YouTube video.

  • video_id (string, required): YouTube video ID

    • Returns: Thumbnail image

Installation

Using uv (recommended)

No special installation is needed when using uv. You can run mcp-server-youtube-info directly with uvx.

Using PIP

Alternatively, you can install mcp-server-youtube-info using pip:

pip install mcp-server-youtube-info

After installation, you can run it as a script like this:

mcp-server-youtube-info

Configuration

Configure for Claude.app

Add to your Claude settings:

Using uvx
{
  "mcpServers": {
    "youtube-info": {
      "command": "uvx",
      "args": ["mcp-server-youtube-info"]
    }
  }
}

Configure for VS Code

For quick installation, use one of the one-click install buttons below...

Install with UV in VS Code

Command-Line Options

You can specify the following options when running the server:

  • --sse: Enable SSE transport

    • Choices: on, off
    • Default: off
    • Description: Enables SSE transport when set to "on"
  • --host: Host to bind the server to

    • Default: localhost
    • Description: Specifies the host address the server will bind to
  • --port: Port to bind the server to

    • Type: Integer
    • Default: 8000
    • Description: Specifies the port number the server will bind to
  • --log-level: Set the log level

    • Choices: debug, info, warning, error

    • Default: info

    • Description:

      • debug: Detailed debug information
      • info: General runtime information (default)
      • warning: Potential issues that do not affect execution
      • error: Errors encountered during execution

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_youtube_info-0.1.8.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_youtube_info-0.1.8-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_youtube_info-0.1.8.tar.gz.

File metadata

File hashes

Hashes for mcp_server_youtube_info-0.1.8.tar.gz
Algorithm Hash digest
SHA256 5b9951dc63dc21e2726cab66ee8ea7164f8fafa55a4a93702b25ce8a9d57745d
MD5 2e63a25b7a280c577990b076ffd3bba8
BLAKE2b-256 c9761ab4a13159c90ef12f9251885fe61ec207a0e76b97a9f16d568a39ba676a

See more details on using hashes here.

File details

Details for the file mcp_server_youtube_info-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_youtube_info-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 eb564647a633ecd19c4ddf32e618b1ad2cd2bd77a2c3234ec9705134d87ab29a
MD5 847c9bcdd3ef55d726877a61de623517
BLAKE2b-256 f003f68921478abf34bed820c11f1706ff74c93e74e9ba4f82e1fcf1c096d038

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page