Can Gemini scrape Google search results? Track local rankings city by city with Siftree

Gemini answers with Google Search grounding. Connect Siftree to collect Google results for your service searches in every city you operate in, and track local rankings each week.

By Kyle DeSana · Published · Updated · 4 min read

Can Gemini scrape Google search results?

Yes. Gemini grounds its answers in Google Search by itself. Siftree adds a ranking record: it runs each of your searches as if from every city you operate in, saves the ranked results and local business listings in a shared database, and repeats the collection weekly. Gemini can then show you where you rank in each market, who outranks you, and what changed since last week.

How to scrape Google search results with Gemini

List the searches your customers use and the cities you want them run in. Siftree, connected to Gemini, runs every search by location in its cloud and stores the rankings with city and date. Gemini reads the stored results and reports positions market by market.

1Your computer

Gemini
Collect the Google results for these twenty keywords and show who ranks.
Using Siftree
Your research is ready.Your database has the collected results and source links.Explore the findings
Ask a follow-up question
2 · Requestvia MCP
5 · AnswersSearch & analyze
Siftree cloud

3Run in a sandbox

google.com/search
Google Search collectionResult titles, links, positions
Isolated execution, outside your computer
Save results

4Your Siftree database

Result titles, links, positions

Neural search + analytical queries
5 · Access your saved data in Gemini, anytime
  1. Connect Siftree to Gemini. You add it from your own account, as the next section shows.
  2. List the searches and the cities. The phrases customers type and each market you serve.
  3. Siftree searches from each location. Organic results are collected for every search and city pair.
  4. Local listings are added. The businesses Google lists in local results for the same searches, with ratings, are stored with the rankings in your Siftree database.
  5. Gemini reports by city. It shows positions, competitors ahead of you, and weekly changes.

For example, a plumbing company with branches across one state could send this:

We run 12 plumbing branches in Ohio. Every Monday, search "emergency
plumber", "water heater repair", and "drain cleaning" as if from each
branch's city. Save the top results and the local business listings.
Report our position per city and search, and who ranks above us.

Create a free Siftree account, connect Gemini, and paste this in.

How to connect Siftree to Gemini

On a personal Google Account, connect Siftree as a custom app in the Gemini web app. It is open to people 18 or over in the US, with the app in English and History on.

  1. On gemini.google.com, open Settings, then Connected Apps. If you do not see it, open Personal Intelligence first.
  2. Under Custom apps, select Add a custom app.
  3. Paste https://app.siftree.com/api/mcp and select Next.
  4. Sign in to Siftree with your own account, or create one. Gemini asks you to confirm before any action that changes data.

Siftree then works in the Gemini mobile app too. On Gemini Enterprise, an admin adds Siftree once in the Google Cloud console with a client ID and secret from support@siftree.com, and each member authorizes it from the connector picker under the chat box. The Gemini connection page covers both.

What Siftree saves from Google search results

Each result is stored with its search, city, position, title, and link. Local results add the business name, rating, and listing details shown for that search.

Siftree sandboxCollecting Google Search content
Google Search
Best payroll software for restaurants
Position 1 · paywise.example

Comparison article updated this month. Shows a featured snippet with a pricing table.

People also ask: How much does payroll software cost?

Google Search researchYour Siftree databaseSaved
Collected contentStatus
Best payroll software for restaurantsPosition 1 · paywise.exampleKeyword · Position · Page
Restaurant payroll: a complete guidePosition 2 · tablecount.exampleKeyword · Position · Page
Payroll for restaurants and barsPosition 3 · ledgerly.exampleKeyword · Position · Page
Search all your ingested content
Back in Gemini

“Who moved up for this keyword?”

tablecount.example rose from position 5 to 2. ledgerly.example slipped to 3.Answers grounded in your saved content.

Searches can be set to a country, region, or city. Siftree can also collect a business's Google posts and Q&A, and Google's AI Overview when one appears. Rankings shift with time and location, so one week is a single reading and the weekly history shows the trend.

Questions to ask Gemini about Google search results

  • In which cities do we rank in the top three for every search?
  • Which competitor outranks us in the most cities, and for which searches?
  • Which locations dropped more than three positions this month?
  • Which local competitors have higher ratings than ours in the same results?
  • Do locations with more recent Google posts rank better than those without?
  • Write a one-paragraph ranking update for each location.

How to search and update the saved Google search results

Keep the weekly collection running and the database builds a ranking history for every city. After a quarter, Gemini can show each city's trend and set a rise in one market next to a change you made there, such as new service pages or more reviews.

Search across the saved results by meaning to find every competitor page about "24-hour service" however they titled it. Analytical queries, such as average position by city by month, produce one chart per location.

Google search guides for Claude, ChatGPT, and Copilot.

Also see Siftree's Google Search integration.

Sources & methodology

Product details and supporting references used in this guide.

  1. Siftree collection options for Google Search
  2. Connect Gemini to Siftree
Portrait of Kyle DeSana

Kyle DeSana

Co-founder, Siftree

Kyle co-founded Siftree after working in data across telecom, media, insurance, automotive, and entertainment and tourism. He writes Siftree's software comparisons and buying guides from the vendor documentation linked in each article.

Try it with Gemini.

Create a free Siftree account, connect Gemini, and send your first request. The Free plan is $0 and includes $5 of usage. Setting this up for a whole team? Talk to the team.