OpenAICodex

Connect Codex to Google PageSpeed

Give an AI agent your Pagespeed node as a tool and it can measure a page's real performance itself instead of guessing at it. It can analyze a URL on mobile or desktop, pull the Performance, SEO, Accessibility, and Best Practices scores, read Core Web Vitals and lab metrics, and list the exact opportunities to fix, calling each one as a tool while it works. Wire it into a hosted coding agent in NoClick and it can audit a page, act on what it finds, and re-check the score afterward.
Loading preview…
Opens a workflow with 15 tools ready to use.

What happens next

Set up in minutes

The open button drops you into a guided setup. It asks exactly this, nothing else:
  1. Choose where it runs

    On your computer through your own Codex, or hosted in the cloud. The rest of setup adapts to your choice:

  2. Pick what it can do in Google PageSpeed

    A preset of real Google PageSpeed operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.

  3. Connect Google PageSpeed

    One sign-in. The agent acts through your account, scoped to the operations you picked.

  4. Add your personal MCP link

    The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your Codex first calls in.

    Run this in your terminal

    $codex mcp add noclick --url https://mcp.noclick.app/s/<your-link>

    <your-link> is your personal server URL — setup mints it for you.

Exact capabilities

Tools Codex gets

Pick the operations you want and each becomes a tool the agent can call directly while it works.

Google PageSpeed

15 tools
Run Analysis (Full)

Run a full Lighthouse + CrUX analysis and return the complete report.

Analyze (Mobile)

Run the analysis using the mobile crawler/emulation profile.

Analyze (Desktop)

Run the analysis using the desktop profile.

Performance Score

Run with the PERFORMANCE category and extract the 0-100 Lighthouse score.

Accessibility Score

Run with the ACCESSIBILITY category and extract the score + audits.

SEO Score

Run with the SEO category and extract the SEO score + failing audits.

Best Practices Score

Run with the BEST_PRACTICES category and extract the score + audits.

All Category Scores

Run all four Lighthouse categories in one call and extract every score.

Core Web Vitals (URL)

Extract real-user Core Web Vitals (CrUX field data) for the specific URL.

Origin Core Web Vitals

Extract aggregated CrUX field data for the entire origin (whole site).

Lab Metrics

Extract lab metrics (FCP, LCP, Speed Index, TBT, CLS, TTI) from Lighthouse.

Get Audit Details

Extract a single named Lighthouse audit (score + details).

Get Opportunities

Extract performance opportunity audits with estimated ms/byte savings.

Get Screenshot

Extract the final rendered screenshot (base64 data URI) of the page.

Localized Report

Run with a specific result locale for localized audit text.

Starting points

What you can build

Every morning, run a full analysis on your homepage and post the Performance score and Core Web Vitals to Slack so regressions get caught early.
When a deploy webhook fires, analyze the key landing pages on both mobile and desktop and flag any page whose Performance score drops below your threshold.
Pull the list of opportunities for a slow page, hand them to an AI step, and open a ticket with the ranked fixes.
On a weekly schedule, collect All Category Scores for a list of URLs and append them to a Google Sheet to track SEO and Accessibility over time.
Compare lab metrics against Origin Core Web Vitals for a URL to see whether real users experience the same speed your tests report.
Capture a screenshot and the Best Practices score for each new marketing page before launch and attach both to the review.

Meet the runner

About Codex

Codex is OpenAI's command-line coding agent. NoClick runs it as a hosted agent and lets you connect your apps to it as tools, turning it from a coding assistant into an operator that can act across your systems. Connect an integration to the agent and Codex can query, create, and update records in that app directly. You keep the Codex experience and give it real reach into the tools your team already uses.
Fast, capable code generation and editing
Good at well-scoped, concrete tasks
Strong at API and data manipulation
Familiar to teams already on OpenAI tooling

Good to know

Frequently asked questions

Keep exploring

More ways to connect

Make it yours

Open your Codex agent in one click.

NoClick runs Codex for you with Google PageSpeed wired in as tools. Connect your account and run.