MCPdir β€” MCP Server Directory
πŸ‡¬πŸ‡§ πŸ‡ͺπŸ‡Έ

OpenCV MCP Server

by GongRzhe

Image and video processing with computer vision through AI assistants

ai-ml Python Intermediate Self-hostable No API key
⭐ 96 stars πŸ“… Updated: 6mo ago

Description

An MCP server providing OpenCV's image and video processing capabilities. Offers 22+ tools spanning image basics (resize, crop, color conversion), processing (filters, edge detection, thresholding, contours), computer vision (feature detection with SIFT/ORB/BRISK, face detection, YOLO object detection), and video processing (frame extraction, motion detection, object tracking, webcam integration). Supports real-time camera detection and video output generation.

βœ… Best for

Developers needing computer vision capabilities accessible through AI assistants

⏭️ Skip if

You only need basic image resizing or prefer a cloud-based vision API

πŸ’‘ Use cases

  • Analyzing and processing images through AI assistant commands
  • Detecting objects and faces in images and video streams
  • Extracting and matching features across multiple images
  • Processing video for motion detection and object tracking
  • Real-time webcam-based object detection

πŸ‘ Pros

  • βœ“ Comprehensive 22+ tool set covering image, video, and computer vision
  • βœ“ Real-time camera integration for live processing
  • βœ“ Multiple detection methods (SIFT, ORB, BRISK, YOLO, Haar cascades)
  • βœ“ No API key required β€” fully local processing

πŸ‘Ž Cons

  • βœ— Heavy dependencies (OpenCV, numpy, optional DNN models)
  • βœ— YOLO model files need separate download for object detection
  • βœ— Video processing can be CPU-intensive

πŸ”§ Exposed tools (11 tools)

ToolCategoryDescription
detect_features_toolcomputer-visionFeature extraction using SIFT, ORB, and BRISK algorithms
detect_faces_toolcomputer-visionFace detection via Haar cascades and DNN models
detect_objects_toolcomputer-visionYOLO-based object recognition in images
resize_image_toolimage-basicsScale images to specified dimensions
apply_filter_toolimage-processingApply blur, gaussian, median, and bilateral filters
detect_edges_toolimage-processingEdge detection via Canny, Sobel, Laplacian, and Scharr methods
detect_contours_toolimage-processingLocate and visualize contours in images
extract_video_frames_toolvideo-processingExtract frame sequences from video files
detect_motion_toolvideo-processingAnalyze motion between consecutive video frames
track_object_toolvideo-processingMulti-frame object trajectory monitoring
detect_camera_objects_toolvideo-processingReal-time webcam object detection

πŸ’‘ Tips & tricks

Set OPENCV_DNN_MODELS_DIR to your models directory for YOLO detection. Use detect_features_tool with SIFT for best accuracy or ORB for speed.

Quick info

Author
GongRzhe
License
MIT
Runtime
Python 3.10+
Transport
stdio
Category
ai-ml
Difficulty
Intermediate
Self-hostable
βœ…
Auth
β€”
Docker
β€”
Version
1.0.0
Updated
Sep 11, 2025

Client compatibility

  • ❓ Claude Code
  • ❓ Cursor
  • ❓ VS Code Copilot
  • ❓ Gemini CLI
  • ❓ Windsurf
  • ❓ Cline
  • ❓ JetBrains AI
  • ❓ Warp

Platforms

🍎 macOS 🐧 Linux πŸͺŸ Windows