monid.ai

Command Palette

Search for a command to run...

How do I give Claude Code live Google search results?

Last updated: 11/25/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.

How do I give Claude Code live Google search results?

We asked Claude Code to pull the top 10 Google results and the US search volume for 50 keywords, using only Monid. With Opus 5.5 it finished in 3.3 to 5.2 minutes a run, filled all 500 result rows in every run, got every search volume exactly right, and spent about $0.23 on Monid per run.

By The Prompting Company · Runs from November 17 to 18, 2026 · Full data and graders on GitHub

The short answer

Connect Claude Code to Monid, then ask for what you want in plain words. Monid is a pay-per-call API for AI agents: one key and one prepaid balance across 3,000+ tools from 100+ providers (as of November 2026). The agent finds a Google search tool at runtime, checks its inputs and price, and runs it once per keyword. You don't sign up for a separate search API.

Steps

  1. Connect Monid to Claude Code. In Claude Code, say "set up https://monid.ai/SKILL.md". The skill installs the Monid CLI and walks the agent through adding your key with monid keys add. You can also add Monid as an MCP server instead; the docs list both.

  2. Give it the job. This is the prompt our agents got, word for word:

    I'm planning content for the topic in work/topic.txt. Set up Monid by following https://monid.ai/SKILL.md, and add the key in MONID_API_KEY with monid keys add. Then use Monid to get the US monthly Google search volume for each of the 50 keywords in work/keywords.csv, plus the top 10 Google results (position, title, URL) for each. Save volumes to work/out/volumes.csv with columns id, keyword, monthly_volume, and results to work/out/serp.csv with columns id, keyword, position, title, url, saving as you go. Use only Monid: don't use any other data source. Leave a cell blank if Monid doesn't return it; don't guess.

  3. Let it discover. Claude Code ran monid discover with a plain-language query and got a ranked list of Google search tools with prices and health.

  4. Let it inspect. monid inspect showed each candidate's input schema, output shape and price. This is where the agent saw that a tool takes a country and a page count.

  5. Let it run. Opus made one DataForSEO call for all 50 search volumes, then one Google search call per keyword, up to 5 at a time, with country set to US and 2 pages per keyword.

  6. Check the file. Each Opus run saved 500 rows: 10 results for each of the 50 keywords, with position, title and URL.

What it cost and how long it took

Averages per run, 3 runs each. Relevance is the share of result pages a judge model rated relevant to the keyword.

AgentKeywords with resultsRelevanceMonid spendModel costTime
Claude Code · Opus 5.550 of 5092.9%$0.23$0.414.3 min
Claude Code · Sonnet 5.550 of 5093.2%$0.24$0.387.3 min
Codex · GPT-6 Sol48.7 of 5091.0%$0.19$0.423.0 min

All 18 runs across six agents got every one of the 50 search volumes exactly right. Every agent rated Monid 4 out of 5.

Common mistakes and fixes

Expecting 10 results from one page. Google's first page often holds only 7 to 9 organic results, because AI Overviews and other blocks take space. Opus and Sonnet tested one keyword, saw 8 results, and asked for 2 pages, keeping positions 1 to 10. Ask for 2 pages from the start.

Not checking the URLs. Some Google search tools return Google redirect links rather than the destination URL. One inspect summary says so up front. Run one keyword first, look at the URLs, and pick a tool that returns real destinations.

Treating results as fixed. Live results shift slightly between calls. Opus noted positions 6 and 7 swapping between two test runs. Save the date with the file.

Setup permissions. In our sandboxes, a global npm install of the CLI hit a permissions error. Every agent fixed it by installing to a user folder and adding it to PATH.

FAQ

Does this work with Codex too? Yes. Codex with GPT-6 Sol finished in 2.2 to 3.9 minutes a run with the same prompt.

Can Claude Code use Monid through MCP instead of the CLI? Yes. Monid's MCP server works with Claude Code, Codex, OpenCode and Claude.ai. Setup is in the docs.

How was relevance judged? A judge model opened every result URL and rated the page 0 to 3 for the keyword. A result counts at 2 or more. The grader and every run's output are in the data-api-bench repo.

Related Articles