Video Analyzer MCP Server
Allows downloading Instagram Reels, Posts, and Stories and retrieving video metadata such as direct video URL, thumbnail, caption, author, and engagement metrics.
Allows downloading TikTok videos without watermark and retrieving video metadata such as video URL, thumbnail, caption, author, likes, comments, shares, plays, duration, and music info.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
🎬 Video Analyzer MCP Server
Un server MCP (Model Context Protocol) per scaricare e analizzare video da Instagram e TikTok usando le API di Apify e Google Gemini Flash.
✨ Funzionalità
Download Video Instagram: Scarica Reel, Post e Story da Instagram
Download Video TikTok: Scarica video TikTok (senza watermark)
Analisi AI con Gemini: Analisi completa dei contenuti video
Workflow Combinato: Download + Analisi in un singolo comando
Related MCP server: mcp-video-recognition-bilibili
🛠️ Tools Disponibili
Tool | Descrizione |
| Scarica video da Instagram (Reel/Post/Story) |
| Scarica video da TikTok |
| Analizza un video con Gemini Flash AI |
| Workflow completo: download + analisi |
| Workflow parallelo: download o analisi multipla di URL |
Tipi di Analisi
Tipo | Descrizione |
| Analisi completa (contenuto, sentiment, target, viralità) |
| Riassunto rapido in 3-5 frasi |
| Trascrizione del parlato e testo visibile |
| Descrizione dettagliata del contenuto visivo |
| Analisi del tono e impatto emotivo |
📦 Installazione
1. Clona/Copia i file
# Crea la directory
mkdir -p ~/mcp-servers/video-analyzer
cd ~/mcp-servers/video-analyzer
# Copia i file del progetto
# server.py, requirements.txt, .env.example2. Installa le dipendenze
# Con pip
pip install -r requirements.txt
# Oppure con uv (consigliato)
uv pip install -r requirements.txt3. Configura le API Keys
# Copia il file di esempio
cp .env.example .env
# Modifica con le tue chiavi
nano .envOttieni le chiavi:
OpenRouter: openrouter.ai/keys
⚙️ Configurazione MCP Client
Claude Desktop (claude_desktop_config.json)
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"video-analyzer": {
"command": "python",
"args": ["/path/to/video-analyzer-mcp/server.py"],
"env": {
"APIFY_API_TOKEN": "your_apify_token",
"OPENROUTER_API_KEY": "your_openrouter_key"
}
}
}
}Con uv (consigliato per isolamento)
{
"mcpServers": {
"video-analyzer": {
"command": "uv",
"args": [
"run",
"--directory", "/path/to/video-analyzer-mcp",
"python", "server.py"
],
"env": {
"APIFY_API_TOKEN": "your_apify_token",
"OPENROUTER_API_KEY": "your_openrouter_key"
}
}
}
}Cline / VS Code MCP Extension
Aggiungi al tuo settings.json o configurazione MCP:
{
"mcp.servers": {
"video-analyzer": {
"command": "python",
"args": ["/path/to/server.py"],
"env": {
"APIFY_API_TOKEN": "...",
"OPENROUTER_API_KEY": "..."
}
}
}
}🚀 Utilizzo
Esempio 1: Download + Analisi Completa
Analizza questo video TikTok: https://www.tiktok.com/@user/video/123456Il modello userà video_download_and_analyze per:
Rilevare automaticamente la piattaforma
Scaricare il video via Apify
Analizzarlo con Gemini Flash
Restituire metadati + analisi AI
Esempio 2: Solo Download
Scarica questo reel Instagram: https://www.instagram.com/reel/ABC123/Restituisce JSON con:
URL diretto del video
Thumbnail
Metriche (like, commenti, views)
Caption e autore
Esempio 3: Analisi con Prompt Custom
Analizza questo video cercando:
- Prodotti mostrati e brand visibili
- Call-to-action presenti
- Stima del budget di produzione
URL: https://www.tiktok.com/@brand/video/789Esempio 4: Solo Trascrizione
Trascrivi tutto il parlato di questo video Instagram
URL: https://www.instagram.com/p/XYZ/
Tipo analisi: transcriptEsempio 5: Analisi Batch (Parallela)
Analizza questi video in parallelo:
1. https://www.tiktok.com/@user/video/111
2. https://www.instagram.com/reel/222
3. https://www.tiktok.com/@user/video/333Il modello userà batch_video_analyze per scaricare e analizzare tutti i video contemporaneamente, restituendo un report unico.
📊 Output Examples
Download Response (JSON)
{
"status": "success",
"platform": "tiktok",
"video_url": "https://...",
"thumbnail_url": "https://...",
"caption": "Video caption here...",
"author": "username",
"likes": 125000,
"comments": 3200,
"shares": 8500,
"plays": 2500000,
"duration": 45,
"music": {
"title": "Original Sound",
"author": "Creator Name"
}
}Analysis Response (Markdown)
# Video Analysis: TikTok
## Metadata
- **Autore**: @username
- **Piattaforma**: tiktok
- **Like**: 125,000
- **Views**: 2,500,000
## AI Analysis
### Riassunto
Video che mostra un tutorial di cucina rapida...
### Contenuto Visivo
Ambientazione in cucina moderna...
### Sentiment
Tono: Informativo e friendly
Score: 8/10 (positivo)
...🔧 Troubleshooting
Errore: "APIFY_API_TOKEN environment variable is required"
→ Assicurati di aver configurato le variabili d'ambiente nel client MCP
Errore: "No video found at this URL"
→ Il video potrebbe essere privato, eliminato, o l'URL non è valido
Errore: "Video file is too large"
→ Gemini ha un limite di ~50MB per video. Prova con video più corti
Errore: "Rate limit exceeded"
→ Aspetta qualche minuto prima di riprovare (limiti API)
📋 Costi API
Servizio | Costo |
Apify | ~$0.25-0.50 per 1000 video scaricati |
Gemini Flash | ~$0.075 per 1M token input |
Prezzi indicativi, verifica sempre i pricing ufficiali
🛡️ Note sulla Privacy
I video vengono elaborati in memoria e non salvati permanentemente
Le API di terze parti (Apify, Google) potrebbero loggare le richieste
Non utilizzare per scaricare contenuti protetti da copyright senza autorizzazione
📄 Licenza
MIT License - Usa liberamente, ma rispetta i ToS delle piattaforme social.
Creato per l'integrazione con Claude e altri LLM via MCP 🤖
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Instagram, TikTok, YouTube and Threads profiles, posts, comments and transcripts. Runs on Apify.
YouTube and TikTok transcripts, YouTube search and comments as tools. Runs on Apify.
Extract video transcripts, storyboard grids, and cited JSON from YouTube, TikTok, Reels, and X.
Extract timestamped YouTube transcripts, RAG chunks, and creator business emails via Apify.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceDownloads and analyzes videos from platforms like Instagram, YouTube, and TikTok locally, returning keyframes and optional transcripts.MIT
- AlicenseAqualityDmaintenanceAnalyzes images, audio, and video using Google's Gemini AI, with support for downloading videos from URLs such as Bilibili and YouTube.3MIT
- AlicenseAqualityDmaintenanceEnables downloading TikTok videos and photos without watermarks, extracting metadata and analytics, and performing bulk downloads of user profiles via CLI or as an MCP server for AI assistants.51MIT
- AlicenseAqualityCmaintenanceTurns TikTok, Instagram, X/Twitter and Facebook post URLs into video download links plus metadata (title, author, duration, thumbnail), so AI agents can fetch social videos in one tool call.243 npmMIT