WebSearch MCP Server logo

WebSearch MCP Server

Go-based MCP server for multi-engine web and academic search, secure page fetching, PDF parsing, and local file search without required API keys.

Install WebSearch MCP Server

Run the project’s own setup commands, in order.

Setup steps from the project

WebSearch MCP Server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    ./websearch-mcpserver.exe install
    
  2. 2. Start the server
    ./websearch-mcpserver start
    

Overview

WebSearch MCP Server provides MCP tools for multi-engine web search, academic research, secure web fetching, PDF parsing, and local file lookup. It runs as a Go binary over stdio or Streamable HTTP and can combine local engines with hosted MCP search providers. Search results are deduplicated, reranked, cached locally, and exposed through a tool chain designed for incremental reading. Reach for it when an agent needs broad web or scholarly retrieval without making a paid search API a hard dependency.

Use cases

  • Search the web across multiple engines without requiring a search API key
  • Find and deduplicate academic papers across scholarly sources
  • Fetch long web pages and PDFs incrementally for agent context
  • Extract text from scanned or ordinary PDF documents
  • Locate local files through an Everything index

Key features

  • Multi-engine web search with local ranking and fallback
  • Parallel academic search across nine sources
  • SSRF-protected web fetching with chunked reads
  • Local PDF extraction with optional MinerU OCR
  • Local file search through Everything HTTP Server
  • Stdio and Streamable HTTP MCP transports

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 78d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars30Stargazers on the source repository.
Last commit2d agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How WebSearch MCP Server works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about WebSearch MCP Server

WebSearch MCP Server is an MCP server that connects agents to local and hosted web search engines, academic sources, web pages, PDFs, and Everything-indexed files. Its main tools are `smartsearch`, `academicsearch`, `cleanfetch`, `pdf_parser`, and `file_search`, with API keys optional for local search modes.

Download a release binary, run it, and register its stdio or Streamable HTTP MCP endpoint with your client. The first launch can generate an editable `config.yaml`; on Windows, the `install` command can also create an autostart script.

Yes, it can run without an API key by using local web engines or the configured `mcphub` fallback chain. Provider-specific modes and hosted services may still require their own credentials or access settings.

Set the search `mode` to `mcphub` in `config.yaml`. This enables the built-in Parallel, AnySearch, Exa, and Firecrawl presets, with fallback behavior and optional proxy settings determined by the selected service.

Yes, `cleanfetch` returns long content in chunks. Start at `offset=0`, follow `next_offset`, and continue until `eof=true`; `pdf_parser` handles PDF extraction, with qpdf splitting and MinerU OCR available for applicable documents.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWebSearch MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/websearch-mcp-server?style=directory)](https://allmcps.com/mcp/websearch-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/websearch-mcp-server"><img src="https://allmcps.com/api/badge/websearch-mcp-server?style=directory" alt="WebSearch MCP Server on AllMCPs" /></a>