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": {
    "testing": {
      "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.5.tar.gz (33.7 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.5-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_server_youtube_info-0.1.5.tar.gz
Algorithm Hash digest
SHA256 2474bca084dc34db6ee12e2134b7029a8c61d42599b57fc5e8e7159796349047
MD5 460770cf4282296adf5547009f1ab6c3
BLAKE2b-256 9b595f5bcef4835bcce654ffc80a1eaf781ab63192dcea25adac96bc9aeb955d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_server_youtube_info-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 55fbc19d4661b14bbdd2cc0e0f1e48f3100a1ed3468a21b07157d6f0b33fff75
MD5 2b99515cf5549bc05aba6ca857896fb9
BLAKE2b-256 7a339ed7f8ed993aef1b3b5a8dd418551741083b2029cf83ebf5215bd2d091df

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