Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyAI, memory and agents

Gemini MCP

Lets your AI agent use Google Gemini for images, video, research, speech, code execution and document analysis.

222 stars on GitHubby RLabs-IncLicense MITUpdated 5 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add gemini -e GEMINI_API_KEY="<your value>" -- npx -y @rlabs-inc/gemini-mcp

What to fill in

NameWhat it isRequired
GEMINI_API_KEYYour Google Gemini API key (get one at https://aistudio.google.com/apikey)Yes
GEMINI_OUTPUT_DIRDirectory for generated files (images, videos, audio)No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Generate a 16:9 image of a futuristic city at sunset.
Summarize this YouTube video in bullet points.

What it is

This server connects Claude Code to Google's Gemini 3 models. It offers many tools, from direct queries and web search to image and video generation, text-to-speech and YouTube analysis. It also ships a command line tool called gcli.

What it can do

  • gemini-query: ask Gemini Pro or Flash
  • gemini-generate-image: make images up to 4K
  • gemini-generate-video: make videos with Veo, checked with gemini-check-video
  • gemini-search: web search with citations
  • gemini-run-code: let Gemini write and run Python
  • gemini-youtube: analyze a YouTube video
  • gemini-analyze-document: read PDFs and documents
  • gemini-extract-tables: pull tables from documents

When to use

  • β€ΊWhen you want a second model's opinion while coding
  • β€ΊWhen you want to generate or edit images from your agent
  • β€ΊWhen you want a video or PDF analyzed by Gemini

What you need

A Gemini API key from Google AI Studio, which the readme says is free to get, and Node.js to run npx.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free?

The readme says getting the API key is free. Usage costs depend on Google's terms, which the readme does not describe.

Do I need an API key?

Yes, GEMINI_API_KEY is required.

Where do generated files go?

To ./gemini-output by default. Change it with GEMINI_OUTPUT_DIR.

Can I load fewer tools?

Yes. Use GEMINI_TOOL_PRESET with minimal, text, image, research or media, or list groups in GEMINI_ENABLED_TOOLS.

How long does video take?

The readme says 1 to 5 minutes, and you poll with gemini-check-video.

Is it made by Google?

No. It is a third-party project from RLabs-Inc.

If it does not work

  • β€ΊCheck that GEMINI_API_KEY is set in the claude mcp add command.
  • β€ΊUse GEMINI_TOOL_PRESET to reduce the number of loaded tools if context is tight.
  • β€ΊSet VERBOSE=true to see logs when a tool fails.

5 new skills a week. 1 minute to read.