gemini-understanding
Leverages Google's Gemini API for web and multimodal understanding, including web research with Google Search and URL Context, and analysis of video, audio, documents, and images.
Processes YouTube video URLs to provide summaries, descriptions, or answers about video content using Gemini's video understanding capabilities.
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., "@gemini-understandingSummarize this video and give me the key takeaways"
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.
gemini-understanding
A deliberately small MCP server exposing Gemini's web and multimodal understanding through five tools:
webvideoaudiodocumentimage
The server uses the Gemini Interactions API. It does not inspect content to guess its modality. The calling agent chooses the tool, and Gemini returns the provider-side error when a modality, MIME type, URL, model, or thinking-level combination is invalid.
Tool behavior
web
Input:
{
"prompt": "Research the latest development and also read https://example.com/page"
}Both Gemini server tools are enabled on every call:
Google Search
URL Context
Use this for general web research and ordinary webpages. Use one of the typed tools for direct media/file URLs.
video, audio, document, and image
All four tools share this input:
{
"source": "a local path or public HTTP(S) URL",
"prompt": "What should Gemini do with it?",
"mimeType": "optional MIME type hint"
}Examples:
{
"source": "https://www.youtube.com/watch?v=...",
"prompt": "Summarize this video"
}{
"source": "https://example.com/video.mp4",
"prompt": "Describe the video",
"mimeType": "video/mp4"
}{
"source": "/workspace/report.pdf",
"prompt": "Summarize the conclusions"
}For remote sources, the URL is passed directly as a typed Gemini URI. YouTube is handled by calling video and normally omitting mimeType.
For local sources, the server:
resolves the path relative to the MCP server's working directory;
uploads it with the Gemini Files API;
waits for processing;
sends the uploaded URI as the caller-selected modality;
deletes the temporary upload.
The SDK infers local MIME types from file extensions when possible. The server performs no MIME sniffing, URL header probing, extension-based modality routing, or automatic fallback to another tool.
Related MCP server: gemini-mcp
Configuration
GEMINI_API_KEY required
GEMINI_MODEL default: gemini-3.5-flash-lite
GEMINI_THINKING_LEVEL default: highCustom model and thinking-level strings are passed through without compatibility validation.
Install from GitHub
claude mcp add gemini-understanding -s user -- \
env GEMINI_API_KEY=YOUR_KEY \
npx -y github:sandlong/gemini-understandingWith explicit optional settings:
claude mcp add gemini-understanding -s user -- \
env GEMINI_API_KEY=YOUR_KEY \
GEMINI_MODEL=gemini-3.5-flash-lite \
GEMINI_THINKING_LEVEL=high \
npx -y github:sandlong/gemini-understandingLocal development
npm install
npm test
npm run buildRun the stdio server:
GEMINI_API_KEY=YOUR_KEY npm startError behavior
The server does not silently correct or reroute failed requests. Tool errors include the tool name, processing stage, configured model, thinking level, source where applicable, and the original Gemini status/code/message when available.
Local paths that do not exist fail at the filesystem stage because no API request can be constructed. Temporary-upload cleanup failures are non-fatal and are reported as warnings.
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.
Related MCP Servers
- AlicenseAqualityBmaintenanceAn MCP server that exposes Gemini's Deep Research Agent for comprehensive web research.Last updated1384MIT
- Flicense-qualityDmaintenanceMinimal MCP server that provides access to Google's Gemini API with Google Search grounding for up-to-date information through a single ask_gemini tool.Last updated
- Alicense-qualityCmaintenanceMCP server for Google's Gemini API, enabling text, image, video, speech, embeddings, and deep research capabilities through a single tool set.Last updatedMIT
- Alicense-qualityCmaintenanceRemote MCP server that exposes Google Gemini's text, image, video (Veo), and audio transcription capabilities as tools any MCP client can call directly.Last updated66MIT
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for Google Veo AI video generation
MCP server for AI dialogue using various LLM models via AceDataCloud
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/sandlong/gemini-understanding'
If you have feedback or need assistance with the MCP directory API, please join our Discord server