Enhanced Multimedia Analysis MCP
Optimizes video prompts for Instagram's aesthetic-first approach, grid-aware composition, and story integration.
Optimizes video prompts for TikTok's vertical format, hook-first content, and trending sounds.
Optimizes video prompts for YouTube's thumbnail optimization, retention-focused editing, and SEO-ready descriptions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Enhanced Multimedia Analysis MCPanalyze this video of a city skyline at night"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π¬ Enhanced Multimedia Analysis MCP
A Model Context Protocol (MCP) server for professional multimedia content analysis and AI video generation prompt engineering
π Overview
The Enhanced Multimedia Analysis MCP Server is a production-ready Model Context Protocol implementation that provides AI agents with sophisticated tools for analyzing visual content (images and videos) and generating optimized prompts for AI video generation systems.
Core Capabilities
π Systematic multi-dimensional content analysis via hotkey framework
π¨ Professional prompt generation for AI video/image generators
π± Platform-specific optimization (TikTok, Instagram, YouTube, Cinema)
π₯ Character consistency tracking across scenes
π Four analysis depth levels (Quick, Standard, Deep, Comprehensive)
β‘ Quick activation via
/aivslash command
Key Benefits
β Reduces prompt engineering time from hours to minutes β Improves prompt quality through systematic analysis β Enables consistency across multiple generations β Optimizes for platforms automatically β Empowers AI agents with 100+ analysis dimensions
Related MCP server: videoseek-mcp
π Quick Start
Installation
Clone the repository:
git clone https://github.com/yourusername/enhanced-multimedia-analysis-mcp.git cd enhanced-multimedia-analysis-mcpInstall dependencies:
pip install -r requirements.txtInstall the
/aivcommand:./scripts/install_aiv.shConfigure Claude Desktop:
Add to your Claude Desktop configuration (
~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS):{ "mcpServers": { "video-analysis": { "command": "python3", "args": ["/path/to/enhanced-multimedia-analysis-mcp/video_analysis_mcp.py"] } } }Restart Claude Desktop and test:
/aiv sunset over mountains with dramatic clouds
π‘ Usage Examples
Basic Analysis
/aiv A majestic eagle soaring over mountains at sunsetWith Platform Optimization
/aiv 30-second product video --platform Instagram --depth deepCharacter-Focused Analysis
/aiv Detective noir scene --focus character consistency, cinematographyWith Custom Hotkeys
/aiv Epic battle scene --hotkeys A1,C1,L1,E1 --format jsonAvailable Options
Option | Values | Purpose |
| quick|standard|deep|comprehensive | Analysis thoroughness |
| TikTok|Instagram|YouTube|Cinema | Platform optimization |
| comma-separated areas | Targeted analysis |
| markdown|json | Output format |
| comma-separated list | Custom hotkey selection |
| "reference style" | Style reference |
ποΈ Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Claude Desktop / MCP Client β
β Slash Commands: /aiv β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β JSON-RPC 2.0 over stdio
ββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββ
β Video Analysis MCP Server β
β (video_analysis_mcp.py) β
β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β 4 MCP Tools β β
β β β’ video_analysis_analyze_image β β
β β β’ video_analysis_analyze_video β β
β β β’ video_analysis_analyze_multimedia β β
β β β’ video_analysis_get_hotkeys β β
β βββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββ β
β β β
β βββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββ β
β β Analysis Engine (Hotkey-Based) β β
β βββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββ β
β β β
β βββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββ β
β β Prompt Generator β β
β βββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββ β
β β β
β βββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββ β
β β Output Formatter (Markdown/JSON) β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββTechnical Stack
Framework: MCP Python SDK (FastMCP)
Validation: Pydantic v2 models
Python Version: 3.10+
Design Pattern: Tool-oriented, stateless
Communication: JSON-RPC 2.0 over stdio
π Documentation
Master Specification - Complete system documentation
/aiv Command Guide - Slash command usage and examples
Installation Script - Located in
scripts/install_aiv.sh
π§ Configuration
Environment Variables
Configure the MCP server behavior using environment variables:
# Output character limit
export VIDEO_ANALYSIS_CHAR_LIMIT=25000
# Enable debug logging
export VIDEO_ANALYSIS_DEBUG=false
# Enable caching (improves performance)
export VIDEO_ANALYSIS_CACHE_ENABLED=true
export VIDEO_ANALYSIS_CACHE_DIR=/tmp/video_analysis_cache
export VIDEO_ANALYSIS_CACHE_TTL=3600
# Set default analysis depth
export VIDEO_ANALYSIS_DEFAULT_DEPTH=standardClaude Desktop Configuration
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"video-analysis": {
"command": "python3",
"args": ["/path/to/video_analysis_mcp.py"],
"env": {
"VIDEO_ANALYSIS_CHAR_LIMIT": "25000",
"VIDEO_ANALYSIS_CACHE_ENABLED": "true",
"VIDEO_ANALYSIS_CACHE_DIR": "/tmp/video_analysis_cache"
}
}
}
}π― Features
Analysis Framework
The system uses a comprehensive hotkey-based analysis framework with 100+ dimensions organized into categories:
A-Series: Aesthetic & Visual Style (A1-A13)
S-Series: Story & Narrative (S1-S12)
C-Series: Character & Subject (C1-C12)
K-Series: Cinematography (K1-K13)
P-Series: Platform Optimization (P1-P10)
E-Series: Execution & Technical (E1-E12)
Analysis Depths
Depth | Hotkeys | Use Case | Time |
Quick | 4-6 | Fast iterations | 2-5s |
Standard | 8-12 | Balanced analysis | 5-10s |
Deep | 15-25 | Detailed work | 10-20s |
Comprehensive | 30-50 | Production-ready | 20-30s |
Platform Optimizations
TikTok: Vertical format, hook-first, trending sounds
Instagram: Aesthetic-first, grid-aware, story integration
YouTube: Thumbnail optimization, retention focus, SEO
Cinema: Cinematic language, aspect ratios, theatrical quality
π’ Deployment
Docker
docker build -t video-analysis-mcp:1.1.0 .
docker run -d --name video-analysis-mcp video-analysis-mcp:1.1.0Systemd Service
See docs/MASTER_SPECIFICATION.md for complete deployment instructions including:
Systemd service configuration
Kubernetes deployment
Docker Compose setup
Monitoring & observability
π§ͺ Testing
Run comprehensive tests:
python3 -m pytest tests/Test individual tools:
# Test image analysis
python3 -c "from video_analysis_mcp import test_image_analysis; test_image_analysis()"
# Test video analysis
python3 -c "from video_analysis_mcp import test_video_analysis; test_video_analysis()"π Performance
With Caching Enabled
Scenario | No Cache | With Cache | Improvement |
Standard Analysis | 5.2s | 0.08s | 98.5% faster |
Deep Analysis | 12.5s | 0.09s | 99.3% faster |
Quick Analysis | 2.3s | 0.06s | 97.4% faster |
Comprehensive | 25.8s | 0.11s | 99.6% faster |
π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Development Setup
Clone the repository
Install development dependencies:
pip install -r requirements-dev.txtRun tests:
pytest tests/Follow the code style guide (PEP 8)
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
Built on the Model Context Protocol by Anthropic
Uses FastMCP for MCP server implementation
Inspired by professional video production workflows
π Support
Issues: GitHub Issues
Documentation: docs/MASTER_SPECIFICATION.md
Discussions: GitHub Discussions
πΊοΈ Roadmap
Real-time video file analysis
Integration with popular AI video generators
Web interface for prompt generation
Batch processing capabilities
Advanced caching strategies
Multi-language support
Made with β€οΈ for the AI video generation community
Version 1.1.0 | Changelog | Documentation
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/traikdude/enhanced-multimedia-analysis-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server