loading…
Search for a command to run...
loading…
Enables users to search and fetch Google's Gemini API documentation directly within an MCP-compliant environment. It provides structured access to guides and re
Enables users to search and fetch Google's Gemini API documentation directly within an MCP-compliant environment. It provides structured access to guides and references for features like function calling, embeddings, and text generation.
An MCP (Model Context Protocol) server that provides tools to search and fetch Google's Gemini API documentation.
npm install
npm run build
node dist/index.js
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"gemini-docs": {
"command": "node",
"args": ["/path/to/gemini-docs-mcp/dist/index.js"]
}
}
}
search_gemini_docsSearch the Gemini API documentation for relevant pages.
Parameters:
query (string, required): Search query (e.g., "function calling", "embeddings")max_results (number, optional): Maximum results to return (1-20, default: 10)response_format (string, optional): Output format - "markdown" or "json" (default: "markdown")Example:
{
"query": "function calling",
"max_results": 5,
"response_format": "json"
}
fetch_gemini_docFetch and parse a specific Gemini API documentation page.
Parameters:
path (string, required): Documentation path (e.g., "embeddings", "function-calling"). Use empty string for the main overview page.response_format (string, optional): Output format - "markdown" or "json" (default: "markdown")Common paths:
"" - Main overview pagequickstart - Getting started guidefunction-calling - Function calling / tool useembeddings - Text embeddingsstructured-output - JSON structured outputtext-generation - Text generation basicsimage-understanding - Vision / image analysislive - Live API (real-time streaming)api-key - API key setupmodels - Available modelsExample:
{
"path": "function-calling",
"response_format": "markdown"
}
# Install dependencies
npm install
# Development mode with auto-reload
npm run dev
# Build
npm run build
# Run tests
npm run test
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"gemini-docs-mcp-server": {
"command": "npx",
"args": []
}
}
}