Connect Codex to Google PageSpeed
What happens next
Set up in minutes
Choose where it runs
On your computer through your own Codex, or hosted in the cloud. The rest of setup adapts to your choice:
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.
Connect Google PageSpeed
One sign-in. The agent acts through your account, scoped to the operations you picked.
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
<your-link> is your personal server URL — setup mints it for you.
Exact capabilities
Tools Codex gets
Google PageSpeed
15 toolsRun a full Lighthouse + CrUX analysis and return the complete report.
Run the analysis using the mobile crawler/emulation profile.
Run the analysis using the desktop profile.
Run with the PERFORMANCE category and extract the 0-100 Lighthouse score.
Run with the ACCESSIBILITY category and extract the score + audits.
Run with the SEO category and extract the SEO score + failing audits.
Run with the BEST_PRACTICES category and extract the score + audits.
Run all four Lighthouse categories in one call and extract every score.
Extract real-user Core Web Vitals (CrUX field data) for the specific URL.
Extract aggregated CrUX field data for the entire origin (whole site).
Extract lab metrics (FCP, LCP, Speed Index, TBT, CLS, TTI) from Lighthouse.
Extract a single named Lighthouse audit (score + details).
Extract performance opportunity audits with estimated ms/byte savings.
Extract the final rendered screenshot (base64 data URI) of the page.
Run with a specific result locale for localized audit text.
Starting points
What you can build
Meet the runner
About Codex
Good to know
Frequently asked questions
Keep exploring
More ways to connect
More tools for Codex
Use Google PageSpeed with other agents
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.