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., cline_mcp_settings.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.1.tar.gz (32.9 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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for youtubeinsights_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e4b6c7edef8acee8c1c92960b6b64f2201f8411ad86c87510efe8a4e2b139011
MD5 525ae16ce4ec470a37f892d282b2fabc
BLAKE2b-256 eb36bba048f2d4b5eed88a46527ab2d535b23a4f1cc1c3ace24c1150e4c73a42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtubeinsights_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6deccc0bef5669ae2d03defc7f1be05f9a3cc7e5a4e91a4f2eb7c22d82159d91
MD5 f795a2d4ff7c7d6d9f469f7ee3110410
BLAKE2b-256 9e009ce494be55520b24369e1db4ac6c74e7e6094f6690bc0509c14e9168bc9b

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