# Google Search (via Apify)

> Google Search (via Apify) is a paid MCP server for web search and scraping. Google web and image search for AI agents in the Custom Search JSON API format. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, Web
- **Website:** https://apify.com/automationnation/google-custom-search-api
- **Repository:** https://github.com/retracn/google-custom-search-api-alternative
- **MCP Registry name:** io.github.retracn/google-search
- **Categories:** web search and scraping, developer tools
- **Listing updated:** 2026-11-16

## About

Google has closed its Custom Search JSON API to new customers and the page says it retires on 1 January 2027. This Apify Actor is offered as a drop-in replacement: it answers the same /customsearch/v1 requests with the same JSON, built from live Google results, so existing code only changes the base URL and swaps the key for an Apify token. It is also exposed to agents through Apify's MCP endpoint.

Responses carry items with title, link, display link and snippet, and image search works with searchType=image. The parameter set includes q, num, start, gl, hl, safe, dateRestrict, siteSearch and file type filters. There are differences from Google's API: it searches the whole web (site lists go in siteSearch or site: operators), totalResults is only a lower bound, there is no pagemap and a request takes roughly 4 to 10 seconds.

The README also describes an Open WebUI route and a SearXNG-compatible route for tools such as AnythingLLM. Searches cost $5 per 1,000 of up to 10 results ($4 on Gold and above), searches with no results are free, and there is no daily cap.

## Features

- **Drop-in endpoint:** Same /customsearch/v1 parameters and JSON as Google's API.
- **Image search:** searchType=image returns image results with the usual filters.
- **Open WebUI support:** Can serve as Open WebUI's external web search engine.
- **SearXNG-compatible route:** Returns Google results in SearXNG JSON for tools like AnythingLLM.
- **No daily cap:** The listing says there is no 10,000-a-day limit.
- **Pay per search:** $5 per 1,000 searches, with empty searches free.

## Good for

- Replace a Google Custom Search integration before it shuts down
- Give an AI agent live Google results
- Keep web search working in Open WebUI
- Run image searches from code

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http google-search 'https://mcp.apify.com/?tools=automationnation/google-custom-search-api'
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.apify.com/?tools=automationnation/google-custom-search-api
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "google-search": {
      "url": "https://mcp.apify.com/?tools=automationnation/google-custom-search-api"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "google-search": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=automationnation/google-custom-search-api"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "google-search": {
      "serverUrl": "https://mcp.apify.com/?tools=automationnation/google-custom-search-api"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "google-search": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=automationnation/google-custom-search-api"
    }
  }
}
```

## FAQ

### What does it cost?

$5 per 1,000 searches of up to 10 results, or $4 on Gold and above.

### What changes in existing code?

The base URL and the key, which becomes an Apify token.

### How does it differ from Google's API?

No pagemap, totalResults is a lower bound, and requests take about 4 to 10 seconds.

### Does it show ads or AI Overviews?

No. It uses Google's plain Web results view.

### Is Google Search (via Apify) free?

No. Google Search (via Apify) is a paid product.

### How do I add Google Search (via Apify) to Claude Code?

Run this command in your terminal: claude mcp add --transport http google-search 'https://mcp.apify.com/?tools=automationnation/google-custom-search-api'

### What are the best alternatives to Google Search (via Apify)?

The closest alternatives to Google Search (via Apify) are REA, Scrapling MCP Server, Codebase Memory, GitHub and Serena MCP: the IDE for your agent.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Firecrawl MCP Server](https://ai-powered.com/mcp/firecrawl-mcp-server): Firecrawl MCP Server is a freemium MCP server for web search and scraping.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/google-search-via-apify
