# Audit your store's SEO with Gemini CLI

> Ask Gemini CLI which Shopify products and pages score worst. It opens a StoreSEO session, ranks them by score and explains each failing SEO and GEO check.

Auditing your Shopify store's SEO with Gemini CLI means asking Google's terminal agent, connected to the StoreSEO MCP server, which products, collections, pages and posts score worst, and letting it read each checklist to produce a ranked worklist.

## How do you set up Gemini CLI for this?

### 1. Add StoreSEO to Gemini CLI

Run this in any terminal. The user scope writes the server to ~/.gemini/settings.json so every project sees it. Without --scope user the command writes to the current project's .gemini/settings.json.

```bash
gemini mcp add --scope user --transport http storeseo https://mcp.storeseo.com/mcp
```

### 2. Sign in to your store

Start gemini. The first time it calls StoreSEO it opens your browser: pick your Shopify store and approve access. If the window does not open, type /mcp auth storeseo inside Gemini CLI. Then gemini mcp list should show storeseo as connected.

```text
/mcp auth storeseo
```

### 3. Or edit settings.json (optional)

Add this to ~/.gemini/settings.json for every project, or to .gemini/settings.json in one project. It is the entry gemini mcp add writes: url plus type set to http. The docs page still shows the older httpUrl key for streamable HTTP.

```json
{
  "mcpServers": {
    "storeseo": {
      "url": "https://mcp.storeseo.com/mcp",
      "type": "http"
    }
  }
}
```

### 4. Or connect with an access token (optional)

On a headless machine the browser sign-in cannot run. Generate a token in StoreSEO under Settings, AI Toolkit and pass it as a header. Keep the token out of version control.

```bash
gemini mcp add --scope user --transport http \
  --header "Authorization: Bearer YOUR_TOKEN" \
  storeseo https://mcp.storeseo.com/mcp
```

Then ask: "Use StoreSEO to list my twenty lowest-scoring products with the main issue on each. Read only."

## How does this work in Gemini CLI?

You open Gemini CLI in your project folder and ask the audit question in plain words. The first time it calls a StoreSEO tool, Gemini CLI opens your browser for the sign-in, you pick your Shopify store and approve, and it stores the tokens, so the audit then runs without further setup. It calls storeseo_start to open the session, then storeseo_list_resources sorted by score with the lowest first, then storeseo_get_resource_seo for each product it reports on. All three are reads, and Gemini CLI lists them as tool calls in the terminal as it goes.

What you get is a worklist you can use straight away. Gemini CLI names the failing criteria by their visible titles, and groups them: the ones a StoreSEO tool can fix, such as meta, FAQs and image alt text, and the ones you have to change yourself, such as the focus keyword and the product title. Products also carry a GEO score for AI readiness, so you can ask which listings AI shopping agents will struggle with. Ask it to save the result to a file in the folder and you have a baseline to compare with after you fix things.

Gemini CLI asks for confirmation on tool calls unless you tell it not to, and that default suits this job well. Reads are quick to approve, and the later steps, a preview and an apply, are where you want the prompt to stay. Keep that in mind before you reach for any option that skips confirmations.

### Example session (illustrative)

**You:** Audit my store's SEO. Which products are weakest?
→ `storeseo_start` (read-only)
→ `storeseo_list_resources` (read-only)
→ `storeseo_get_resource_seo` (read-only)
**Agent:** Your weakest product scores 14 and the tenth weakest 29. Most lack a meta description or alt text, and four have a low GEO score because there are no FAQs.
**You:** Save that to seo-audit.md.
**Agent:** Saved. Want me to preview StoreSEO's meta and FAQs for the weakest four?

## What StoreSEO does: store seo audit

StoreSEO scores every product, collection, page and blog post against its SEO checklist, and scores products for AI readiness (GEO) as well. An agent opens a session, lists the weakest resources first and reads the per-criterion analysis for each, so you get a ranked worklist instead of a dashboard to click through.

Tools: `storeseo_start`, `storeseo_list_resources`, `storeseo_get_resource_seo`

