MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Read public Twitter/X data: tweets, profiles, followers, search. No X developer account.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
TWITTRAPI_API_KEY, RAPIDAPI_KEY, RAPIDAPI_HOST, TWITTRAPI_BASE_URL, TWITTRAPI_RESPONSE_FORMAT, TWITTRAPI_X_COOKIE, TWITTRAPI_X_PROXY, TWITTRAPI_X_CHAT_PASSCODEค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
https://mcp.twittrapi.com/mcpเปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"twittrapi": {
"command": "npx",
"args": [
"-y",
"twittrapi-mcp"
],
"env": {
"TWITTRAPI_API_KEY": "ใส่ค่าของคุณ",
"RAPIDAPI_KEY": "ใส่ค่าของคุณ",
"RAPIDAPI_HOST": "ใส่ค่าของคุณ",
"TWITTRAPI_BASE_URL": "ใส่ค่าของคุณ",
"TWITTRAPI_RESPONSE_FORMAT": "ใส่ค่าของคุณ",
"TWITTRAPI_X_COOKIE": "ใส่ค่าของคุณ",
"TWITTRAPI_X_PROXY": "ใส่ค่าของคุณ",
"TWITTRAPI_X_CHAT_PASSCODE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http twittrapi https://mcp.twittrapi.com/mcpclaude mcp add twittrapi --env TWITTRAPI_API_KEY='ใส่ค่าของคุณ' --env RAPIDAPI_KEY='ใส่ค่าของคุณ' --env RAPIDAPI_HOST='ใส่ค่าของคุณ' --env TWITTRAPI_BASE_URL='ใส่ค่าของคุณ' --env TWITTRAPI_RESPONSE_FORMAT='ใส่ค่าของคุณ' --env TWITTRAPI_X_COOKIE='ใส่ค่าของคุณ' --env TWITTRAPI_X_PROXY='ใส่ค่าของคุณ' --env TWITTRAPI_X_CHAT_PASSCODE='ใส่ค่าของคุณ' -- npx -y twittrapi-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"twittrapi": {
"url": "https://mcp.twittrapi.com/mcp"
}
}
}วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"twittrapi": {
"command": "npx",
"args": [
"-y",
"twittrapi-mcp"
],
"env": {
"TWITTRAPI_API_KEY": "ใส่ค่าของคุณ",
"RAPIDAPI_KEY": "ใส่ค่าของคุณ",
"RAPIDAPI_HOST": "ใส่ค่าของคุณ",
"TWITTRAPI_BASE_URL": "ใส่ค่าของคุณ",
"TWITTRAPI_RESPONSE_FORMAT": "ใส่ค่าของคุณ",
"TWITTRAPI_X_COOKIE": "ใส่ค่าของคุณ",
"TWITTRAPI_X_PROXY": "ใส่ค่าของคุณ",
"TWITTRAPI_X_CHAT_PASSCODE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"twittrapi": {
"type": "http",
"url": "https://mcp.twittrapi.com/mcp"
}
}
}วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"twittrapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"twittrapi-mcp"
],
"env": {
"TWITTRAPI_API_KEY": "ใส่ค่าของคุณ",
"RAPIDAPI_KEY": "ใส่ค่าของคุณ",
"RAPIDAPI_HOST": "ใส่ค่าของคุณ",
"TWITTRAPI_BASE_URL": "ใส่ค่าของคุณ",
"TWITTRAPI_RESPONSE_FORMAT": "ใส่ค่าของคุณ",
"TWITTRAPI_X_COOKIE": "ใส่ค่าของคุณ",
"TWITTRAPI_X_PROXY": "ใส่ค่าของคุณ",
"TWITTRAPI_X_CHAT_PASSCODE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://mcp.twittrapi.com/mcpชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
RAPIDAPI_HOST envTWITTRAPI_BASE_URL envTWITTRAPI_RESPONSE_FORMAT envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub twittrapi ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: TWITTRAPI_API_KEY, RAPIDAPI_KEY, TWITTRAPI_X_COOKIE, TWITTRAPI_X_PROXY, TWITTRAPI_X_CHAT_PASSCODE
ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.2.0) เข้า registry 18 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An MCP server for TwittrAPI, a REST API for public Twitter/X data: tweets, profiles, followers, search, lists and communities. It lets Claude, Cursor and other MCP clients read that data, from $0.065 per 1,000 calls and with no X developer account.
Get an API key: twittrapi.com/start · Pricing · Docs · Status · also available on RapidAPI
SDKs and integrations: Python · Node.js · Go · n8n · Make · Apify · LangChain · LlamaIndex · Agent skill · Examples
Not affiliated with X Corp.
Apps that support remote MCP servers can connect by URL instead (available with the hosted release; see twittrapi.com/docs/hosted-mcp):
https://mcp.twittrapi.com/mcp
| Client | Setup |
|---|---|
| Claude.ai / Claude Desktop | Settings > Connectors > Add custom connector, paste the URL, Connect, log in to TwittrAPI and allow access (OAuth) |
| ChatGPT | Settings > Apps & Connectors > Advanced settings > Developer mode, then Create with the URL and OAuth |
| Claude Code | claude mcp add --transport http twittrapi https://mcp.twittrapi.com/mcp (OAuth), or add --header "Authorization: Bearer $TWITTRAPI_API_KEY" |
| Cursor | {"mcpServers": {"twittrapi": {"url": "https://mcp.twittrapi.com/mcp", "headers": {"X-API-KEY": "${env:TWITTRAPI_API_KEY}"}}}} in mcp.json |
| VS Code | {"servers": {"twittrapi": {"type": "http", "url": "https://mcp.twittrapi.com/mcp"}}} in .vscode/mcp.json (OAuth) |
With OAuth the app never sees your API key; calls are billed to your balance like any other call. Connected apps are listed (and can be disconnected) in the dashboard under Connected apps.
Every tool call is one billed API call on your account.
claude mcp add twittrapi --env TWITTRAPI_API_KEY=your-key -- npx -y twittrapi-mcp
Open Settings > Developer > Edit Config and add this to claude_desktop_config.json:
{
"mcpServers": { "twittrapi": { "command": "npx", "args": ["-y", "twittrapi-mcp"], "env": { "TWITTRAPI_API_KEY": "your-key" } } } }
Restart Claude Desktop afterwards.
Add this to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": { "twittrapi": { "command": "npx", "args": ["-y", "twittrapi-mcp"], "env": { "TWITTRAPI_API_KEY": "your-key" } } } }
Any client that can start a stdio server works. The command is npx -y twittrapi-mcp.
| Variable | Required | Description |
|---|---|---|
TWITTRAPI_API_KEY | one of the two keys | Your TwittrAPI key. Sent as the X-API-KEY header. |
RAPIDAPI_KEY | one of the two keys | RapidAPI key. Used only when TWITTRAPI_API_KEY is not set. |
RAPIDAPI_HOST | no | Host of your RapidAPI listing. Default twitter-aio.p.rapidapi.com. |
TWITTRAPI_BASE_URL | no | API base URL for the direct API. Default https://api.twittrapi.com. |
TWITTRAPI_RESPONSE_FORMAT | no | simple (default) or raw. See Response format. |
TWITTRAPI_X_COOKIE | no | Cookie of your own logged-in x.com session. Turns on the account tools together with TWITTRAPI_X_PROXY. |
TWITTRAPI_X_PROXY | no | Your proxy for the account tools, http://user:pass@host:port. |
TWITTRAPI_X_CHAT_PASSCODE | no | Your X Chat passcode. Adds send_dm, accept_dm_request, decline_dm_request and message text in list_dm_conversations. |
If neither key is set, the server still starts and lists its tools, but every call returns an error explaining how to set a key.
If you bought access through RapidAPI, set RAPIDAPI_KEY instead of TWITTRAPI_API_KEY:
"env": { "RAPIDAPI_KEY": "your-rapidapi-key" }
Requests then go to https://twitter-aio.p.rapidapi.com with the x-rapidapi-key and x-rapidapi-host headers. The tools and their output are the same.
Subscribed to another TwittrAPI listing on RapidAPI? Set its host: "RAPIDAPI_HOST": "twttr.p.rapidapi.com".
These tools read public data and are always available. The account tools are added when you configure your X session.
| Tool | What it does |
|---|---|
get_user_by_username | Profile by handle, including the numeric user ID |
get_user_by_id | Profile by numeric user ID |
username_to_id | Resolve a handle to its user ID |
users_by_ids | Profiles for up to 500 user IDs at once |
get_user_tweets | A user's tweets |
get_user_tweets_and_replies | A user's tweets and replies |
get_user_media | A user's tweets with photos or videos |
get_followers | A user's followers |
get_following | Accounts a user follows |
get_verified_followers | A user's verified followers |
get_user_affiliates | Accounts affiliated with an organization |
get_friendships_batch | Whether one account follows up to 50 others, and back |
get_user_about_batch | "About this account" for up to 20 handles |
search_tweets | Search with X operators; Top, Latest, People, Photos or Videos |
get_tweet | A tweet and its reply thread |
tweets_by_ids | Up to 100 tweets by ID at once |
get_tweet_retweets | Users who retweeted a tweet |
get_tweet_quotes | Tweets quoting a tweet |
get_tweet_replies | Only the replies to a tweet |
get_tweet_thread | The author's own thread around a tweet |
get_list_details | List name, owner and counts |
get_list_tweets | Tweets from a list's members |
get_list_members | Members of a list |
get_community | Community details |
get_community_about | A community's About page: rules, moderators, members |
get_community_tweets | Tweets in a community |
search_communities | Find communities by keyword |
get_trends | Trending topics for a location (WOEID) |
get_trend_locations | Locations that have trends, with their WOEIDs |
get_space | An X Space: title, state, host and participants |
The user timeline tools (get_user_tweets, get_followers and so on) accept either userId or username. The batch tools are billed one call per handle; tweets_by_ids is one call however many IDs.
With TWITTRAPI_X_COOKIE and TWITTRAPI_X_PROXY set, the server also lists tools that act on your own X account:
| Tool | What it does |
|---|---|
create_tweet | Post a tweet; optional quote (quoteUrl), poll (pollChoices) and reply limit |
reply_to_tweet | Reply to a tweet |
delete_tweet | Delete one of your tweets |
like_tweet, unlike_tweet | Like or unlike a tweet |
retweet, unretweet | Retweet or undo a retweet |
bookmark_tweet, unbookmark_tweet | Add or remove a bookmark |
follow_user, unfollow_user | Follow or unfollow (by userId or username) |
list_dm_conversations | Your DM inbox |
send_dm | Send a direct message (needs TWITTRAPI_X_CHAT_PASSCODE) |
list_dm_requests | Pending message requests; does not accept them or mark them as seen |
accept_dm_request | Accept a one-to-one request and send the first reply (needs TWITTRAPI_X_CHAT_PASSCODE) |
decline_dm_request | Delete a request from your inbox; the sender is not told (needs TWITTRAPI_X_CHAT_PASSCODE) |
create_list | Create a list |
add_list_member, remove_list_member | Add or remove a list member |
create_draft, list_drafts | Save a draft, list your drafts |
list_bookmark_folders, list_bookmark_folder_tweets | Your bookmark folders and the tweets in one (X Premium) |
search_bookmarks | Search your bookmarks |
list_community_memberships | Communities you are a member of |
list_articles, get_article | Your X Articles, drafts or published, and one article (X Premium) |
create_article, update_article | Save a new article as a draft, change one (X Premium) |
publish_article, unpublish_article, delete_article | Publish, unpublish or delete an article (X Premium) |
How to get the cookie and set up a proxy: twittrapi.com/docs/x-session. The cookie needs auth_token and ct0; direct messages also need twid.
"env": {
"TWITTRAPI_API_KEY": "your-key", "TWITTRAPI_X_COOKIE": "auth_token=...; ct0=...; twid=u%3D...", "TWITTRAPI_X_PROXY": "http://user:pass@host:port" }
readOnlyHint: false (deletions and undo actions also destructiveHint: true), so clients ask before running them.Tool results use the API's simple format by default: flat camelCase JSON with a fixed schema ({"data": [...], "nextCursor": ..., "hasNextPage": ...} for lists, {"data": {...}} for single objects). Tweets carry id, url, text, createdAt, author, counts, media, quoted, retweetOf and a few more fields; users carry username, name, description, counts and so on. That is about 60 % fewer tokens than X's raw GraphQL JSON.
To get the raw JSON instead (for cards, polls, edit history, community notes and other fields the simple format leaves out):
format argument, "simple" or "raw";TWITTRAPI_RESPONSE_FORMAT=raw (the format argument still wins).A few endpoints have no simple format: get_space, get_community_about, the batch tools and the newer account tools (bookmark folders and search, communities, articles). These tools have no format argument and always return raw JSON.
Raw responses can be several hundred KB. Every tool takes an optional max_chars argument (default 50,000, range 1,000 to 1,000,000). Longer output is cut and ends with a [TRUNCATED ...] marker.
Paginated tools print the cursor above the JSON, so truncation never removes it:
next_cursor: DAABCgABGZ...
Pass next_cursor as cursor to get the next page.
{"data":{...}}
On the last page the header read
ตัดมาแค่ช่วงต้น อ่านต่อใน repo