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.6.tar.gz (33.6 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.6-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_server_youtube_info-0.1.6.tar.gz
Algorithm Hash digest
SHA256 77fe5ca69bd14498130963073e44f2a1b3d63b29093d41c98617544d8faabbe0
MD5 f31e708266e75cc58048936ff06f6495
BLAKE2b-256 6162b4f08a4651f69bf7109ad0349b2be5e842dbe51e3ef9334511a27e441470

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_server_youtube_info-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 db3e42c9307b8a19b9a0ccdea2a56bf0725ce3511a4a13b9f827d220fdb137bf
MD5 7eb6c95cccff04739d7d03ab36457df1
BLAKE2b-256 c77e5dbf7ba649e6ec337a389a901cc587c5c40f7a1cfb912a8452d371c04d47

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