SA

supadata-ai/mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

63 stars 10 forks 品質 86 トレンド 33MIT

公式Supadata MCP サーバー - Cursor、Claude、その他のLMクライアントに強力なビデオ&ウェブスクレイピングを追加します.

概要

ビデオトランスクリプト抽出、Webスクレイピング、クロール、サイトディスカバリー用のSuppadataと統合するモデルコンテキストプロトコル(MCP)サーバー。 - YouTube、TikTok、Instagram、Twitter、ファイルURLから - Webスクレイピング、クロール、URLディスカバリー - YouTube、TikTok、Instagram、Twitterからメディアメタデータ検索 - ビデオコンテンツからAIを搭載した構造データ抽出 - 自動検索とレート制限 Claude、ChatGPT、Cursor、Windsurf、VSコードなどのクライアントのセットアップ手順については、統合ガイドを参照してください.

概要(AI 翻訳)

ビデオトランスクリプト抽出、Webスクレイピング、クロール、サイトディスカバリー用のSuppadataと統合するモデルコンテキストプロトコル(MCP)サーバー。

##特徴

-YouTube、TikTok、Instagram、Twitter、ファイルURLからのビデオトランスクリプト抽出

  • Webスクレイピング、クロール、URLディスカバリー
  • YouTube、TikTok、Instagram、Twitterのメディアメタデータ検索
  • ビデオコンテンツからAIを活用した構造データ抽出

インストール

Claude、ChatGPT、Cursor、Windsurf、VSコードなどのクライアントのセットアップ手順については、統合ガイドを参照してください。

ランニング

##Stdio (デフォルト)

パッケージを実行すると、stdio で MCP サーバーが起動します。 MCP クライアントとは (デスクトップ、カーソル、VSコード、Windsurf、…) は、サーバーをスポーンするときに使用します。

クライアントの設定例:

ストリーム可能な HTTP (ホスト)

同じツールは、Cloudflare Worker の Streamable HTTP 経由で提供されます。 [src/worker.ts] に OAuth 2.1 で [https://api.supadata.ai/mcp] にデプロイされます。 [npm run devでローカルで実行します。 直接[x-api-keyヘッダー /mcpでも認証も受け付けています。

OAuth 接続は 30 日後に使用され、期限が切れる間に生き残ります 使用しないで.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Supadata MCP Server

A Model Context Protocol (MCP) server that integrates with Supadata for video transcript extraction, web scraping, crawling, and site discovery.

Features

  • Video transcript extraction from YouTube, TikTok, Instagram, Twitter, and file URLs
  • Web scraping, crawling, and URL discovery
  • Media metadata retrieval from YouTube, TikTok, Instagram, and Twitter
  • AI-powered structured data extraction from video content

Installation

For setup instructions for Claude, ChatGPT, Cursor, Windsurf, VS Code, and other clients, see the integration guide.

Running

Stdio (default)

Running the package starts an MCP server on stdio. This is what MCP clients (Claude Desktop, Cursor, VS Code, Windsurf, …) use when they spawn the server:

SUPADATA_API_KEY=your-api-key npx -y @supadata/mcp

Example client configuration:

{
  "mcpServers": {
    "supadata": {
      "command": "npx",
      "args": ["-y", "@supadata/mcp"],
      "env": { "SUPADATA_API_KEY": "your-api-key" }
    }
  }
}

Streamable HTTP (hosted)

The same tools are served over Streamable HTTP by the Cloudflare Worker in src/worker.ts, deployed at https://api.supadata.ai/mcp with OAuth 2.1. Run it locally with npm run dev (wrangler). Direct x-api-key header authentication is also accepted on /mcp.

An OAuth connection stays alive while it is used and expires after 30 days without use. Then clients have to log in again; Codex keeps retrying the expired login instead of asking, so run codex mcp login supadata if Supadata tools stop working in Codex.

Configuration

Environment Variables

  • SUPADATA_API_KEY: Your Supadata API key (required for the stdio server). Get one at dash.supadata.ai
  • DEBUG: set to true for verbose logging
  • RUN_STDIO: set to true to force the stdio server to start when the module is imported rather than executed directly

How to Choose a Tool

Select the right tool based on your needs:

  • Transcript: Extract video transcripts from platforms and file URLs
  • Scrape: Extract content from a single page when you know the exact URL
  • Map: Discover all available URLs on a website
  • Crawl: Extract content from multiple related pages comprehensively
  • Metadata: Fetch metadata from media URLs (YouTube, TikTok, Instagram, Twitter)
  • Extract: Extract structured data from video content using AI
Tool Best for Returns
transcript Video transcript extraction text/markdown
metadata Media metadata retrieval JSON object
extract AI-powered structured extraction JSON object
scrape Single page content markdown/html
map URL discovery on a site URL[]
GitHub で README 全文を見る

インストール

npx -y @supadata/mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "supadata": { "command": "npx", "args": ["-y", "@supadata/mcp"], "env": { "SUPADATA_API_KEY": "your-api-key" } } } }