gemini-api-docs-mcp-ext GEMINI.md

gemini-api-docs-mcp-ext GEMINI.md is an instructions file for Gemini CLI from derailed-dash/gemini-api-docs-mcp-ext. It costs 237 tokens per session, scanned A, original, MIT.

Instruction notes for using a tool that searches Google’s official Gemini API documentation. Gemini is Google’s family of AI models and programming interfaces.

In plain words
What is it for?
Use it when building with Gemini models or SDKs, including features such as context caching, function calling, and structured outputs.
Why use it?
It gives an agent a defined way to find current API details, examples, model information, and recommended implementation practices.

Instructions file for Gemini CLI

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/derailed-dash/gemini-api-docs-mcp-ext/gemini-md
Clone the repo
git clone --depth 1 https://github.com/derailed-dash/gemini-api-docs-mcp-ext

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gemini-api-docs-mcp-ext GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/derailed-dash/gemini-api-docs-mcp-ext/gemini-md.svg)](https://agentmods.dev/instructions/derailed-dash/gemini-api-docs-mcp-ext/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/derailed-dash/gemini-api-docs-mcp-ext/gemini-md"><img src="https://agentmods.dev/badge/instructions/derailed-dash/gemini-api-docs-mcp-ext/gemini-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 237 This file is loaded in full into every session.
When invoked 237 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00237 $0.00237
Opus 5 $0.00118 $0.00118
Sonnet 5 $0.00047 $0.00047
Haiku 4.5 $0.00024 $0.00024

Measured 5d ago against content hash 2c76a279b30e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

gemini-api-docs-mcp-ext GEMINI.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

GEMINI.md · 29 lines

What it actually says

Gemini API Documentation Agent Instructions

This extension provides tools to access official Google Gemini API documentation using the gemini-api-docs-mcp server.

Capabilities

  • Search for documentation on Gemini API features, models, and SDKs.
  • Retrieve detailed coding examples and best practices for implementing Gemini API solutions.
  • Access the latest technical specifications for Gemini models (e.g. Flash, Pro models).

When to Use

Use these tools when the user:

  • Asks for help with Gemini API integration or SDK usage.
  • Needs to know the capabilities of specific Gemini models.
  • Wants to understand advanced features like Context Caching, Function Calling, or Structured Outputs.
  • Requires current, authoritative information from the official documentation.

Best Practices

  • Always prefer searching the documentation for the most accurate and up-to-date information.
  • When providing code snippets, prioritize those found in the official docs or adapted from them.
  • Reference the official Gemini API documentation when explaining concepts or features.

Official Reference

For more context on the purpose of this extension, refer to: Build coding agents with Gemini

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 29 lines · 237 tokens per session scan A 2c76a279b30e

Subscribe to this mod's changes

gemini-api-docs-mcp-ext GEMINI.md is an instructions file published in the GitHub repository derailed-dash/gemini-api-docs-mcp-ext (1 stars, last pushed 5mo ago), licensed MIT. It adds 237 tokens to every session, about $0.0012 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.