Google Search Engine

by eivs

Not rated
GitHub

About

A server for Google search and webpage content extraction, built on Cloudflare Workers with OAuth support.

Details

Author
eivs
Categories
Search, Web Scraping, Other
Tags
#cloudflare

Setup

Install Google Search Engine in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/eivs/google-search-engine-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

An MCP (Model Context Protocol) server based on Cloudflare Workers, providing Google search and webpage content extraction functionality with integrated OAuth login.

# Clone the repository git clone https://github.com/your-username/google-search-engine-mcp-server.git # Install dependencies cd google-search-engine-mcp-server npm install # Run locally npm run dev

Visithttp://localhost:8787/to check the server status

Use theMCP Inspectorto explore and test the API:

- Runnpm run inspectorornpx @modelcontextprotocol/inspector
- In the Inspector interface, set the transport type toSSE, URL tohttp://localhost:8787/sse, and click "Connect"
- Enter any email and password in the mock login interface
- After logging in, you can view and call all available tools

This server provides the following tools:
- google_search- Perform Google searches and return results
- extract_webpage_content- Extract webpage content and convert it to readable text
- batch_extract_webpage_content- Batch extract content from multiple webpages

To connect Claude to your local MCP server:
- Follow the
Anthropic Quick Start Guide
- In Claude Desktop, go to Settings > Developer > Edit Config
- Replace the existing content with the following configuration:

{ "mcpServers": { "google-search": { "command": "npx", "args": [ "mcp-remote", "http://localhost:8787/sse" ] } } }

After launching Claude, a browser window will open allowing you to log in. You can see available tools in the bottom right corner. With appropriate prompts, Claude will call the corresponding tools.
- Create a KV namespace:npx wrangler kv namespace create OAUTH_KV
- Follow the prompts to add the KV namespace ID towrangler.jsonc
- Set environment variables:

- GOOGLE_API_KEY- Your Google API key
- GOOGLE_SEARCH_ENGINE_ID- Your Google Custom Search Engine ID

After deployment, you can use MCP Inspector to connect to the remote server:

npx @modelcontextprotocol/inspector@latest

Enter your Workers URL (e.g.,your-worker-name.your-account.workers.dev/sse) as the MCP server address and click "Connect".

Update the Claude configuration file to point to your Workers URL:

{ "mcpServers": { "google-search": { "command": "npx", "args": [ "mcp-remote", "https://your-worker-name.your-account.workers.dev/sse" ] } } }

- Restart Claude
- Try connecting to the MCP server directly from the command line:

npx mcp-remote http://localhost:8787/sse

- This project is developed using TypeScript
- Based on Cloudflare Workers and Durable Objects
- Integrates OAuth authentication
- Uses Google Custom Search API for search functionality
- Includes webpage content extraction and analysis features

Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.

One API for Search, Crawling, and Sitemaps

Search for Airbnb listings and get detailed information about accommodations.

Search for products and compare prices at Coles and Woolworths supermarkets in Australia.

Query computer component prices from Taiwan's CoolPC website to generate AI-assisted price quotes.

A product search server that provides markdown-formatted responses with clickable product links and prices.

AI-powered lead generation from Google Maps. Search businesses, enrich with emails/phones/socials, score leads 0-100, export CSV. Free alternative to Apollo.io. No API keys required.

Local business search and lead generation via Google Maps

An MCP server for searching Google Scholar, built for AI assistants and automation workflows that need papers, authors, citations, and BibTeX entries.

A Google search server using Playwright for parallel keyword searches.

Live flight prices and booking links for AI agents and developers.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.