MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
作者による説明(英語の原文)
Live public Instagram and TikTok data for AI assistants: profiles, posts, stories, followers.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
ウェブ、デスクトップ、モバイルのClaudeで使えます:
https://storiesfly.com/mcpターミナルでこれを実行します
claude mcp add --transport http storiesfly https://storiesfly.com/mcpプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"storiesfly": {
"url": "https://storiesfly.com/mcp"
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"storiesfly": {
"type": "http",
"url": "https://storiesfly.com/mcp"
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
ChatGPTがつなげるのは、インターネット上のサーバーだけです:
https://storiesfly.com/mcpメニューの名前は、プランや時期によって少し違うことがあります。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
このサーバーは、ツール一覧を表示する前にサインインを求めます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名はドメイン storiesfly.com で確認済みです(レジストリがドメインの所有を確認しています)
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
586ミリ秒で応答(HTTP 401)
OAuthでのサインインに対応しているため、AIアプリがログイン画面へ案内してくれます
まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。
GitHubリポジトリの最終更新は–、最新バージョン(1.0.0)がレジストリに届いたのは7 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URLでつながるので、リモートMCPサーバーに対応したアプリ(開発者モードのChatGPTなど)でも使えます。
同じカテゴリには:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
An MCP server retrieving transcripts of YouTube videos
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
TypeScript client for the StoriesFly API. It reads public Instagram and TikTok data over HTTP. For Instagram: profiles, stories, highlights, posts, reels, comments, followers, hashtags, places and search. For TikTok: profiles, videos, stories, followers and following lists, reposts, and video download without the watermark. You do not log in to Instagram or TikTok and you do not handle cookies or sessions. You send an API key and pay per request. The same data works inside ChatGPT and Claude through the StoriesFly MCP server: see Use it from ChatGPT and Claude (MCP).
The package has no runtime dependencies. It needs Node 18 or newer (it uses the global fetch), it is ESM only, and it ships its own types. The 46 data calls and the free account call each have a method, and every answer is typed.
npm install storiesfly
Keep the key on your server. Anyone who has it can spend your balance.
The stories an account has up right now:
import { StoriesFly } from "storiesfly";
const client = new StoriesFly({ apiKey: process.env.STORIESFLY_API_KEY! });
const { user, stories } = await client.user.stories({ username: "instagram" });
console.log(${stories.length} stories up from account ${user.id}); for (const story of stories) { console.log(story.media_type, story.taken_at_iso, story.media_url); }
Things to know:
{ username } or { id }, never both. A post is named by { url }, { code } or { id }. The types enforce this.snake_case, as the API sends them. A value the answer does not carry is null. It is never 0 or "".A post, with the links to its pictures and video:
const post = await client.post.get({ url: "https://www.instagram.com/p/DcyLOLIEdy7/" });
console.log(post.caption, post.likes); for (const item of post.media) { console.log(item.type, item.video_url ?? item.image_url); // one item per slide of a carousel }
A TikTok video without the watermark, and a TikTok account's followers:
const video = await client.tiktok.video({ url: "https://www.tiktok.com/@khaby.lame/video/7697307919943060767" });
console.log(video.caption, video.views, video.video_url); // video_url has no watermark
const profile = await client.tiktok.user.profile({ username: "khaby.lame" }); console.log(profile.followers);
for await (const page of client.paginate(client.tiktok.user.followers, { username: "khaby.lame" }, { maxPages: 2 })) { for (const follower of page.users) console.log(follower.username); }
new StoriesFly({
apiKey: "...", // required, sent as X-Api-Key baseUrl: "...", // default https://storiesfly.com/api/v1 fetch: myFetch, // default: the global fetch timeoutMs: 60_000, // per attempt; 0 turns the timeout off maxRetries: 2, // for rate_limited answers; 0 turns retries off });
Every call also takes a last argument with signal (an AbortSignal), timeoutMs, maxRetries and withMeta.
A call that returns a list returns one page, with next_cursor and has_more. client.paginate follows the list for you. It is an async iterator that calls the method, yields the page, then calls it again with the next_cursor of the page before, until has_more is false:
for await (const page of client.paginate(client.user.followers, { username: "instagram" }, { maxPages: 4 })) {
for (const follower of page.users) console.log(follower.username); }
maxPages unless you mean to read the whole list.paginate takes the method itself (client.user.followers), its parameters, and options: maxPages, signal and withMeta. A cursor in the parameters starts the walk from a page you already have.cursor can be paginated, and the compiler refuses the rest. The Paged column of the methods table marks them, and ENDPOINTS (exported) has a paged flag on each.next_cursor back as cursor and keep every other parameter the same. A cursor is opaque. A cursor the API did not return gives bad_request.user.posts returns up to 9 items a page, user.followers and user.following up to 25. The Paged column of the methods table shows the size wherever the spec gives one.TikTok calls live under client.tiktok. An account is named by { username }.
await client.tiktok.video({ url }); // one video or photo post, short links too
await client.tiktok.user.profile({ username }); // followers, following, likes, video count await client.tiktok.user.videos({ username }); // newest first, paged await client.tiktok.user.stories({ username }); // stories up now await client.tiktok.user.followers({ username }); // paged await client.tiktok.user.following({ username }); // paged await client.tiktok.user.reposts({ username }); // paged
videos, followers, following and reposts take cursor and return next_cursor, so client.paginate follows them. Page size follows TikTok and varies by endpoint.hidden: true.null when it is not exact. File links are temporary: save the files right away.tiktok.user.videos, video_url is null. To get the file of one video, call tiktok.video or download with its url.client.download({ url }) takes the link of an Instagram post, reel or IGTV, or of a TikTok video or photo post (short links too), and returns the file links: the video (TikTok's without the watermark), every picture of a carousel or photo post, the cover, and for TikTok the soundtrack. It returns files only; for the numbers use post.get or tiktok.video. The price is fixed per call: $0.50 per 1,000 for an Instagram link and $0.20 per 1,000 for a TikTok link.
const { platform, media } = await client.download({ url: "https://www.instagram.com/reel/DdY3MUJCfby/" });
for (const file of media) console.log(file.type, file.url);
File links are temporary, so download them right away. client.account() also shows the download prices as download_price_usd.
The same data is available to AI assistants at https://storiesfly.com/mcp, with no code. Details: https://storiesfly.com/developers/mcp.
claude mcp add --transport http storiesfly https://storiesfly.com/mcpA call resolves to the parsed body. To see the billing headers too, pass { withMeta: true } as the last argument and the call resolves to { data, meta }:
const { data, meta } = await client.user.profile({ username: "instagram" }, { withMeta: true });
console.log(data.followers); console.log(meta.unitsCharged, meta.balanceRemaining, meta.freeUnitsRemaining);
meta field | Header | Meaning |
|---|---|---|
status | The HTTP status. | |
requestId | X-Request-Id | The id of the call. Quote it when you write to support. |
unitsCharged | X-Units-Charged | Units this call charged. 0 when it was free or was refunded. |
balanceRemaining | X-Balance-Remaining | Your balance after the call, in US dollars with four decimals. A string, so no float rounds it. |
freeUnitsRemaining | X-Free-Units-Remaining | Free units you have left. |
rateLimitLimit | X-RateLimit-Limit | Requests per second your account may send. |
rateLimitRemaining | X-RateLimit-Remaining | Requests left in the current second. |
A header the answer did not carry is null. The meta is returned per call and not kept on the client (there is no lastResponse), so calls that run at the same time cannot overwrite each other's numbers. With paginate, { withMeta: true } yields { data, meta } for each page.
Every call that does not return data throws StoriesFlyError. Test code, not message:
import { StoriesFly, StoriesFlyError } from "storiesfly";
try { await client.user.stories({ username: "some_private_account" }); } catch (err) { if (!(err instanceof StoriesFlyError)) throw err;
console.log(err.status); // HTTP status; 0 when no answer came console.log(err.code); // "private_account" console.log(err.requestId); // quote it to support console.log(err.retryAfterMs); // from Retry-After, when the API sent one console.log(err.meta?.unitsCharged); // what this failed call was charged }
Other fields: fields (with bad_request, the names of the refused parameters), linkUrl (with telegram_required, the link that links your account to Telegram), url (the URL called; it holds no key) and body (the parsed error body).
You are charged for answers: a 200, not_found and private_account. A wrong parameter, a rate limit and an empty balance cost nothing, and a failure on our side is refunded. err.meta.unitsCharged and X-Units-Charged say what a call took.
| Status | code | Charged | When |
|---|---|---|---|
| 200 | yes | The data. | |
| 404 | not_found | yes | Nothing was found for this request. |
| 403 | private_account | yes | The call reached a private account. |
| 400 | bad_request | no | A parameter is missing or invalid. fields names it. |
| 401 | unauthorized | no | The key is missing or wrong. |
| 402 | credits_exhausted | no | No credits left. Top up your balance. |
| 403 | telegram_required | no | The account behind the key is not linked to Telegram. linkUrl has the link. |
| 404 | unknown_endpoint | no | No such endpoint. |
| 429 | rate_limited | no | Too many requests per second. |
| 500 | internal_error | refunded | A fault on our side. |
| 503 | upstream_unavailable | refunded | The data is not available right now. Try again shortly. |
The client adds three codes of its own, with status 0 when no answer came: timeout (no answer within timeoutMs), network_error (fetch failed; the error has the cause) and invalid_response (an answer that is not in the documented shape, such as a proxy's error page; the status and the body are kept).
429 is retried up to maxRetries times (2 by default). The client waits for the Retry-After the API sent, or half a second and then longer when it sent none. A Retry-After longer than 30 seconds is not waited out: the error is thrown at once, with retryAfterMs set.402 is never retried: another call would not change it.500 or 503 is refunded, so you can retry it yourself.From $1.50 per 1,000 requests, prepaid. See https://storiesfly.com/developers/pricing.
One unit is one request. Every call takes 1 unit, a page of a list included. Resolving a share link takes 2, and `ac
冒頭だけを表示しています。続きはリポジトリで読めます