openmedia-mcp
Provides tools for working with YouTube videos, including metadata inspection, frame extraction, transcript/caption retrieval, and downloading video from YouTube URLs with resolution control and caching.
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., "@openmedia-mcpPull the first page of this PDF as an image and describe the layout"
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.
openmedia-mcp
Context-efficient MCP server suite for extracting, analyzing and manipulating media — images, PDFs, video, audio — designed for AI agents.
Works with any MCP-compatible harness (opencode, Claude Code/Desktop, Cursor, Windsurf, Cline, LM Studio, ...) over stdio, streamable HTTP, or SSE.
Why
Multimodal models can see, but most harnesses give them no clean way to look at a video, a scanned PDF, or a 20 MB photo without either failing or burning enormous context. openmedia-mcp fixes that with hard rules:
Every visual output is downscaled + recompressed before it reaches the model (configurable max dimension / JPEG quality).
Every text output is capped with an explicit truncation marker telling the model how to fetch more.
Frame/page caps per call (12 frames, 8 pages) prevent accidental context floods.
URLs are first-class: video page URLs (YouTube + 1000+ sites via yt-dlp) are fetched once at ≤720p and cached; direct file URLs are cached with a size cap.
Related MCP server: Vision MCP Server
Requirements
Python ≥ 3.10 plus system binaries (all resolved at call time with actionable error messages — only the tools you actually call need their binary):
Binary | Needed for | Arch package |
| video, audio |
|
| video URLs, downloads |
|
|
| |
| image_ocr, pdf_ocr |
|
Optional: pip install 'openmedia-mcp[whisper]' enables local speech-to-text
(audio_transcribe) via faster-whisper.
Install & run
# From a local checkout
uv run --project /path/to/openmedia-mcp openmedia-mcp
# Or install as a tool
uv tool install git+https://github.com/Builderstar/openmedia-mcp.git
openmedia-mcp --tools pdf,imageopencode
{
"mcp": {
"openmedia": {
"type": "local",
"command": ["uv", "run", "--project", "/home/you/projects/openmedia-mcp", "openmedia-mcp"]
}
}
}Claude Desktop / generic MCP config
{
"mcpServers": {
"openmedia": {
"command": "uv",
"args": ["run", "--project", "/home/you/projects/openmedia-mcp", "openmedia-mcp"]
}
}
}HTTP transport
openmedia-mcp --transport streamable-http --host 127.0.0.1 --port 8756Toolsets
Mount only what a given harness needs with --tools image,pdf,video,audio
(default: all). media_probe is always available.
image
Tool | Purpose |
| See an image (auto-downscaled); |
| Format, dimensions, EXIF summary — no pixels spent |
| Tesseract text extraction |
| crop / resize / rotate / flip / grayscale / format convert |
| Two images side-by-side in one composite |
Tool | Purpose |
| Metadata + detects whether a text layer exists |
| Text-layer extraction (page ranges, layout mode) |
| Render pages as images for the model (scans, figures, layout) |
| Tesseract OCR for scanned PDFs |
| Pull embedded figures/photos to disk |
video
Tool | Purpose |
| ffprobe for files; yt-dlp metadata for URLs (no download) |
| See the video: uniform sampling or exact timestamps |
| Captions via yt-dlp (URLs) or embedded subs (files) |
| yt-dlp download with resolution control |
| Cut sections (stream-copy or re-encode) |
| Audio track to mp3/m4a/wav/flac/opus |
audio
Tool | Purpose |
| Codec, duration, tags |
| Format/bitrate/sample-rate/mono conversion |
| Lossless section cut |
| See the waveform as an image |
| Local Whisper STT (optional |
Configuration (env vars)
Variable | Default | Meaning |
|
| URL/video download cache |
|
| Default output location |
|
| Default max chars for text outputs |
|
| Default longest edge for returned images |
|
| Default JPEG quality |
|
| Direct-URL download cap |
Security and privacy
This server acts with the permissions of the user who starts it. Its tools can read local media, fetch URLs, run media-processing binaries, and write to caller-selected output paths. Tool responses may include absolute paths and media metadata. Only connect trusted MCP clients.
The HTTP transports do not provide authentication. They bind to loopback by default; do not expose them to another host or an untrusted network without a separate authenticated proxy and network policy. URL fetching can reach addresses visible from the host, including private-network services.
The optional Whisper tool downloads and caches the base faster-whisper model
on first use. Prepare that model cache in advance for offline operation.
Development
uv sync # install deps
uv run python tests/smoke_test.py [sample-video.mp4] # exercises every toolThe smoke test generates its own test image and PDF; pass any local video file to also cover the video/audio toolsets.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to process files locally — OCR images, extract text from PDFs and DOCX, and describe images using local vision models, all without sending data to external services.
- AlicenseAqualityDmaintenanceEnables AI agents to analyze images, extract text, compare images, and analyze video through any OpenAI-compatible vision model.455019MIT
- AlicenseNot gradedqualityAmaintenanceEnables agents to analyze long videos by downloading them, extracting transcripts and storyboards, and zooming into specific moments with high-resolution frames and OCR.MIT
- AlicenseNot gradedqualityBmaintenanceEnables text-only coding models to read images, PDFs, presentations, spreadsheets, and other non-text files through a single analyze_media tool, combining local document extraction, OCR, and optional vision models with clear evidence labeling.1MIT
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
15 media & data tools for AI agents: search, transcribe, subtitles, voiceover, translate & more.
Transform video, audio and images, and generate media from prompts. FFmpeg, captions, models.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Builderstar/openmedia-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server