# MCP Retrieval [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/Role1776/mcp-retrieval  
**GitHub Stars:** 24  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-retrieval

## Description
Web search, image search, and page scraping as Markdown. No API keys required.

## Tools
Capabilities this server exposes over MCP:

- **web_search** — Runs one or more queries in parallel and returns per-query deduplicated, reranked snippets with links.
- **web_search_images** — Runs one or more image queries in parallel and returns per-query deduplicated image results.
- **web_scrape** — Downloads one or more pages in parallel and returns the main article text as Markdown.

## 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/Role1776/mcp-retrieval), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
docker pull ghcr.io/role1776/mcp-retrieval:latest
```

2. Install:

```sh
go install github.com/Role1776/mcp-retrieval/app/cmd/mcp-retrieval@latest   # needs Go 1.25.5+
```

3. Install:

```sh
make build          # -> bin/mcp-retrieval
```

4. Start the server:

```sh
./bin/mcp-retrieval
```

5. Start the server:

```sh
./bin/mcp-retrieval -env /absolute/path/to/.env
```

## Documentation

## What MCP Retrieval does

MCP Retrieval adds three read-only retrieval tools to an MCP client:

- `web_search` accepts multiple queries and returns deduplicated, reranked snippets with links.
- `web_search_images` accepts multiple image queries and returns deduplicated image results.
- `web_scrape` downloads multiple HTTP or HTTPS pages and extracts their main article content as Markdown.

The server is written in Go and returns structured JSON for every tool. Clients that do not consume MCP structured content also receive the same data in the text content block. No search or scraping API key is required.

## How it works

Web searches are sent through DuckDuckGo Lite, while image searches use Bing Images. Page downloads pass HTML through a readability extractor before Markdown conversion. The server uses browser-like TLS fingerprints and supports rotating browser fingerprints and proxies through its retrieval engine to help with sites that apply bot protection.

Each input list is processed in parallel. Results are reported separately for each query or URL with a status of `success`, `failed`, or `timeout`, so one failed item does not discard successful items from the same call. Duplicate search or image results are removed within each query; results are not deduplicated across different queries.

Calls accept up to 10 queries or URLs. Search queries may contain up to 512 characters, and URLs must be valid HTTP or HTTPS addresses no longer than 2,048 characters. Search and image tools support freshness filters for the day, week, month, or year.

## Setup and configuration

The server supports both stdio and streamable HTTP transports. Stdio is intended for clients that launch the server locally, while HTTP is suited to a long-running or shared deployment. Both transports expose the same three tools.

A container image is available at `ghcr.io/role1776/mcp-retrieval:latest`, so Docker can be used without installing a Go toolchain. Prebuilt archives are also available for supported platforms. The project targets Go 1.25 or newer when working with the source or a Go-based installation. No API key configuration is needed.

Tool-level limits and behavior can be controlled through request parameters. Search results default to five snippets per query, image results default to five images per query, and page extraction defaults to 20,000 characters. Request timeouts default to 5,000 milliseconds and are bounded by the server configuration.

## Tools and capabilities

`web_search` accepts a required `queries` list, an optional result limit, timeout, and freshness value. Its result count may be below the requested limit when the upstream has fewer results or duplicate entries are removed.

`web_search_images` follows the same parallel-query model and accepts `max_images`, `timeout_ms`, and `date`. Image relevance is best treated as provisional because some Bing responses may not represent a normal result set.

`web_scrape` accepts required `urls` and optional `robots_txt`, `remove_links`, `max_chars`, and `timeout_ms` parameters. Setting `robots_txt` makes the server honor a page's robots.txt policy. `remove_links` strips Markdown links, while `max_chars` limits extracted text.

Timeouts remain per-item statuses rather than call-level errors, including when every item times out. Invalid input or a call where every item fails can instead produce an error result. Individual failure causes are logged to stderr in some all-failed cases.

## Limitations and notes

Page extraction handles HTML article content only. Plain-text responses and raw-file hosts commonly produce no extractable text, and client-side JavaScript is not executed. Rendered pages are more suitable than raw files for `web_scrape`.

Bursts of parallel DuckDuckGo searches can trigger an HTTP 202 bot challenge and cause queries to fail until request rates decrease. A rotating proxy can spread requests across exit IPs. Bing image results are best-effort and should be checked before being shown to users.

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

