Skip to main content
Glama
youtube-search-mcp

youtube-search-mcp

by iyer-surya98

youtube-search-mcp

A local MCP server implementation that allows Claude Desktop to search for YouTube videos.

This project provides a simple MCP-compatible server that receives search queries and returns YouTube video results using the youtube-search library.


Table of Contents


Related MCP server: YouTube MCP Server

Features

  • Local MCP server for YouTube search

  • Integrates with Claude Desktop

  • Uses youtube-search-python library for video search (no API key required)

  • Clean, streamlined JSON response format

  • Searches YouTube directly without rate limits

Requirements

  • Python 3.13+

  • uv is optional but highly recommended for package management

  • youtube-search-python package

Installation

Using uv

uv sync

Using pip

Create a virtual environment, activate it, then run:

pip install -e .

Configuration

No API key or additional configuration required! The server uses the youtube-search-python library which scrapes YouTube search results directly.

Usage

Start the MCP server using uv:

uv run server.py

Or, if using pip:

.venv\Scripts\activate
python server.py

Then, configure Claude Desktop to use your local MCP server by adding the following to your Claude Desktop configuration file:

{
  "mcpServers": {
    "youtube-search": {
      "command": "uv",
      "args": [
        "--directory",
        "path\\to\\youtube-search-mcp",
        "run",
        "server.py"
      ]
    }
  }
}

Or if using pip:

{
  "mcpServers": {
    "youtube-search": {
      "command": "path\\to\\venv\\Scripts\\python.exe",
      "args": ["server.py"],
      "cwd": "path\\to\\youtube-search-mcp"
    }
  }
}

License

MIT License. See LICENSE for details.

Available Tools

1 tool
search_for_youtube_videosD

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    D1.6/5.0

    Scored across 1 tool

    Disambiguation4/5

    With a single tool there is no possibility of overlap or misselection between tools, so the set is inherently unambiguous. However, the tool has no description text at all, so an agent must infer its parameters and scope from the name alone.

    Naming Consistency4/5

    The lone tool follows a clear verb_noun pattern (search_for_youtube_videos) with snake_case, which is readable and self-descriptive. Consistency cannot really be demonstrated with only one name, and the 'for' connector is slightly verbose relative to canonical search_videos.

    Tool Count2/5

    A single tool is the bare minimum for a server advertised as YouTube search, leaving no room for supporting operations. The count is under-scoped for even a modest search workflow.

    Completeness2/5

    Only raw search exists; there is no way to fetch video details, channel info, transcripts, or paginate through results, so agents will hit dead ends after a search. The surface is severely thin for a YouTube search domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables YouTube integration with Claude Code, including video search, metadata retrieval, transcript fetching, channel exploration, and trending videos.
      8
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude to interact with YouTube Data API for searching videos, channels, and playlists, and retrieving details and playlists.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude.ai to search videos, get trending and channel feeds, retrieve video metadata and engagement stats, and fetch or search transcripts over HTTPS.
      -