- Home
- MCP servers
- YouTube
YouTube
- go
4
GitHub Stars
go
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You can access a compact MCP server that exposes YouTube search capabilities, video details, and subtitles to AI assistants. It lets you perform queries, retrieve structured video data, and fetch subtitles in English or Russian using a simple MCP interface.
How to use
To use the YouTube MCP server with an MCP client, start the server in either Server-Sent Events (sse) mode or stdio mode. In sse mode, you connect to a streaming endpoint to receive results as events. In stdio mode, you run the server as a local process and communicate with it directly.
Available tools include searching YouTube videos, getting detailed video information by ID, and obtaining subtitles for a video. With a client, you can perform a text query, request video details, or fetch subtitles in English or Russian.
Quick start examples show two operation modes below. Adapt the commands to your environment and run them from your shell.
go_mcp_server_youtube_search -t sse -h 0.0.0.0 -p 8889
go_mcp_server_youtube_search -t stdio
```
## How to install
Prerequisites you need before starting: a Go development environment and a compatible MCP client. Ensure you have a Go runtime installed and that you can run binaries from your terminal.
Install and run the server in sse mode by building the binary (if needed) and starting it with the specified host and port.
If you prefer the local stdio mode, run the server directly as a process from your shell.
```
# Run in sse mode with explicit host/port
go_mcp_server_youtube_search -t sse -h 0.0.0.0 -p 8889
# Run in stdio mode
go_mcp_server_youtube_search -t stdio
```
## Additional notes
The server exposes three core tools and their purposes: `youtube_search` to search for YouTube videos by text, `youtube_get_video_info` to retrieve detailed metadata about a video by its ID, and `youtube_get_subtitles` to obtain subtitles in English or Russian.
Server URL for HTTP connections in sse mode is `http://localhost:8889/sse`. If you want to run the server locally for a quick test, use the stdio command shown above.
## Available tools
### youtube\_search
Search for YouTube videos using a text query.
### youtube\_get\_video\_info
Get detailed information about a video by its ID.
### youtube\_get\_subtitles
Get video subtitles in English or Russian.