Give Gemini CLI live web data
Run gemini mcp add -t http with a Bearer header and Apify's MCP URL, scoped to the Actors you want in ?tools=. Gemini CLI saves the server in settings.json; start gemini and type /mcp to see the tools.
Method
-
Export APIFY_TOKEN first: the shell expands it and Gemini CLI saves the header, token included, in plain text in ~/.gemini/settings.json (keep that file private). In PowerShell write $env:APIFY_TOKEN instead of $APIFY_TOKEN. Drop -s user to save it in the project's .gemini/settings.json.
Gemini CLI config for Google Maps Business Lead Finder with Email & Social Linksterminal (writes ~/.gemini/settings.json)
gemini mcp add -t http -s user -H "Authorization: Bearer $APIFY_TOKEN" google-maps-business-lead-finder-with-email "https://mcp.apify.com/?tools=fetch-actor-details,vexaloom-labs/google-maps-business-lead-finder-with-email" -
Start gemini and type /mcp to check that the server is connected and lists its tools.
-
Saved by hand, a remote server uses the httpUrl key for streamable HTTP (url means the older SSE transport).
The example uses Google Maps Business Lead Finder with Email & Social Links. Every Actor page and every website page below has the same config, pre-filled.
Good to know
- -s user saves the server for every project in ~/.gemini/settings.json; without it the server goes into the project's .gemini/settings.json.
- In settings.json,
httpUrlmeans streamable HTTP andurlmeans the older SSE transport. Apify's server only speaks streamable HTTP, so usehttpUrlif you edit the file by hand. - The header is written with the token your shell expands from APIFY_TOKEN, so keep settings.json out of version control.
- --include-tools and --exclude-tools narrow what Gemini may call; the scoped URL already limits the server to your Actors.
Gemini CLI configs by website
Each page opens on the Gemini CLI tab.
- LinkedIn19 Actors
- Google Maps17 Actors
- TikTok17 Actors
- YouTube17 Actors
- Snapchat13 Actors
- Amazon12 Actors
- X (Twitter)12 Actors
- Facebook10 Actors
- Reddit9 Actors
- Zillow8 Actors
- Pinterest6 Actors
- Naver5 Actors
- eBay4 Actors
- GitHub4 Actors
- Google Search4 Actors
- Google Workspace Marketplace4 Actors
- Instagram4 Actors
- Quora4 Actors
- Yandex4 Actors
- Booking.com3 Actors
- Google Ads Transparency Center3 Actors
- Steam3 Actors
- AutoScout242 Actors
- ESPN2 Actors
- Glassdoor2 Actors
- Indeed2 Actors
- MercadoLibre2 Actors
- Meta Ad Library2 Actors
- MLB.com2 Actors
- Tripadvisor2 Actors
- Trustpilot2 Actors
- Willhaben2 Actors
- Yelp2 Actors
- ZipRecruiter2 Actors
- 2GIS1 Actor
- 99acres1 Actor
- Ahrefs1 Actor
- Airbnb1 Actor
- Alibaba.com1 Actor
- AliExpress1 Actor
- Allegro1 Actor
- Apartments.com1 Actor
- Apple App Store1 Actor
- Ashby job boards1 Actor
- Baidu1 Actor
- Bayt1 Actor
- Best Buy1 Actor
- Bilibili1 Actor
- Bing1 Actor
- Bing Maps1 Actor
- BizBuySell1 Actor
- Bluesky1 Actor
- Bol.com1 Actor
- Brazil CNPJ registry1 Actor
- Built In1 Actor
- Capterra1 Actor
- Coupang1 Actor
- Craigslist1 Actor
- Crexi1 Actor
- Crunchbase1 Actor
- Dailymotion1 Actor
- DeviantArt1 Actor
- DEX Screener1 Actor
- DoorDash1 Actor
- Etsy1 Actor
- Eventbrite1 Actor
- Expedia1 Actor
- Fiverr1 Actor
- Flipkart1 Actor
- Florida Sunbiz1 Actor
- Fotocasa1 Actor
- Freelancer.com1 Actor
- G21 Actor
- Goodreads1 Actor
- Google Flights1 Actor
- Google News1 Actor
- Google Patents1 Actor
- Google Play1 Actor
- Google Scholar1 Actor
- Google Shopping1 Actor
- Google Trends1 Actor
- Greenhouse job boards1 Actor
- GulfTalent1 Actor
- Hacker News1 Actor
- Handshake1 Actor
- Hepsiburada1 Actor
- Himalayas1 Actor
- Hostelworld1 Actor
- Houzz1 Actor
- Idealista1 Actor
- IKEA1 Actor
- IMDb1 Actor
- Immowelt1 Actor
- ImportYeti1 Actor
- IndiaMART1 Actor
- JobStreet1 Actor
- Kayak1 Actor
- Lever job boards1 Actor
- LinkedIn Ad Library1 Actor
- LinkedIn Jobs1 Actor
- Lowe's1 Actor
- Medium1 Actor
- Meetup1 Actor
- Mercari Japan1 Actor
- Myntra1 Actor
- Naukri1 Actor
- Nike1 Actor
- Noon1 Actor
- OP.GG1 Actor
- Ozon1 Actor
- Pexels1 Actor
- Product Hunt1 Actor
- Property Finder1 Actor
- QuintoAndar1 Actor
- Realtor.com1 Actor
- Redfin1 Actor
- Reed1 Actor
- Sephora1 Actor
- Shein1 Actor
- Shopee1 Actor
- Shopify stores1 Actor
- Similarweb1 Actor
- SimplyHired1 Actor
- Skool1 Actor
- SofaScore1 Actor
- SoundCloud1 Actor
- Spotify1 Actor
- StockTwits1 Actor
- StockX1 Actor
- Substack1 Actor
- Target1 Actor
- The Home Depot1 Actor
- Threads1 Actor
- Ticketmaster1 Actor
- TikTok Ads Library1 Actor
- Tokopedia1 Actor
- Totaljobs1 Actor
- Trading Economics1 Actor
- Transfermarkt1 Actor
- Trendyol1 Actor
- Trip.com1 Actor
- Trulia1 Actor
- TrustRadius1 Actor
- Twitch1 Actor
- Uber Eats1 Actor
- Ubersuggest1 Actor
- Udemy1 Actor
- Unsplash1 Actor
- Vimeo1 Actor
- Vinted1 Actor
- VivaReal1 Actor
- Vivino1 Actor
- Vrbo1 Actor
- Walk Score1 Actor
- Wallapop1 Actor
- Walmart1 Actor
- Wayback Machine1 Actor
- We Work Remotely1 Actor
- Welcome to the Jungle1 Actor
- Wellfound1 Actor
- Wikipedia1 Actor
- Workday career sites1 Actor
- Y Combinator1 Actor
- Yahoo Finance1 Actor
- Yahoo News1 Actor
- Yahoo! Auctions Japan1 Actor
When Gemini CLI does not connect
Why does the client say Unauthorized or invalid token?
Every Apify Actor tool needs a signed-in Apify account. Reconnect the server so the OAuth sign-in runs again, or switch to the token variant: an Authorization: Bearer header with an API token from Apify Console, Settings, API and integrations. For a local server the token must be in the server's own env block, not only in your shell.
Source: Apify MCP server README
Why did my agent's tool list change after an update?
Without a tools parameter Apify's server loads its default tool set, which changes between releases. The URLs on this site pin the tools with ?tools=, so the agent always gets the same Actor tool plus fetch-actor-details. Apify's README gives the same advice for production.
Source: Apify MCP server README
What happens when the agent sends input the Actor rejects?
The server answers with the Actor's input schema, so the agent can fix the arguments and call again. The fetch-actor-details tool in every scoped URL lets it read that schema before the first call.
Source: Apify MCP server README
Gemini CLI connects but finds no tools. What is wrong?
In settings.json a remote server needs httpUrl for streamable HTTP; url means the older SSE transport, which Apify's server no longer offers. Adding it with gemini mcp add -t http writes the right key.
Source: Gemini CLI MCP documentation
My old config uses mcp.apify.com/sse and stopped working. Why?
Apify retired the SSE transport on 1 April 2026. Use https://mcp.apify.com with the streamable HTTP transport, as every config on this site does.
Questions
Which transport should I choose for Apify in Gemini CLI?
Streamable HTTP: -t http on the command line, httpUrl in settings.json. Apify retired its SSE endpoint in April 2026.
Can I add more than one Actor?
Yes. List them comma-separated in the tools parameter of the URL, or build the URL with the MCP bundle builder on this site.
Sources
- Gemini CLI MCP documentation, checked 2026-11-10
- Apify MCP server documentation, checked 2026-11-10