Skip to main content
Glama

SearchAPI MCP Server

search_youtube

Search YouTube videos with a query, retrieve results including titles, thumbnails, and links. Supports pagination, sorting, and filtering by date or duration using the SearchAPI MCP Server.

Instructions

Performs a YouTube search using SearchAPI.site. Requires a search query and your SearchAPI.site API key. Returns formatted YouTube search results including video titles, thumbnails, descriptions, and links. Supports optional parameters for pagination, sorting, filtering by date and duration.

Input Schema

NameRequiredDescriptionDefault
maxResultsNoMaximum number of results to return (1-50)
orderNoSort order for results
pageTokenNoToken for pagination to get next/previous page of results
publishedAfterNoNumber of days to filter videos from
queryYesThe YouTube search query to perform
videoDurationNoFilter by video duration

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "maxResults": { "description": "Maximum number of results to return (1-50)", "maximum": 50, "minimum": 1, "type": "number" }, "order": { "description": "Sort order for results", "enum": [ "date", "viewCount", "rating", "relevance" ], "type": "string" }, "pageToken": { "description": "Token for pagination to get next/previous page of results", "type": "string" }, "publishedAfter": { "description": "Number of days to filter videos from", "type": "number" }, "query": { "description": "The YouTube search query to perform", "type": "string" }, "videoDuration": { "description": "Filter by video duration", "enum": [ "short", "medium", "long", "any" ], "type": "string" } }, "required": [ "query" ], "type": "object" }
Install Server

Other Tools from SearchAPI MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrgoonie/searchapi-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server