# YouTube data for AI agents, set up from one link.

> Give Claude, ChatGPT, Cursor or your own agent YouTube search, transcripts, comments and channel data: one key, an MCP server, llms.txt and OpenAPI.

Your agent searches YouTube, reads transcripts and comments and studies channels with one API key: as MCP tools, over plain HTTPS, or from the OpenAPI file.

[Get started](https://wagamiai.com/signup)

Sign up is open, no card needed. Read the [docs](https://wagamiai.com/docs) or the [plain-text reference](https://wagamiai.com/llms-full.txt).

### An MCP server

Add the address to Claude Code, Claude Desktop, Cursor, VS Code or Windsurf. Every endpoint becomes a tool, and each tool's description names its price.

### Written to be read by agents

/llms.txt is the summary, /llms-full.txt the whole reference as text, /openapi.json every endpoint as OpenAPI 3.1, and GET /v1/setup a key's own steps.

### Safe to hand over

Give each agent its own key with a credit cap. A refusal says what to do (add credits, wait so many seconds, fix an argument) and costs nothing.

Claude Code

## One line to connect

Any MCP client that can send a header works the same way; the MCP page has the setup for each one.

- Tools priced up front, listing them is free
- No MCP client? Plain HTTPS works too
- Each agent its own key and credit cap

terminal

```
claude mcp add --transport http wagami https://wagamiai.com/mcp \
  --header "Authorization: Bearer YOUR_WAGAMI_KEY"
```

tools

```
# the agent now has 32 tools, for example:
search_youtube        get_transcript
get_video             get_comments
get_channel_videos    channel_report
check_balance_and_limits   (free)
```

Questions

## Good to know

### Which agents can use it?

Claude on the web and in the desktop app connect by the address alone: you sign in to your WagamiAI account, no key needed. Claude Code, Cursor, VS Code, Windsurf and other MCP clients connect with a key in a header. Any agent that can make HTTPS requests can call the API directly.

### What can the agent do with it?

Search YouTube, read videos and channels, pull transcripts, captions and comments, list a channel's uploads, look up 25 videos per call, build channel reports, search pictures and get media links.

### How does the agent pay?

Calls take credits from your account's balance (2,000 credits = $1). Set a credit cap on the agent's key so it can never spend more than you planned. Errors are never charged.

### Can an agent read the docs on its own?

Yes. The [docs](https://wagamiai.com/docs), [llms.txt](https://wagamiai.com/llms.txt), [llms-full.txt](https://wagamiai.com/llms-full.txt), [openapi.json](https://wagamiai.com/openapi.json) and the [MCP page](https://wagamiai.com/mcp) are public, and AI assistants are welcome to read them.

## One key. Pay per answer.

2,000 credits = $1, from $25. Credits never expire and errors are never charged.

[Get started](https://wagamiai.com/signup) [See pricing](https://wagamiai.com/pricing)

---
This is the Markdown copy of https://wagamiai.com/youtube-api-for-ai-agents (WagamiAI). Every page has one: add `.md` to its address. All pages: https://wagamiai.com/llms.txt
