Video Query MCP Server

Video Query MCP Server

Enables natural language search through personal video collections, returning AI-generated descriptions and direct URLs to relevant 30-second video clips.

Category
Visit Server

README

Video Query MCP Server

An MCP (Model Context Protocol) server that provides video search capabilities using natural language queries. This server interfaces with the Flashback video processing API to search through your personal video collection.

Features

  • 🔍 Natural Language Search: Query videos using everyday language (e.g., "person giving presentation", "dog running in park")
  • 🤖 AI-Generated Descriptions: Returns detailed descriptions of video content including visual analysis and audio transcription
  • 🎬 Video Clips: Get direct URLs to relevant 30-second video segments
  • Fast & Secure: Presigned URLs with 1-hour expiration for secure access
  • 📊 Relevance Scoring: Results ranked by semantic similarity to your query

Setup

Prerequisites

  • Your Flashback account user ID
  • Access to the Flashback video processing system

Configuration

When connecting this MCP server to Poke or other MCP clients, you'll need to provide:

  • user_id: Your unique Flashback account identifier (e.g., 4087fce3-3d86-4047-b35f-4004b4c19192)

Development

  1. Run the server:

    uv run dev
    
  2. Test interactively:

    uv run playground
    

Usage Examples

Query videos:

query_videos("person talking", max_results=5)

Get setup help:

get_setup_instructions()

How It Works

  1. Video Processing: Videos uploaded to Flashback are automatically:

    • Split into ~30-second segments
    • Analyzed with AI for visual content
    • Transcribed for audio content
    • Stored in a searchable vector database
  2. Search Process: When you search:

    • Your query is converted to embeddings
    • The system finds matching video segments
    • Returns descriptions and URLs for relevant clips
  3. Results: Each result includes:

    • AI-generated description of the video content
    • Relevance score (0-1, higher = more relevant)
    • Direct URL to view the video segment
    • Expiration time for the URL

API Reference

Tools

query_videos(query: str, max_results: int = 10) -> str

Search for video clips based on natural language query.

Parameters:

  • query: Natural language description of what you're looking for
  • max_results: Maximum number of results to return (1-15)

Returns: Formatted text with video descriptions and URLs

get_setup_instructions() -> str

Get detailed setup instructions for the video query system.

Returns: Complete setup and usage guide

Resources

  • api://video-processing: Information about the underlying video processing API

Examples

# Search for specific content
query_videos("meeting discussion about deadlines")
query_videos("someone cooking in kitchen")
query_videos("red car driving")

# Limit results
query_videos("presentation", max_results=3)

Troubleshooting

  • No results found: Check that videos have been uploaded to your Flashback account
  • "No description available": Older videos may need to be re-processed for full descriptions
  • Expired URLs: Video URLs expire after 1 hour for security - request fresh results if needed

Technical Details

  • Backend: FastAPI service deployed on Modal
  • Vector Database: Pinecone for semantic search
  • AI Models: Anthropic Claude for visual analysis, OpenAI Whisper for transcription
  • Storage: Google Cloud Storage for video files

Deploy

Ready to deploy? Push your code to GitHub and deploy to Smithery:

  1. Create a new repository at github.com/new

  2. Initialize git and push to GitHub:

    git add .
    git commit -m "Video Query MCP Server 🎬"
    git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git
    git push -u origin main
    
  3. Deploy your server to Smithery at smithery.ai/new

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured