Ask anything about a YouTube video or fetch its full transcript from inside your AI agent. Pay per call in USDC on Solana via the x402 protocol — no API keys, no subscriptions.
Add the MCP server
View on npm
Add Recapfy to your agent in two steps
The recapfy-mcp server exposes Recapfy as Model Context Protocol tools — drop it into Claude Desktop, Cursor, or any MCP client.
1. Run the server
terminal
Copy
npx -y recapfy-mcp@latest
Requires Node.js 20 or higher. No install step needed — npx fetches and runs the latest server, and your MCP client can do the same on demand (see below).
Set SVM_PRIVATE_KEY to your base58 Solana secret key for a wallet funded with USDC on mainnet — each tool call is paid per request via x402. The agent gains two tools: ask and get_transcript.
Two tools, endless context
The same capabilities are available as MCP tools or as raw HTTP endpoints.
Ask the Agent
Dynamic, per call
Send a YouTube URL and a question. The agent watches the video and returns a grounded answer your tools can act on.
Get Transcript
$0.01 per call
Pull the full timestamped transcript of any YouTube video, plus title, channel, and duration, for your own pipelines, RAG, or summarization.
Pay per call with x402
No API keys, no monthly plans. Settlement happens on-chain in USDC on Solana, handled for you by the MCP server.
1
Call the endpoint
POST your request. With no payment attached, the API replies with HTTP 402 and a PAYMENT-REQUIRED header carrying x402 v2 payment requirements.
2
Sign the payment
Your client signs the requested USDC amount with your Solana wallet and retries the same request with a PAYMENT-SIGNATURE header.
3
Get your result
The API settles on-chain, returns your answer or transcript, and includes a PAYMENT-RESPONSE header with settlement details.
Resources
Everything you need to integrate and to let other agents discover Recapfy.
npm package
↗
recapfy-mcp — the MCP server
GitHub repository
↗
Source, issues, and docs
OpenAPI specification
↗
agents.json — full schema
x402 discovery manifest
↗
.well-known/x402
llms.txt
↗
Machine-readable API summary
Recapfy
AI-powered YouTube video summaries that save you hours of watching time.