# WebSearch MCP Server [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/daidaiJ/websearch-mcpserver  
**GitHub Stars:** 30  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/websearch-mcp-server

## Description
Zero-API-key MCP search server: multi-engine web/academic search, PDF parsing, secure web fetch

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/daidaiJ/websearch-mcpserver), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
./websearch-mcpserver.exe install
```

2. Start the server:

```sh
./websearch-mcpserver start
```

## Documentation

## What WebSearch MCP Server does

WebSearch MCP Server is a Go-based search and extraction service exposed through the Model Context Protocol. It brings together general web search, academic search, page retrieval, PDF processing, and local file search behind a small MCP tool surface. The project is designed to work without a required API key: local web engines can be used directly, while optional hosted providers and MCP search services can be enabled when credentials or access are available.

Search can use Baidu, Bing, DuckDuckGo, and other configured engines, alongside four hosted MCP presets and nine academic sources. Results are processed locally rather than returned as an untouched aggregate. The service can remove duplicates, merge rankings with reciprocal-rank fusion, apply relevance and quality signals, and use maximal marginal relevance to reduce near-identical results.

## How it works

The main workflow starts with `smartsearch` for general queries or `academicsearch` for scholarly material. A search may run several engines concurrently, fall back when a primary source fails, and retain failure and source information in its response. Long results can be written to local storage and returned through a reference for later reading.

`cleanfetch` retrieves web pages or PDFs in chunks. Clients begin at `offset=0`, follow `next_offset`, and continue until `eof=true`, which avoids requiring the entire document in one response. Web retrieval includes SSRF and DNS-rebinding protection, checks for oversized files, and can fall back to Jina Reader. PDF processing prioritizes local text extraction, with MinerU OCR available for scanned documents. Large PDFs can be split with qpdf before processing.

The `pdf_parser` tool handles PDF extraction and MinerU workflows, while `file_search` locates local files through an Everything HTTP Server index. Optional structured summaries can be generated through an OpenAI-compatible API, including streamed output.

## Setup and configuration

Download a release binary, start it, and register the MCP endpoint with the client of your choice. A first run can create an editable `config.yaml` from the bundled defaults. The server supports both stdio and Streamable HTTP; its HTTP MCP endpoint is `/mcp`.

The `mode` setting controls search composition. `engine` uses local web engines, `hybrid` queries configured engines in parallel, `apipool` rotates provider keys, and `mcphub` chains the built-in Parallel, AnySearch, Exa, and Firecrawl MCP presets with fallback behavior. The no-key setup uses `mcphub` or local engines; provider-specific modes require their corresponding credentials.

By default, the service listens only on `127.0.0.1`. If it is exposed on another interface, configure an authentication token for the business endpoints. Dashboard and Prometheus metrics are optional, and language behavior can be set to automatic, Chinese, or English. Windows users can generate an autostart script with the `install` command.

## Tools and capabilities

The MCP-facing workflow includes up to five tools:

- `smartsearch` for general web search and locally processed result ranking.
- `academicsearch` for parallel scholarly retrieval, citation-aware scoring, PDF availability checks, freshness signals, and DOI deduplication.
- `cleanfetch` for protected, chunked reading of web pages and PDFs.
- `pdf_parser` for local PDF extraction and optional OCR or MinerU processing.
- `file_search` for searching local files through Everything.

The service also exposes a LiteLLM-compatible `/searxng/search` route, an optional local dashboard, `/metrics` for Prometheus-formatted metrics, and administrative process endpoints. It can be embedded as a Go module as well as run as a standalone binary.

## Limitations and notes

Local file search depends on Everything HTTP Server and an available Everything index. Scanned PDFs may require OCR, and large documents can be split before upload or parsing. Hosted search presets may require a proxy, provider access, or API credentials depending on the selected service. API keys are optional for the server as a whole, not for every individual provider mode.

Opening the service beyond localhost increases its exposure; use authentication when binding to `0.0.0.0`. Search and fetch behavior also depends on the availability and response limits of the selected engines and fallback services.

_Full upstream README: https://allmcps.com/mcp/websearch-mcp-server/readme_

