WebSearch-MCP

by mnhlt

38 stars
748 downloads
Not rated
GitHub

About

WebSearch-MCP is a Model Context Protocol server that provides web search capabilities to AI assistants. It integrates with a WebSearch Crawler API to retrieve real-time search results and communicates with AI models over stdio transport.

Details

Author
mnhlt
GitHub stars
38
Downloads
748
Categories
Search, Community, Other

- Provides a web_search tool with customizable parameters.
- Supports filtering by language, region, domain inclusion/exclusion.
- Returns structured results (title, snippet, URL, site name, byline).
- Uses stdio transport for MCP communication.
- Configurable via environment variables (API_URL, MAX_SEARCH_RESULT).
- Integrates with a Docker-based crawler service using Flaresolverr.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name WebSearch-MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install the server via Smithery or npm, then run npx websearch-mcp. Configure the crawler API endpoint and maximum results via the API_URL and MAX_SEARCH_RESULT environment variables. The server exposes a web_search tool that can be called from any MCP-compatible client.

web_search

Search the web for information. Use this tool when you need to search the web for information. You can use this tool to search for news, blogs, or all types of information. You can also use this tool to search for information about a specific company or product. You can also use this tool to search for information about a specific person. You can also use this tool to search for information about a specific product. You can also use this tool to search for information about a specific company. You can also use this tool to search for information about a specific event. You can also use this tool to search for information about a specific location. You can also use this tool to search for information about a specific thing. If you request search with 1 result number and failed, retry with bigger results number.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "websearch-mcp": {
            "websearch": {
                "command": "npx",
                "args": [
                    "websearch-mcp"
                ],
                "environment": {
                    "API_URL": "http://localhost:3001",
                    "MAX_SEARCH_RESULT": "5"
                }
            }
        }
    }
}

McpServers

{
    "websearch": {
        "command": "npx",
        "args": [
            "websearch-mcp"
        ],
        "environment": {
            "API_URL": "http://localhost:3001",
            "MAX_SEARCH_RESULT": "5"
        }
    }
}

WebSearch-MCP

smithery badge

A Model Context Protocol (MCP) server implementation that provides a web search capability over stdio transport. This server integrates with a WebSearch Crawler API to retrieve search results.

Table of Contents

- About
- Installation
- Configuration
- Setup & Integration
- Setting Up the Crawler Service
- Prerequisites
- Starting the Crawler Service
- Testing the Crawler API
- Custom Configuration
- Integrating with MCP Clients
- Quick Reference: MCP Configuration
- Claude Desktop
- Cursor IDE
- Cline
- Usage
- Parameters
- Example Search Response
- Testing Locally
- As a Library
- Troubleshooting
- Crawler Service Issues
- MCP Server Issues
- Development
- Project Structure
- Publishing to npm
- Contributing
- License

About

WebSearch-MCP is a Model Context Protocol server that provides web search capabilities to AI assistants that support MCP. It allows AI models like Claude to search the web in real-time, retrieving up-to-date information about any topic.

The server integrates with a Crawler API service that handles the actual web searches, and communicates with AI assistants using the standardized Model Context Protocol.

Installation

Installing via Smithery

To install WebSearch for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @mnhlt/WebSearch-MCP --client claude

Manual Installation

npm install -g websearch-mcp

Or use without installing:

npx websearch-mcp

Configuration

The WebSearch MCP server can be configured using environment variables:

- API_URL: The URL of the WebSearch Crawler API (default: http://localhost:3001)
- MAX_SEARCH_RESULT: Maximum number of search results to return when not specified in the request (default: 5)

Examples:
```bash

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.