google-seo-mcp-claude-code: Instructions file for Codex

AGENTS.md

google-seo-mcp-claude-code AGENTS.md is an instructions file for Codex, OpenCode from mario-hernandez/google-seo-mcp-claude-code. It costs 7,360 tokens per session, scanned A, original, MIT.

An instruction guide for using a Google SEO MCP server with coding agents. It explains the available tools, recommended workflows, evidence rules, and reporting formats.

In plain words
What is it for?
SEO analysis involving Google Search Console, Google Analytics 4, search results, local SEO, and marketing attribution.
Why use it?
It helps an agent use SEO data consistently instead of choosing tools or quoting figures without their source and time period.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: positional $N argument; mentions Claude Code; mentions AGENTS.md.

This is mario-hernandez/google-seo-mcp-claude-code's own configuration. It tells Codex and OpenCode how to work on google-seo-mcp-claude-code itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything google-seo-mcp-claude-code configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to mario-hernandez/google-seo-mcp-claude-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mario-hernandez/google-seo-mcp-claude-code/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/mario-hernandez/google-seo-mcp-claude-code

Made for: Codex, OpenCode.

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 google-seo-mcp-claude-code AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mario-hernandez/google-seo-mcp-claude-code/agents-md.svg)](https://agentmods.dev/instructions/mario-hernandez/google-seo-mcp-claude-code/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/mario-hernandez/google-seo-mcp-claude-code/agents-md"><img src="https://agentmods.dev/badge/instructions/mario-hernandez/google-seo-mcp-claude-code/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 7,360 This file is loaded in full into every session.
When invoked 7,360 The same file โ€” it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file โ€” not that it is safe.
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.07360 $0.07360
Opus 5 $0.03680 $0.03680
Sonnet 5 $0.01472 $0.01472
Haiku 4.5 $0.00736 $0.00736

Measured 8d ago against content hash 3a9db072d4ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

google-seo-mcp-claude-code AGENTS.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 8d 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.

AGENTS.md ยท 458 lines

How it starts

The opening of the file, as written. The whole thing โ€” 458 lines โ€” stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md โ€” Operator's Guide

Drop this file into your agent's context (Claude Code, Cursor, Windsurf) to maximize what the MCP can do. It's the synthesis of three expert perspectives โ€” technical SEO, local SEO + SERP intent, and marketing/growth analytics โ€” into one operating manual.

Table of contents

  1. Mental model โ€” the seven commandments
  2. Tool inventory
  3. Playbooks โ€” when the user says X, run Y
  4. Decision trees
  5. Anti-patterns โ€” what the agent must NOT do
  6. Argument cookbook
  7. Inference workarounds โ€” what this MCP doesn't measure but you can infer
  8. Reporting templates
  9. Edge cases
  10. Output formatting rules

1. Mental model โ€” the seven commandments

  1. Provenance first. Every tool returns {"data": ..., "_meta": {source, site_url|property, period, fetched_at}}. Quote a number โ†’ quote its _meta.period and _meta.source with it. Cross-platform tools cite TWO periods (GSC has 3-day lag, GA4 has 1-day lag) โ€” quote both.
  2. Cross-platform > single-source. The 6 cross_* tools are the differentiators. Use them first for anything multi-faceted (ROI, attribution, journey, prioritization). Drop into gsc_* / ga4_* only for surgical follow-up.
  3. Diagnoses, not data dumps. Tools like gsc_traffic_drops return classifications (ranking_loss, ctr_collapse, demand_decline). Pass these through; don't replace with your own narrative.
  4. Sessions are vanity. Revenue is sanity. Never report "organic up 40%" without cross_seo_to_revenue_attribution. If revenue didn't move, the win isn't real โ€” it's brand search, bots, or misattributed direct.
  5. Don't extrapolate. GSC 3-day lag means a 7-day window is really 4 usable days. If a tool returns min_metric_p3 < threshold, the row is statistical noise โ€” flag it, don't rank it.
  6. Read-only by default. Destructive ops (sitemap submission) require GSC_ALLOW_DESTRUCTIVE=true. Even when enabled, ask the user before submitting.
  7. This MCP is GSC + GA4 only. No GMB API, no SERP scraper, no AI Overview detector. SERP feature impact must be inferred from click-impression-CTR patterns combined with resource://algorithm-updates โ€” see ยง7 workarounds.

Read the full file on GitHub ยท 458 lines

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. 8d ago First seen ยท 458 lines ยท 7,360 tokens per session scan A 3a9db072d4ac

Subscribe to this mod's changes

google-seo-mcp-claude-code AGENTS.md is an instructions file published in the GitHub repository mario-hernandez/google-seo-mcp-claude-code (11 stars, last pushed 4mo ago), licensed MIT. It adds 7,360 tokens to every session, about $0.0368 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-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js ยท 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex ยท 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode ยท 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode ยท 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain ยท 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart โ€” add a new integration in 5 steps, integration architecture and integrationmanifest โ€” file tracking.

github/spec-kit ยท 7,104 tokens