Skip to main content

Add your description here

Project description

YouTube Insights MCP Server

smithery badge

A Model Context Protocol (MCP) server that enables insight extraction from YouTube videos, including subtitle parsing, keyword-based video discovery, and channel info retrieval.

Features

  • Extract transcripts from YouTube videos (multi-language)
  • Search videos by keyword and fetch metadata (views, likes, thumbnails, etc.)
  • Retrieve channel info and latest videos from any YouTube video URL
  • FastMCP-based server integration for easy deployment
  • MCP Tools for seamless agent workflows

Installation

Using uvx (recommended)

When using uvx, no specific installation is needed.

Add the following configuration to your MCP settings file (e.g., claude_desktop_config.json for Claude Desktop):

{
  "mcpServers": {
    "youtubeinsights": {
      "command": "uvx",
      "args": ["youtubeinsights-mcp-server"],
      "env": {
        "YOUTUBE_API_KEY": "your-api-key",
      }
    }
  }
}

Development Installation

  1. Clone this repository

  2. Install dependencies:

    uv venv
    
  3. Copy .env.example to .env and fill in your youtube data api credentials

    {
      "mcpServers": {
        "youtubeinsights": {
          "command": "uv",
          "args": [
            "--directory",
            "path/to/youtubeinsights-mcp-server",
            "run",
            "youtubeinsights-mcp-server"
          ],
          "env": {
            "YOUTUBE_API_KEY": "your-api-key",
          }
        }
      }
    }
    

Available MCP Tools

  • get_youtube_transcript: Extract full transcript (subtitles) from a YouTube video URL (supports ko, en)
  • search_youtube_videos: Search for videos on YouTube by keyword and retrieve key metadata
  • get_channel_info: Get channel metadata and recent uploads based on any YouTube video URL

Sample MCP Tool Descriptions

{
  "tool": "get_youtube_transcript",
  "description": "Extract subtitles from a given YouTube video URL."
}
{
  "tool": "search_youtube_videos",
  "description": "Search videos by keyword and return metadata including views, likes, and thumbnails."
}
{
  "tool": "get_channel_info",
  "description": "Retrieve channel info (title, subscriber count, latest uploads) based on a video URL."
}

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

youtubeinsights_mcp_server-0.1.2.tar.gz (34.1 kB view details)

Uploaded Source

Built Distribution

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

youtubeinsights_mcp_server-0.1.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file youtubeinsights_mcp_server-0.1.2.tar.gz.

File metadata

File hashes

Hashes for youtubeinsights_mcp_server-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a4ad422986b0fa0bddb18ab9111b09ac6174ddb662ba58422c49f92329376cee
MD5 3bcaa1e0f68bf658343f66981ff50a74
BLAKE2b-256 7c332b72522f96f1680138b02d2b6be8777c9a159a6c37e9b4818004d6d42535

See more details on using hashes here.

File details

Details for the file youtubeinsights_mcp_server-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for youtubeinsights_mcp_server-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89f6a22e8d9a651b2c22fd4f460c90421e0dd090752a18858741f42100129951
MD5 d057d97be57d99fbf291c3f9ada5dff9
BLAKE2b-256 37e18ef3ff5b53623ea5f892248b4cdbdc747166d28fb0f3ee815b15f3a8c8db

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