Web Search MCP avatar

Web Search MCP

Pricing

from $0.10 / 1,000 results

Go to Apify Store
Web Search MCP

Web Search MCP

An Apify Actor that runs a persistent **Model Context Protocol (MCP) server**, giving AI assistants real-time web search capabilities. Connect Claude Desktop, Cursor, or any MCP-compatible AI client to search the web without leaving your workflow.

Pricing

from $0.10 / 1,000 results

Rating

0.0

(0)

Developer

Silicate Labs

Silicate Labs

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

9 hours ago

Last modified

Share

Web Search MCP Server

Apify Actor MCP Compatible LICENSE

An Apify Actor that runs a persistent Model Context Protocol (MCP) server, giving AI assistants real-time web search capabilities. Connect Claude Desktop, Cursor, or any MCP-compatible AI client to search the web without leaving your workflow.

Features

  • ๐Ÿ” search_web โ€” Search the web via DuckDuckGo (free, no key) or Brave Search (higher quality)
  • ๐Ÿ“ฐ search_news โ€” Search for recent news articles
  • ๐Ÿ“„ fetch_page โ€” Fetch and extract clean text content from any URL
  • ๐Ÿ” Domain whitelist โ€” Restrict fetch_page to approved domains
  • ๐Ÿ“Š Audit log โ€” Optionally log all searches to an Apify dataset
  • โšก Always-on โ€” Runs in Apify Standby mode for persistent 24/7 availability

Quick Start

1. Run on Apify

  1. Go to the Apify Console and find this actor
  2. Click Try for free โ†’ configure inputs โ†’ Start
  3. Copy the Standby URL from the actor run logs (looks like https://web-search-mcp.username.apify.actor)

2. Connect to Claude Desktop

Add the following to your Claude Desktop claude_desktop_config.json:

{
"mcpServers": {
"web-search": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://YOUR-STANDBY-URL/sse"]
}
}
}

Restart Claude Desktop and you'll see the tools appear in the interface.

3. Connect to Cursor / other MCP clients

Set the SSE URL to: https://YOUR-STANDBY-URL/sse

Input Configuration

ParameterTypeDefaultDescription
defaultMaxResultsinteger10Default number of results returned per search
braveApiKeystringโ€”Optional Brave Search API key for better results
enableFetchToolbooleantrueEnable the fetch_page tool
enableNewsToolbooleantrueEnable the search_news tool
allowedDomainsstring[][]Whitelist domains for fetch_page (empty = all allowed)
logSearchesbooleanfalseLog all queries to the Apify dataset

MCP Tools Reference

search_web

Search the web and get ranked results.

Parameters:

  • query (string, required) โ€” The search query
  • maxResults (integer, optional, default: 10) โ€” Number of results (1โ€“50)
  • safeSearch (enum, optional) โ€” strict, moderate, or off

Returns: Ranked list of results with title, URL, and snippet.


search_news

Search for recent news articles.

Parameters:

  • query (string, required) โ€” News search query
  • maxResults (integer, optional) โ€” Number of articles (1โ€“20)

Returns: List of news articles with publication time when available.


fetch_page

Fetch a web page and return its clean text content.

Parameters:

  • url (string, required) โ€” Full URL to fetch
  • maxLength (integer, optional, default: 8000) โ€” Max characters (500โ€“50000)

Returns: Page title, meta description, and extracted body text.

API Endpoints

EndpointMethodDescription
/sseGETMCP SSE connection endpoint
/messages?sessionId=XPOSTMCP message handler
/healthGETHealth check + active sessions
/GETServer info and instructions

Architecture

AI Client (Claude, Cursor, etc.)
โ”‚ SSE connection
โ–ผ
Express HTTP Server (:3000)
โ”‚
MCP Server (McpServer)
โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Search Tools โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ DuckDuckGo HTML API โ”‚ (default, no key needed)
โ”‚ Brave Search REST API โ”‚ (optional, with API key)
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Local Development

git clone https://github.com/your-org/web-search-mcp
cd web-search-mcp
npm install
npm start

The server starts on http://localhost:3000. Connect any MCP client to http://localhost:3000/sse.

Example Usage (in Claude)

Once connected, you can ask Claude:

"Search for the latest news about AI regulations in Europe"

"What are the top Python web frameworks in 2025? Search the web and summarize."

"Fetch the content from https://example.com/blog/post and summarize the key points."

License

Apache 2.0 โ€” see LICENSE