MCP Gemini

v0.3.0
io.github.crunchtools/gemini Checked 4 days ago Published 9 months ago

MCP server for Google Gemini AI - text, image, video, research, and more

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

gemini_query_tool Gemini Query Tool

Query Gemini with a prompt. Supports Google Search grounding.

ParameterTypeDescription
prompt *stringThe prompt to send to Gemini.
modelstringModel to use ('pro' or 'flash').
system_instructionOptional system instruction to guide the response.
use_google_searchbooleanGround response with Google Search results.

gemini_brainstorm_tool Gemini Brainstorm Tool

Brainstorm ideas on a topic using Gemini.

ParameterTypeDescription
topic *stringThe topic to brainstorm about.
contextAdditional context or constraints.
modelstringModel to use.
num_ideasintegerNumber of ideas to generate.

gemini_analyze_code_tool Gemini Analyze Code Tool

Analyze code with Gemini.

ParameterTypeDescription
code *stringThe code to analyze.
focusstringAnalysis focus (general, security, performance, bugs).
languageProgramming language (auto-detected if not specified).
modelstringModel to use.

gemini_analyze_text_tool Gemini Analyze Text Tool

Analyze text with Gemini.

ParameterTypeDescription
text *stringThe text to analyze.
analysis_typestringType of analysis (general, sentiment, tone, summary).
modelstringModel to use.

gemini_summarize_tool Gemini Summarize Tool

Summarize content with Gemini.

ParameterTypeDescription
content *stringThe content to summarize.
formatstringOutput format (paragraph, bullets, outline).
lengthstringSummary length (brief, moderate, detailed).
modelstringModel to use.

gemini_generate_image_tool Gemini Generate Image Tool

Generate an image from a text prompt using Gemini's native image model.

ParameterTypeDescription
prompt *stringDescription of the image to generate.
aspect_ratiostringAspect ratio (1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, etc).
image_sizestringOutput size (1K, 2K, 4K).
styleOptional style modifier (photorealistic, cartoon, watercolor, etc).
use_google_searchbooleanGround with Google Search results.

gemini_generate_image_with_input_tool Gemini Generate Image With Input Tool

Generate/edit an image using a local image file as input. Upload a local image and give Gemini instructions for how to modify it. Use cases: add watermarks, change styles, composite images, etc.

ParameterTypeDescription
file_path *stringAbsolute path to a local image file.
prompt *stringInstructions for what to do with the input image.
_aspect_ratiostringDesired aspect ratio for the output (currently unused).

gemini_image_prompt_tool Gemini Image Prompt Tool

Help craft an effective image generation prompt.

ParameterTypeDescription
description *stringWhat you want the image to show.
modelstringModel to use for prompt crafting.
moodDesired mood or atmosphere.
styleDesired art style (photorealistic, cartoon, watercolor, etc).

gemini_imagen_generate_tool Gemini Imagen Generate Tool

Generate images using Google Imagen 4 models. Models (sorted by price): - imagen-4.0-fast-generate-001 ($0.02/image, fastest) - imagen-4.0-generate-001 ($0.04/image, standard) - imagen-4.0-ultra-generate-001 ($0.06/image, highest quality)

ParameterTypeDescription
prompt *stringDescription of the image to generate.
aspect_ratiostringAspect ratio (1:1, 3:4, 4:3, 9:16, 16:9).
modelstringImagen model to use.
number_of_imagesintegerNumber of images to generate (1-4).

gemini_start_image_edit_tool Gemini Start Image Edit Tool

Start a multi-turn image editing session. Optionally provide an existing image file as the starting point. Without file_path, Gemini generates a new image from the prompt. Use gemini_continue_image_edit_tool to make further edits.

ParameterTypeDescription
prompt *stringInitial prompt (describe image or editing instructions).
file_pathOptional absolute path to a local image to start from.
use_google_searchbooleanGround with Google Search results.

gemini_continue_image_edit_tool Gemini Continue Image Edit Tool

Continue editing in an active image session.

ParameterTypeDescription
prompt *stringEditing instructions (e.g., "make the sky bluer").
session_id *stringThe session ID from gemini_start_image_edit.

gemini_end_image_edit_tool Gemini End Image Edit Tool

End an image editing session and free resources.

ParameterTypeDescription
session_id *stringThe session ID to end.

gemini_list_image_sessions_tool Gemini List Image Sessions Tool

List all active image editing sessions.

gemini_analyze_image_tool Gemini Analyze Image Tool

Analyze and describe a local image file.

ParameterTypeDescription
image_path *stringAbsolute path to the image file.
modelstringModel to use ('pro' or 'flash').
querystringQuestion or instruction about the image.

gemini_search_tool Gemini Search Tool

Search the web using Gemini with Google Search grounding.

ParameterTypeDescription
query *stringThe search query.
modelstringModel to use.

gemini_analyze_document_tool Gemini Analyze Document Tool

Analyze a document (PDF, DOCX, TXT, etc.).

ParameterTypeDescription
file_path *stringAbsolute path to the document.
modelstringModel to use.
questionstringQuestion or instruction about the document.

gemini_summarize_pdf_tool Gemini Summarize Pdf Tool

Summarize a PDF document.

