# Web Search API

> Web Search API is a paid MCP server for web search and scraping. Bing and DuckDuckGo search results with page text, pay-per-query, for AI agents and RAG. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, CLI
- **Website:** https://apify.com/sumitr_mardy/web-search-api
- **MCP Registry name:** io.github.sumitrmardy/web-search-api
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-19

## About

The README and product page describe an actor on the Apify platform that returns organic results from Bing or DuckDuckGo, including title, URL, domain, snippet and date. Each result can optionally be expanded into the readable text of the destination page, with menus, scripts and footers removed, so the output can be passed straight into a model prompt.

The page says it sends plain HTTP requests rather than driving a browser, so it does not require an API key or proxy. Pages that depend on JavaScript to build their text may return little content, and some large publishers answer with 403 errors, which are reported in a status field rather than billed. Only the first results page of each engine is available, roughly ten results per engine.

The product is aimed at developers building retrieval pipelines, agents that need grounding context, and people running simple SEO rank checks. It is offered as a hosted MCP endpoint on Apify as well as an API and Python client.

## Features

- **Dual search engine support:** Queries run against Bing, DuckDuckGo, or both engines merged with duplicates removed.
- **Optional page text extraction:** Each result page can be fetched and returned as markdown-style text capped at a set character length.
- **Clean destination URLs:** Bing click-tracking redirects and tracking identifiers are stripped from result links.
- **Search operator support:** Queries accept site:, quoted phrases and exclusion operators.
- **Per-result status reporting:** Each row includes a content status such as ok, empty or an HTTP error code.
- **Hosted MCP endpoint:** An Apify-hosted MCP URL lets compatible AI clients call the search tool with OAuth or an API token.

## Good for

- Supplying fresh web context to a retrieval-augmented generation pipeline
- Giving an AI agent grounded search results with page text in a single call
- Checking where a domain ranks for a given keyword on Bing or DuckDuckGo
- Collecting result lists and snippets for research or monitoring queries

## Install

### Claude Code (Terminal)

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

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

```sh
https://mcp.apify.com/?tools=sumitr_mardy/web-search-api
```

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

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

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

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

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

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

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.apify.com/?tools=sumitr_mardy/web-search-api
```

Enter a Name (for example "Web Search API"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for a bearer token. Add it under HTTP headers as Authorization: Bearer <your token>.

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

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

## FAQ

### Does it require an API key?

The README and product page say no API key or proxy is needed for the search itself. Hosted MCP use is authenticated through Apify, either by OAuth sign-in or an Apify API token.

### How many results does each query return?

Up to 10 per engine from the first results page, and up to 20 when both engines are used, according to the product page.

### Does it render JavaScript pages?

No. The product page states there is no JavaScript rendering, so sites that build their text in the browser may return little or no content.

### Is Web Search API free?

No. Web Search API is a paid product.

### How do I add Web Search API to Claude Code?

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

### What are the best alternatives to Web Search API?

The closest alternatives to Web Search API are Google Search Results Scraper, Duckduckgo, Search that shows its work, Website RAG Markdown Crawler & Contact Finder MCP and Web to Text (Apify) by Dataset Works.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 20 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Google Search Results Scraper](https://ai-powered.com/mcp/google-search-results-scraper): Google Search Results Scraper is a paid MCP server for web search and scraping.
- [Duckduckgo](https://ai-powered.com/mcp/duckduckgo-2): Duckduckgo is a paid MCP server for web search and scraping.
- [Search that shows its work](https://ai-powered.com/mcp/search-that-shows-its-work): Search that shows its work is an open-source MCP server for web search and scraping.
- [Website RAG Markdown Crawler & Contact Finder MCP](https://ai-powered.com/mcp/website-rag-markdown-crawler-and-contact-finder-mcp): Website RAG Markdown Crawler & Contact Finder MCP is a freemium MCP server for web search and scraping.
- [Web to Text (Apify) by Dataset Works](https://ai-powered.com/mcp/web-to-text-apify-by-dataset-works): Web to Text (Apify) by Dataset Works is a paid MCP server for web search and scraping.
- [Open Agent Search](https://ai-powered.com/mcp/open-agent-search): Open Agent Search is an open-source MCP server for web search and scraping.
- [Keyword Autocomplete MCP](https://ai-powered.com/mcp/keyword-autocomplete-mcp): Keyword Autocomplete MCP is a paid MCP server for web search and scraping.
- [Baidu Search](https://ai-powered.com/mcp/baidu-search): Baidu Search is a paid MCP server for marketing and seo.

---
Source: https://ai-powered.com/mcp/web-search-api-2
