# YouTube Search API for AI Agents

> YouTube Search API for AI Agents is a freemium MCP server for web search and scraping. Search YouTube and get up to 20 videos per call as JSON, for AI agents. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API
- **Website:** https://frameskim.dev
- **MCP Registry name:** io.github.mettini/youtube-search
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-27

## About

Frameskim's YouTube Search is a hosted MCP server that lets an agent run a YouTube query and receive matching videos as structured JSON. Each search returns up to 20 results, and the caller can order them by relevance, upload date or view count.

The server is reached over streamable HTTP, so an MCP client connects to a remote endpoint rather than installing anything locally. Searches are billed per call against the operator's pay-per-use model, with no subscription and no separate run to set up.

It suits agent builders who need YouTube discovery as one step in a larger workflow, such as finding source videos before pulling transcripts or frames from them.

## Features

- **Up to 20 results:** Each search call returns as many as 20 videos in one response.
- **Flexible sorting:** Results can be sorted by relevance, upload date or view count.
- **JSON output:** Videos come back as structured data that an agent can parse directly.
- **Remote MCP endpoint:** Connects over streamable HTTP without a local install.
- **Pay per search:** Usage is billed per search call with no subscription.

## Good for

- Finding candidate YouTube videos on a topic for an agent to review
- Ranking recent uploads by date for news monitoring workflows
- Collecting high-view videos in a niche as research input
- Feeding video search results into a transcript or frame extraction pipeline

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http youtube-search https://emttn--youtube-search.apify.actor/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "youtube-search": {
      "type": "http",
      "url": "https://emttn--youtube-search.apify.actor/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://emttn--youtube-search.apify.actor/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "youtube-search": {
      "url": "https://emttn--youtube-search.apify.actor/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "youtube-search": {
      "type": "http",
      "url": "https://emttn--youtube-search.apify.actor/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://emttn--youtube-search.apify.actor/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add youtube-search --url https://emttn--youtube-search.apify.actor/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.youtube-search]
url = "https://emttn--youtube-search.apify.actor/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "youtube-search": {
      "httpUrl": "https://emttn--youtube-search.apify.actor/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http youtube-search https://emttn--youtube-search.apify.actor/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "youtube-search": {
      "serverUrl": "https://emttn--youtube-search.apify.actor/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "youtube-search": {
      "url": "https://emttn--youtube-search.apify.actor/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "youtube-search": {
      "type": "streamableHttp",
      "url": "https://emttn--youtube-search.apify.actor/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "youtube-search": {
      "url": "https://emttn--youtube-search.apify.actor/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "youtube-search": {
      "url": "https://emttn--youtube-search.apify.actor/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "youtube-search": {
      "url": "https://emttn--youtube-search.apify.actor/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "youtube-search": {
      "url": "https://emttn--youtube-search.apify.actor/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://emttn--youtube-search.apify.actor/mcp
```

Enter a Name (for example "YouTube Search API for AI Agents"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for sign-in. Add the credentials it needs under HTTP headers or in the OAuth fields, as its docs describe.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "youtube-search": {
      "type": "http",
      "url": "https://emttn--youtube-search.apify.actor/mcp"
    }
  }
}
```

## FAQ

### Does YouTube Search API for AI Agents require a subscription?

No. The site describes pay-per-use billing with no subscription.

### How many videos does one search return?

Up to 20 videos per search call.

### How can I sort the results?

By relevance, date or views.

### How do I add YouTube Search API for AI Agents to Claude Code?

Run this command in your terminal: claude mcp add --transport http youtube-search https://emttn--youtube-search.apify.actor/mcp

### What are the best alternatives to YouTube Search API for AI Agents?

The closest alternatives to YouTube Search API for AI Agents are YouTube Scraper, YouTube MCP, YouTube Transcript + YouTube Search MCP, YouTube Data MCP and YouTube Transcript & Search MCP Server.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [YouTube Scraper](https://ai-powered.com/mcp/youtube-scraper): YouTube Scraper is a freemium MCP server for design and media.
- [YouTube MCP](https://ai-powered.com/mcp/youtube-mcp): YouTube MCP is a free MCP server for design and media.
- [YouTube Transcript + YouTube Search MCP](https://ai-powered.com/mcp/youtube-transcript-youtube-search-mcp): YouTube Transcript + YouTube Search MCP is a freemium MCP server for design and media.
- [YouTube Data MCP](https://ai-powered.com/mcp/youtube-data-mcp): YouTube Data MCP is a freemium MCP server for design and media.
- [YouTube Transcript & Search MCP Server](https://ai-powered.com/mcp/youtube-transcript-and-search-mcp-server): YouTube Transcript & Search MCP Server is a freemium MCP server for design and media.
- [Youtube Transcript Video Search MCP](https://ai-powered.com/mcp/youtube-transcript-video-search-mcp): Youtube Transcript Video Search MCP is a freemium MCP server for design and media.
- [Web Search API](https://ai-powered.com/mcp/web-search-api): Web Search API is a paid MCP server for web search and scraping.
- [YouTube Scraper](https://ai-powered.com/mcp/youtube-scraper-3): YouTube Scraper is a paid MCP server for web search and scraping.

---
Source: https://ai-powered.com/mcp/youtube-search-api-for-ai-agents
