Purpose
Supadata MCP Server is a Model Context Protocol (MCP) server used to integrate Supadata's video and web data capabilities into Cursor, Claude, and other LLM clients. It is aimed at developers and creators who need to obtain content from video platforms and web pages, providing features such as transcript extraction, web scraping, crawling, site discovery, media metadata retrieval, and AI structured data extraction.
Main Capabilities
- Video transcript extraction: supports YouTube, TikTok, Instagram, Twitter, and file URLs.
- Web scraping, crawling, and URL discovery.
- Media metadata retrieval: supports YouTube, TikTok, Instagram, Twitter, returning platform information, title, description, author details, engagement data, media details, tags, and creation date.
- AI-powered structured data extraction from video content.
Available Tools
- Transcript (supadata_transcript): Extract transcripts from supported video platforms and file URLs.
- Check Transcript Status (supadata_check_transcript_status): Check transcript extraction progress using a task ID.
- Metadata (supadata_metadata): Retrieve metadata for media URLs from supported platforms.
- Extract (supadata_extract): Use AI to extract structured data from a video URL. You can provide an extraction prompt, a JSON Schema for the output format, or both, and it returns a task ID for asynchronous processing.
- Check Extract Status (supadata_check_extract_status): Check extraction task progress using a task ID.
- Scrape (supadata_scrape): Extract content from a single URL, with advanced options supported.
- Map (supadata_map): Discover all indexed URLs on a website so you can find relevant pages before scraping.
- Crawl (supadata_crawl): Start an asynchronous crawl task to extract content from multiple pages on a site.
- Check Crawl Status (supadata_check_crawl_status): Check crawl task progress using a task ID.
Usage
Tool Selection
- Transcript: Extract video transcripts from platforms and file URLs.
- Scrape: When the exact URL is known, extract content from a single page.
- Map: Discover all available URLs on a website.
- Crawl: Comprehensively extract content from multiple related pages.
- Metadata: Retrieve metadata for media URLs (YouTube, TikTok, Instagram, Twitter).
- Extract: Use AI to extract structured data from video content.
Stdio (Default)
Running this package starts the MCP server on stdio. MCP clients (Claude Desktop, Cursor, VS Code, Windsurf, etc.) use this method when starting the server. See the repository for an example client configuration.
Streamable HTTP (Hosted)
The same tools are provided via Streamable HTTP through the Cloudflare Worker in src/worker.ts, deployed at https://api.supadata.ai/mcp,使用 OAuth 2.1. Can be run locally via npm run dev (wrangler). Direct x-api-key header authentication is also accepted on /mcp. OAuth connections remain valid while in use and expire after 30 days of inactivity, after which the client must log in again; Codex will keep retrying an expired login without prompting, so if the Supadata tools stop working in Codex, run codex mcp login supadata.
Environment Variables
- SUPADATA_API_KEY: Your Supadata API key (required for the stdio server). Obtain it at dash.supadata.ai.
- DEBUG: Set to true to enable verbose logging.
- RUN_STDIO: Set to true to force the stdio server to start when the module is imported rather than executed directly.
Integration Guide
For setup instructions for Claude, ChatGPT, Cursor, Windsurf, VS Code, and other clients, see the integration guide.
When to Use
Suitable for scenarios that require connecting video captions, web content, media metadata, or structured video data to LLM clients, such as content analysis, data collection, automated workflows, and more.
Limitations
- The stdio server requires SUPADATA_API_KEY.
- OAuth connections expire after 30 days of inactivity and require logging in again.
- The specific supported platforms and features are subject to the official documentation.
Contributing and License
- Contribution process: Fork the repository, create a feature branch, run tests (npm test), and submit a pull request.
- License: MIT License, see the LICENSE file for details.