1. **Open a StoreSEO session.** The agent calls the start tool first. It returns a conversation id every later call needs, plus a snapshot of your store: how many resources are optimized, need improvement or are not optimized, image status, rank tracking and which features are set up.
2. **List the weakest resources.** It lists products, collections, pages or articles sorted by score, lowest first, or filtered to the ones marked not optimized. Products also carry a GEO score and their AI-readiness issues.
3. **Read the checklist for each one.** For each candidate it reads the full SEO record: current meta fields, focus keyword, score, every criterion that passes or fails, image status, FAQs and AI snippet.
4. **Sort fixes by who can make them.** It separates what a StoreSEO tool can fix (meta, handle, FAQs, AI snippet, image alt text, schema) from what only you can change in the app or in Shopify admin (the focus keyword, the product title, category, inventory).
5. **Report a worklist.** You get the resources in order, with the failing criteria in plain words and one suggested next fix. Nothing is written during an audit.

## Store SEO audit reference

| Setting or limit | What applies |
|---|---|
| Resource types | Products, collections, pages and blog articles |
| Scores | An SEO score for every resource, plus a GEO (AI readiness) score for products |
| Status labels | Optimized, needs improvement, not optimized; GEO adds not analysed |
| Sorting | By score, lowest first, or filtered to not optimized |
| Session | Every call carries the conversation id from the start tool; calls without it fail |
| What it writes | Nothing. Every audit tool is read-only |
| Fixed only in the app | Focus keyword choice, product title wording, Shopify category, product type, inventory, variant data |
| Plan | Any active StoreSEO plan, including the free plan |

## Rules Gemini CLI follows

- Every audit call is a read and runs straight away; nothing in this job changes your store.
- The agent describes criteria by their visible title, never by internal identifiers or raw status values.
- Criteria no tool can fix, such as choosing the focus keyword, are handed to you with a link into the StoreSEO app rather than guessed.
- The agent should offer one next fix at a time, tied to what it just found, instead of dumping the whole list as a checklist.

**In Gemini CLI:** The browser sign-in needs a browser on the same machine, so an audit started over SSH or in a headless session will stall at authentication. On such a machine, create a personal access token in StoreSEO under Settings, AI Toolkit and add it as a header. Also, gemini mcp add defaults to project scope, so a server added without --scope user is found only in that project, and an audit run from another folder will not have the StoreSEO tools. Do not set trust on the server just to speed up the audit.

## What can you ask Gemini CLI to do?

- Use StoreSEO to list my twenty lowest-scoring products with the main issue on each. Read only.
- Audit my collections, pages and blog posts, worst first, and save the worklist to seo-audit.md in this folder.
- Which products have the weakest GEO score for AI shopping agents, and what is missing on each?
- Show me my ten lowest-scoring products and the top issue on each.
- Which collections are not optimized yet, and what is failing on them?
- Give me an SEO audit of my blog posts, worst first.
- Which products have the weakest GEO score for AI shopping agents, and why?
- Summarize my store's SEO: how many products, collections, pages and posts are optimized?
- For the product Linen Shirt, list every failing SEO criterion and say which ones StoreSEO can fix.

## Frequently asked questions

### Why did Gemini CLI open a browser during my StoreSEO audit?

The first call to the server starts the OAuth sign-in. Pick your Shopify store, approve access, and Gemini CLI stores the tokens so later audits run without another prompt.

### Can I run the audit from a server with no browser?

Yes, with a personal access token. Create one in StoreSEO under Settings, AI Toolkit and add it to the server entry as a header, because the browser sign-in needs a browser on the same machine.

### Does an SEO audit change anything in my store?

No. The audit uses read-only tools: the session start, the resource list and the per-resource SEO record. Your store is only changed later, by a separate step you agree to.

### What is the difference between the SEO score and the GEO score?

The SEO score measures a resource against StoreSEO's on-page checklist for search engines. The GEO score applies to products only and measures how ready the product is for AI shopping agents and generative search, using criteria such as FAQs, an AI snippet, alt text and product schema.

### Can the agent choose my focus keyword?

No tool can set the focus keyword. The agent can tell you when the keyword is missing or looks wrong and give you a link to set it in the StoreSEO app, and several fixes such as keyword clusters and description writing need it set first.

### How many products can the agent audit at once?

The listing is paginated, so the agent can walk your whole catalog page by page. In practice it is more useful to ask for the lowest scores first and work down from there.

## Store SEO audit with other agents

