/ Directory / Playground / google-ai-mode-skill
● Community PleasePrompto ⚡ Instant

google-ai-mode-skill

by PleasePrompto · PleasePrompto/google-ai-mode-skill

Free Google AI Mode search with citations, driven by Claude — persistent browser profile, query optimization, token-efficient.

google-ai-mode-skill lets Claude query Google's AI Mode (the AI-overview-style answer surface) via a local headless browser with a persistent profile. It returns the answer + citations for further use, optimized prompts on the way in, and minimizes tokens by returning structured JSON. Good alternative when paid search APIs are overkill.

Why use it

Key features

Live Demo

What it looks like in practice

google-ai-mode-skill.replay ▶ ready
0/0

Install

Pick your client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "google-ai-mode-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PleasePrompto/google-ai-mode-skill",
        "~/.claude/skills/google-ai-mode-skill"
      ],
      "_inferred": true
    }
  }
}

Open Claude Desktop → Settings → Developer → Edit Config. Restart after saving.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "google-ai-mode-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PleasePrompto/google-ai-mode-skill",
        "~/.claude/skills/google-ai-mode-skill"
      ],
      "_inferred": true
    }
  }
}

Cursor uses the same mcpServers schema as Claude Desktop. Project config wins over global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "google-ai-mode-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PleasePrompto/google-ai-mode-skill",
        "~/.claude/skills/google-ai-mode-skill"
      ],
      "_inferred": true
    }
  }
}

Click the MCP Servers icon in the Cline sidebar, then "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "google-ai-mode-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PleasePrompto/google-ai-mode-skill",
        "~/.claude/skills/google-ai-mode-skill"
      ],
      "_inferred": true
    }
  }
}

Same shape as Claude Desktop. Restart Windsurf to pick up changes.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "google-ai-mode-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PleasePrompto/google-ai-mode-skill",
        "~/.claude/skills/google-ai-mode-skill"
      ]
    }
  ]
}

Continue uses an array of server objects rather than a map.

~/.config/zed/settings.json
{
  "context_servers": {
    "google-ai-mode-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/PleasePrompto/google-ai-mode-skill",
          "~/.claude/skills/google-ai-mode-skill"
        ]
      }
    }
  }
}

Add to context_servers. Zed hot-reloads on save.

claude mcp add google-ai-mode-skill -- git clone https://github.com/PleasePrompto/google-ai-mode-skill ~/.claude/skills/google-ai-mode-skill

One-liner. Verify with claude mcp list. Remove with claude mcp remove.

Use Cases

Real-world ways to use google-ai-mode-skill

How to do quick web research without paying for a search API

👤 Solo devs, hobbyists, anyone token-constrained ⏱ ~15 min intermediate

When to use: You want a short, cited answer to a factual question from Google's AI Mode.

Prerequisites
  • Playwright (or the skill's browser of choice) installed — pip install playwright; playwright install chromium
  • Skill cloned — git clone https://github.com/PleasePrompto/google-ai-mode-skill ~/.claude/skills/google-ai-mode-skill
Flow
  1. Seed the profile once
    Run the first-time setup so the browser profile is logged in and past the consent screens.✓ Copied
    → Profile dir populated; no further prompts needed
  2. Query
    Search Google AI Mode: 'What changed in React 19.2 regarding compiler defaults?' — return answer + citations.✓ Copied
    → Short answer + citation URLs
  3. Drill deeper
    Fetch the top two citation pages and reconcile any contradictions.✓ Copied
    → Reconciled summary

Outcome: A cited answer comparable to a paid search API, at $0.

Pitfalls
  • Profile gets logged out — Re-run the seeding flow; don't share the profile across machines
  • Google layout changes and selectors break — Pin the skill version; update when upstream ships a fix
Combine with: filesystem

Add a fact-check pass to any Claude workflow

👤 Anyone producing content they'll publish ⏱ ~30 min intermediate

When to use: Before publishing a post, double-check factual claims.

Flow
  1. Extract claims
    From this draft, extract specific factual claims that are worth checking.✓ Copied
    → Claim list with verifiability notes
  2. Verify each
    Run google-ai-mode on each claim; flag anything unconfirmed.✓ Copied
    → Per-claim status + sources
  3. Revise
    Edit the draft to correct or caveat unconfirmed claims.✓ Copied
    → Revised draft

Outcome: Content with fewer publishable errors.

Pitfalls
  • Confirmation bias — only checking claims you suspect — Extract all claims, then verify all of them
Combine with: claude-blog-skill

Combinations

Pair with other MCPs for X10 leverage

google-ai-mode-skill + filesystem

Cache research results as markdown files for reuse

For every question answered today, save a research_<slug>.md in ./notes/.✓ Copied
google-ai-mode-skill + claude-blog-skill

Inline fact-checking during blog drafting

After each blog section, run AI-Mode fact checks on the claims.✓ Copied

Tools

What this MCP exposes

ToolInputsWhen to callCost
ai-mode-query question string Any factual question where AI Mode is adequate browser automation only
query-optimization raw question Before sending a long or vague question 0
profile-management first-time setup or reset Install or when logged out 0

Cost & Limits

What this costs to run

API quota
none (uses Google web surface — respect their ToS and rate limits)
Tokens per call
~500–2k tokens per answer
Monetary
free
Tip
Cache answers by question hash; don't re-query within a session

Security

Permissions, secrets, blast radius

Credential storage: Google session cookies in the persistent profile directory — treat the profile dir as sensitive
Data egress: google.com
Never grant: shared profile across machines

Troubleshooting

Common errors and fixes

Selectors no longer match

Update to latest skill version; Google UI changes periodically.

Profile keeps prompting for consent

Re-seed the profile with consent accepted; make sure you keep the profile dir between runs.

Verify: ls <profile-dir>

Alternatives

google-ai-mode-skill vs others

AlternativeWhen to use it insteadTradeoff
brave-searchYou want a first-party search APICosts money; no ToS ambiguity
kindly-web-searchYou want a polite, consent-respecting crawlerDifferent shape

More

Resources

📖 Read the official README on GitHub

🐙 Browse open issues

🔍 Browse all 400+ MCP servers and Skills