Connect SearchCon MCP to Codex and it can check your Google Search Console clicks, rankings and indexing, then fix the pages that need it.
- Sign in to SearchCon with Google and allow read-only Search Console access.
- Run
codex mcp add searchcon --url https://searchcon.co/mcpand sign in with Google when it asks. - Start a new Codex session and ask about your rankings. Codex answers with your real data.
Paste this into Codex. It reads the setup guide and connects SearchCon for you:
Read https://searchcon.co/INSTALL.md and connect SearchCon.Or run the commands yourself:
codex mcp add searchcon --url https://searchcon.co/mcpThis guide walks through the setup in about two minutes, then shows how to use your Search Console data while you work on your site.
What you'll need
- A Google account with at least one verified Search Console property.
- Codex (the CLI or the IDE extension), signed in to your OpenAI account.
- A SearchCon account. It's the connector between Search Console and Codex.
Why connect Search Console to Codex?
ChatGPT and Claude are great for reports. Codex is different: it works inside your codebase. With Search Console connected, it can close the loop between what Google sees and what you ship:
- Find pages with lots of impressions but few clicks, then rewrite their titles and meta descriptions.
- Spot keywords ranking 5–15, then add the missing sections to the page that ranks for them.
- Check whether a URL is indexed after you change it, without leaving the terminal.
Codex connects through MCP (Model Context Protocol). SearchCon is a hosted MCP server: no API keys and no Google Cloud project. For conversational reporting outside the codebase, use the same connection with ChatGPT or Claude.
Step 1: Sign in to SearchCon with Google
- Go to searchcon.co and click Get Started.
- Sign in with the Google account that has access to your Search Console properties.
- Allow read-only access to Search Console when Google asks.
Step 2: Add SearchCon to Codex
In your terminal, run:
codex mcp add searchcon --url https://searchcon.co/mcp
Keep the --url flag. Without it, Codex treats the address as a local program to run, and the
connection fails.
Prefer editing the config file?
Add this to ~/.codex/config.toml instead:
[mcp_servers.searchcon] url = "https://searchcon.co/mcp"
Step 3: Sign in from Codex
Codex usually starts the sign-in straight after codex mcp add, as in the screenshot above. If it
doesn't, run:
codex mcp login searchcon
- A browser window opens. Sign in with the same Google account.
- Approve SearchCon. You'll see a message that you can close the window.
- Start a new Codex session so the tools load, then type
/mcpto check that searchcon is listed.
Step 4: Ask your first question
Open Codex in your site's project folder and try:
Which pages get lots of impressions but few clicks? Suggest better titles for the top three.
Codex calls SearchCon for the numbers, finds the matching pages in your code, and proposes new titles. Review the diff before you accept it, like any other Codex change.
10 prompts to try in Codex
- Which pages get lots of impressions but few clicks? Rewrite their titles.
- Which keywords rank 5–15? Add the missing sections to the pages that rank for them.
- Is /pricing indexed? If not, check the page for anything blocking it.
- Which blog posts lost clicks this month? Find what changed in git.
- Which pages compete for the same keyword? Suggest which to merge.
- What questions do people search to find me? Draft an FAQ section.
- Are my sitemaps healthy? Compare them with the routes in this project.
- Which pages rank for keywords they weren't written for? Update their headings.
- How did clicks change since my last deploy on [date]?
- Find internal linking opportunities between my top pages and the ones close to page one.
Is it safe?
- Read-only: SearchCon can't edit, submit or delete anything in Search Console. Codex can only change your code, as usual.
- Nothing stored: your search data is fetched live when you ask and passed to Codex. It isn't saved.
- You stay in control: remove it anytime with
codex mcp remove searchcon, or disconnect from your SearchCon dashboard or Google account.
Troubleshooting
"Failed to start" or "command not found". You probably left out --url. Run
codex mcp remove searchcon, then add it again with --url.
Codex doesn't see the tools. Start a new Codex session after signing in. Tools load when a session starts.
The sign-in window didn't open. Run codex mcp login searchcon again and copy the link it
prints into your browser.
Codex says it can't find my site. Ask "list my Search Console sites" and use the exact property name
it returns. Domain properties look like sc-domain:example.com.
FAQ
Is there a free way to connect Search Console to Codex?
SearchCon has a 3-day free trial with full access, then $12/month or $79/year.
Does it work in the Codex IDE extension?
Yes. The Codex CLI and IDE extension share the same MCP settings, so once SearchCon is added it's available in both.
Can Codex change my Search Console settings?
No. Every SearchCon tool is read-only. Codex can read your reports and edit your code, but it can't change anything in Search Console.
Does it work with Google Analytics or Bing too?
Yes. Add GA4 or Bing Webmaster Tools from your SearchCon dashboard, and Codex can use them too.