+
Gemini + Wayfern
Gemini grounds its answers in Google Search. For results from other engines, or for a page that blocks bots, it has nothing to read.
With Wayfern as an MCP server, Gemini calls search_web on Google, Bing and DuckDuckGo, scrapes pages to markdown and captures screenshots. Each call runs in an anti-detect browser and reports its credits.
$ gemini mcp add --transport http --scope user \
wayfern https://api.wayfern.com/mcp
MCP server "wayfern" added to user settings.
$ gemini
✓ Signed in to wayfern on wayfern.com
> Search Google, Bing and DuckDuckGo for
"kanban app". Where does Kanbo rank?
search_web (wayfern MCP Server)
engines: google, bing, duckduckgo
3 provider pages · credits_charged: 6
Bing
DuckDuckGo
✦ Kanbo: #2 Google, #4 Bing, #1 DuckDuckGo.
~/kanbo no sandbox 1 MCP server
wayfern.com/oauth/authorize
Allow Gemini CLI?
It can search, scrape and capture pages. Each call spends your credits.
Setup
Pick the one you use. Since 18 June 2026, Gemini CLI serves paid API keys and enterprise licences. Personal Google accounts use Antigravity CLI.
Run this, then start gemini. A browser opens on wayfern.com. Sign in and click Allow. /mcp auth wayfern signs in again.
bash
gemini mcp add --transport http --scope user wayfern https://api.wayfern.com/mcpUse httpUrl. The key url means SSE, and Wayfern serves Streamable HTTP.
~/.gemini/settings.json
{
"mcpServers": {
"wayfern": { "httpUrl": "https://api.wayfern.com/mcp" }
}
}agy registers itself with Wayfern and opens the sign-in. /mcp shows the status.
~/.gemini/config/mcp_config.json
{
"mcpServers": {
"wayfern": { "serverUrl": "https://api.wayfern.com/mcp" }
}
}On gemini.google.com, open Settings, Connected Apps, Custom apps, Add a custom app. Enter the URL and sign in on wayfern.com. It then works in the mobile app too.
For CI and shared machines. Create a token with the mcp scope on the Tokens page.
bash
gemini mcp add --transport http --scope user \
--header "Authorization: Bearer $WAYFERN_API_TOKEN" wayfern https://api.wayfern.com/mcpWith -p, Gemini CLI refuses tool calls that need a confirmation. Mark the server as trusted.
~/.gemini/settings.json
{
"mcpServers": {
"wayfern": { "httpUrl": "https://api.wayfern.com/mcp", "trust": true }
}
}Gemini CLI loads skills from ~/.gemini/skills. /skills reload picks up a new one. The skill needs WAYFERN_API_TOKEN in the environment.
bash
mkdir -p ~/.gemini/skills/wayfern
curl -fsSL https://wayfern.com/skills/wayfern/SKILL.md -o ~/.gemini/skills/wayfern/SKILL.mdRoute
Gemini CLI, Antigravity CLI and the Gemini app all take a remote MCP server with OAuth. The same Wayfern account and balance serve all three.
httpUrl in Gemini CLI, serverUrl in agy, a custom app in the Gemini app.--header in Gemini CLI, for CI and gemini -p.~/.gemini/skills and runs curl with run_shell_command.api.wayfern.com/api/v1 directly.Example tasks
01
“Search Google, Bing and DuckDuckGo for project management software for agencies. Show where each brand ranks on each engine.”
search_web with three engines bills 2 credits for each provider page.
02
“Search Google for waterproof running shoes with region DE and language de. List the top 10 results and the ads.”
search_web takes region and language hints.
03
“Read the five top results and summarise what each one says about battery life, with a link to each.”
scrape_page reads each page for 1 credit.
04
“List the URLs of every product page on example-shop.com and count them by category.”
map_site bills 2 credits for each 10 URLs.
Tools
The same tools on every route, at the REST API rates. Every result reports credits_charged.
credits_charged. list_search_engines and get_usage are free.Sign in once and the tools appear. Tool calls use the credits of your Wayfern plan, at the same rates as the API.