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...
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"
- Choices:
-
--host: Host to bind the server to- Default:
localhost - Description: Specifies the host address the server will bind to
- Default:
-
--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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_youtube_info-0.1.5.tar.gz.
File metadata
- Download URL: mcp_server_youtube_info-0.1.5.tar.gz
- Upload date:
- Size: 33.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2474bca084dc34db6ee12e2134b7029a8c61d42599b57fc5e8e7159796349047
|
|
| MD5 |
460770cf4282296adf5547009f1ab6c3
|
|
| BLAKE2b-256 |
9b595f5bcef4835bcce654ffc80a1eaf781ab63192dcea25adac96bc9aeb955d
|
File details
Details for the file mcp_server_youtube_info-0.1.5-py3-none-any.whl.
File metadata
- Download URL: mcp_server_youtube_info-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55fbc19d4661b14bbdd2cc0e0f1e48f3100a1ed3468a21b07157d6f0b33fff75
|
|
| MD5 |
2b99515cf5549bc05aba6ca857896fb9
|
|
| BLAKE2b-256 |
7a339ed7f8ed993aef1b3b5a8dd418551741083b2029cf83ebf5215bd2d091df
|