For AI agents: a documentation index is available at /llms.txt
Skip to main content

Automate Google search

Navigate to Google, submit a search query, and extract result titles and links.

Prerequisites

Steps

Use the Browserless MCP server to automate a Google search from any MCP-compatible AI agent (Claude Desktop, Cursor, Windsurf, ChatGPT, etc.).

1. Connect the MCP server

Send this prompt to your AI agent to install the Browserless MCP server:

Go to https://github.com/browserless/browserless-mcp/blob/main/install.md
and follow the instructions to install the Browserless MCP server
for my client.

2. Search the web

Use browserless_search. The task starts with a search query rather than a known URL.

Use the browserless_search tool to search Google for
"best headless browser API" and return the top results

Next steps