- [Audit your store's SEO with Claude](https://storeseo.com/agent/claude/seo-audit)
- [Audit your store's SEO with ChatGPT](https://storeseo.com/agent/chatgpt/seo-audit)
- [Audit your store's SEO with Claude Code](https://storeseo.com/agent/claude-code/seo-audit)
- [Audit your store's SEO with Claude Cowork](https://storeseo.com/agent/claude-cowork/seo-audit)
- [Audit your store's SEO with Cursor](https://storeseo.com/agent/cursor/seo-audit)
- [Audit your store's SEO with Codex](https://storeseo.com/agent/codex/seo-audit)
- [Audit your store's SEO with GitHub Copilot](https://storeseo.com/agent/github-copilot/seo-audit)
- [Audit your store's SEO with Windsurf](https://storeseo.com/agent/windsurf/seo-audit)
- [Audit your store's SEO with Grok](https://storeseo.com/agent/grok/seo-audit)
- [Audit your store's SEO with ChatGPT dots](https://storeseo.com/agent/chatgpt-dots/seo-audit)
- [Audit your store's SEO with Grok Bot](https://storeseo.com/agent/grok-bot/seo-audit)
- [Audit your store's SEO with Muse](https://storeseo.com/agent/muse/seo-audit)
- [Audit your store's SEO with Manus](https://storeseo.com/agent/manus/seo-audit)
- [Audit your store's SEO with OpenClaw](https://storeseo.com/agent/openclaw/seo-audit)
- [Audit your store's SEO with Hermes Agent](https://storeseo.com/agent/hermes-agent/seo-audit)
- [Audit your store's SEO with Paperclip](https://storeseo.com/agent/paperclip/seo-audit)
- [Audit your store's SEO with NanoClaw](https://storeseo.com/agent/nanoclaw/seo-audit)
- [Audit your store's SEO with OpenCode](https://storeseo.com/agent/opencode/seo-audit)
- [Audit your store's SEO with Zed](https://storeseo.com/agent/zed/seo-audit)
- [Audit your store's SEO with Kiro](https://storeseo.com/agent/kiro/seo-audit)
- [Audit your store's SEO with Antigravity](https://storeseo.com/agent/antigravity/seo-audit)
- [Audit your store's SEO with Kimi Code](https://storeseo.com/agent/kimi/seo-audit)

## More Gemini CLI guides

- [Gemini CLI and StoreSEO overview](https://storeseo.com/agent/gemini-cli)
- [Optimize meta tags and content with Gemini CLI](https://storeseo.com/agent/gemini-cli/optimize-meta)
- [Optimize images and alt text with Gemini CLI](https://storeseo.com/agent/gemini-cli/image-seo)
- [Get products ready for AI search with Gemini CLI](https://storeseo.com/agent/gemini-cli/ai-search-readiness)
- [Publish llms.txt and agents.md with Gemini CLI](https://storeseo.com/agent/gemini-cli/llms-txt-agents-md)
- [Set up structured data with Gemini CLI](https://storeseo.com/agent/gemini-cli/structured-data)
- [Manage sitemaps and indexing with Gemini CLI](https://storeseo.com/agent/gemini-cli/sitemaps)
- [Track keyword rankings with Gemini CLI](https://storeseo.com/agent/gemini-cli/keyword-tracking)
- [Read Search Console and Analytics with Gemini CLI](https://storeseo.com/agent/gemini-cli/google-reports)
- [Write SEO blog post drafts with Gemini CLI](https://storeseo.com/agent/gemini-cli/blog-posts)

## Related documentation

- [View SEO reports](https://storeseo.com/docs/view-seo-reports)
- [Optimize SEO for Shopify products](https://storeseo.com/docs/optimize-seo-for-shopify-products)
- [What is a focus keyword?](https://storeseo.com/docs/what-is-a-focus-keyword)

---

Canonical: https://storeseo.com/agent/gemini-cli/seo-audit
Last updated: October 2026.

Approval: Reads run straight away; StoreSEO tells the agent to preview and wait for your yes before it writes, spends credit or publishes, and your client's tool-approval setting is the hard stop.

Every agent guide: https://storeseo.com/agent · Connect the MCP server: https://storeseo.com/docs/connect-storeseo-mcp-to-your-ai-assistant · Pricing: https://storeseo.com/pricing · Install StoreSEO: https://apps.shopify.com/storeseo
