Contribute
Sign in
Gemini API Docs

Gemini API Docs

Provides tools to search and retrieve Google Gemini API documentation.

10K+pulls3 ToolsPackaged byDocker, with additional security features including SBOMs, provenance, signing, and multi-arch support

About

Gemini API Docs MCP Server

Provides tools to search and retrieve Google Gemini API documentation.

What is an MCP Server?⁠

MCP Info

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/kgprs/gemini-api-docs-mcp/blob/8e8aa1543e1cb5f0bc0b1d5056da48f07a8e6332/Dockerfile⁠
Commit8e8aa1543e1cb5f0bc0b1d5056da48f07a8e6332
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/gemini-api-docs-mcp --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceMIT License

Available Tools (3)

Tools provided by this ServerShort Description
get_capability_pageRetrieves the full content of a specific documentation page by its exact title.
get_current_modelShortcut tool to explicitly retrieve the canonical 'Gemini Models' documentation page.
search_documentationPerforms a standard keyword search on Gemini API documentation.

Tools Details

Tool: get_capability_page

Retrieves the full content of a specific documentation page by its exact title. You can call can this tool WITHOUT arguments first to see a master list of all available page titles. Then, call it again with the exact title you need.

ParametersTypeDescription
capabilitystringThe EXACT title of the documentation page to retrieve (case-sensitive). If you do not know the exact title, OMIT this argument to receive a master list of all available titles.

Tool: get_current_model

Shortcut tool to explicitly retrieve the canonical 'Gemini Models' documentation page. Use this to fast-track finding details about available model variants (Pro, Flash, etc.), their capabilities, versioning, and context window sizes.

Tool: search_documentation

Performs a standard keyword search on Gemini API documentation. CRITICAL: This is a naive keyword search, NOT semantic. Long queries will FAIL. You MUST use VERY SHORT keyword based queries (max 1-3 keywords) focusing only on the most unique terms. Break complex questions into separate, simple queries. It will return the full documentation page for a capability or feature.

ParametersTypeDescription
queriesarrayList of up to 3 SHORT keyword queries. Keep each query under 3 words.
BAD: 'google genai python generate image save bytes' (too specific, will fail).
GOOD: ['function calling', 'imagen parameters', 'save bytes'] (broad, likely to hit).

Use this MCP Server

{
  "mcpServers": {
    "gemini-api-docs": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "mcp/gemini-api-docs-mcp"
      ]
    }
  }
}

Why is it safer to run MCP Servers with Docker?⁠