ParameterTypeDescription
file_path *stringAbsolute path to the PDF.
modelstringModel to use.
stylestringSummary style (concise, detailed, executive).

gemini_extract_tables_tool Gemini Extract Tables Tool

Extract tables from a document.

ParameterTypeDescription
file_path *stringAbsolute path to the document.
modelstringModel to use.
output_formatstringOutput format (markdown, csv, json).

gemini_analyze_url_tool Gemini Analyze Url Tool

Analyze one or more URLs.

ParameterTypeDescription
urls *arrayList of URLs to analyze (1-20).
modelstringModel to use.
questionstringQuestion or instruction about the URL content.
use_google_searchbooleanUse Google Search grounding.

gemini_compare_urls_tool Gemini Compare Urls Tool

Compare two URLs.

ParameterTypeDescription
url1 *stringFirst URL.
url2 *stringSecond URL.
aspectstringWhat to compare (content, design, sentiment, features).
modelstringModel to use.

gemini_extract_from_url_tool Gemini Extract From Url Tool

Extract specific data from a URL.

ParameterTypeDescription
url *stringURL to extract data from.
custom_fieldsComma-separated list of custom fields to extract.
data_typestringType of data (text, links, images, structured).
modelstringModel to use.

gemini_generate_video_tool Gemini Generate Video Tool

Generate a video using Veo. Returns an operation ID to poll.

ParameterTypeDescription
prompt *stringDescription of the video to generate.
_aspect_ratiostringVideo aspect ratio (currently unused).
negative_promptWhat to avoid in the video.

gemini_check_video_tool Gemini Check Video Tool

Check the status of a video generation operation.

ParameterTypeDescription
operation_name *stringThe operation name from gemini_generate_video.

gemini_youtube_tool Gemini Youtube Tool

Analyze a YouTube video.

ParameterTypeDescription
url *stringYouTube video URL.
modelstringModel to use.
questionstringQuestion or instruction about the video.

gemini_youtube_summary_tool Gemini Youtube Summary Tool

Summarize a YouTube video.

ParameterTypeDescription
url *stringYouTube video URL.
modelstringModel to use.
stylestringSummary style (concise, detailed, bullet_points).

gemini_speak_tool Gemini Speak Tool

Convert text to speech.

ParameterTypeDescription
text *stringText to convert to speech.
voicestringVoice name (Zephyr, Puck, Charon, Kore, Fenrir, Leda, Orus, Aoede).

gemini_dialogue_tool Gemini Dialogue Tool

Generate multi-voice dialogue audio.

ParameterTypeDescription
text *stringDialogue text with speaker labels.
voice1stringFirst voice name.
voice2stringSecond voice name.

gemini_list_voices_tool Gemini List Voices Tool

List available voices for text-to-speech.

gemini_deep_research_tool Gemini Deep Research Tool

Start a deep research task using a specialized Gemini model. Performs multi-step web research to answer complex questions.

ParameterTypeDescription
query *stringThe research question or topic.

gemini_check_research_tool Gemini Check Research Tool

Check the status of a deep research operation.

ParameterTypeDescription
research_id *stringThe research ID from gemini_deep_research.

gemini_research_followup_tool Gemini Research Followup Tool

Ask a follow-up question about completed research.

ParameterTypeDescription
question *stringFollow-up question.
research_id *stringThe research ID from a previous research operation.

gemini_create_cache_tool Gemini Create Cache Tool

Create a content cache for repeated queries. Upload content once and query it multiple times without re-sending.

ParameterTypeDescription
contentText content to cache (alternative to file_path).
display_namestringHuman-readable name for the cache.
file_pathPath to a file to cache.
modelstringModel to use.
system_instructionSystem instruction for queries against this cache.
ttl_minutesintegerTime-to-live in minutes (default 60).

gemini_query_cache_tool Gemini Query Cache Tool

Query content in a cache.

ParameterTypeDescription
cache_name *stringThe cache name from gemini_create_cache.
question *stringQuestion to ask about the cached content.

gemini_list_caches_tool Gemini List Caches Tool

List all active content caches.

gemini_delete_cache_tool Gemini Delete Cache Tool

Delete a content cache.

ParameterTypeDescription
cache_name *stringThe cache name to delete.

gemini_structured_tool Gemini Structured Tool

Get structured JSON output from Gemini.

ParameterTypeDescription
prompt *stringThe prompt to generate structured output for.
modelstringModel to use.
schemaOptional JSON schema to constrain the output.
use_google_searchbooleanGround response with Google Search.

gemini_extract_tool Gemini Extract Tool

Extract structured data from text.

ParameterTypeDescription
text *stringText to extract data from.
custom_fieldsComma-separated list of custom fields to extract.
extract_typestringType (entities, dates, numbers, contacts, custom).
modelstringModel to use.

gemini_count_tokens_tool Gemini Count Tokens Tool

Count the number of tokens in content.

ParameterTypeDescription
content *stringThe text content to count tokens for.
modelstringModel to count tokens for.

gemini_run_code_tool Gemini Run Code Tool

Execute code using Gemini's built-in code execution. Gemini writes and runs Python code to answer questions, perform calculations, or process data.

ParameterTypeDescription
prompt *stringDescription of what code to write and run.
dataOptional data to process.
modelstringModel to use.