# Anyfetch [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/aliasmode/anyfetch  
**GitHub Stars:** 1  
**npm Downloads (last month):** 1045  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/anyfetch

## Description
Web search and web fetch with no API keys. Reads the sites that refuse AI agents.

## Tools
Capabilities this server exposes over MCP:

- **web_fetch**
- **web_fetch_many**
- **web_search**

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "anyfetch": {
    "command": "npx",
    "args": ["-y","@aliasmode/anyfetch"]
  }
}
```

## Documentation

## What Anyfetch does

Anyfetch connects an MCP-compatible agent to web search and web retrieval through three tools: `web_search`, `web_fetch`, and `web_fetch_many`. Search can use Brave, Yahoo, DuckDuckGo, specialist sources for GitHub, Stack Overflow, Hacker News, arXiv, and research papers, or a user-provided SearXNG instance. Results support domain and date filters, quoted phrases, and pagination.

Page retrieval returns cleaned Markdown with links, tables, and code blocks preserved. Agents can request a complete page, several pages, or only the sections relevant to a question. Long documents can be returned in parts, and PDFs are exposed as text page by page. Listing and home pages are represented through their headlines and links.

## How it works

The binary sends requests using browser-like TLS, HTTP/2, and headers modeled on Safari. If a request is refused, it retries using another browser profile. Fixed-step bot checks can be handled for supported sites. For Cloudflare JavaScript checks, the user's Firefox completes the check once; later requests can use plain HTTP requests.

Several sites receive specialized handling. Anyfetch can read data exposed by public APIs or feeds for services including Stack Overflow, Reddit, IMDb, X posts, PyPI, and crates.io. Reddit results can include all comments and their scores. Pages that require scripts to populate their content can optionally use Lightpanda, while the normal installation does not bundle a browser or JavaScript runtime.

Recent results are cached locally for 15 minutes, and multiple pages can be fetched concurrently. The implementation is distributed as a small Rust binary and also provides a command-line interface alongside its stdio MCP mode.

## Setup and configuration

On macOS or Linux, install with:

```sh
curl -fsSL https://aliasmode.github.io/anyfetch/install.sh | sh
```

On Windows PowerShell, use:

```powershell
irm https://aliasmode.github.io/anyfetch/install.ps1 | iex
```

The installer places `anyfetch` in `~/.local/bin` and can configure detected agent harnesses. Run `anyfetch setup` after adding another harness; the command can be run repeatedly. Any MCP client that accepts a stdio server can launch `anyfetch mcp`.

With Node.js, configure the client to run `npx -y @aliasmode/anyfetch mcp`. Claude Code users on macOS or Linux can alternatively install the Anyfetch plugin. The plugin and installer should not be used together, because that exposes duplicate tool sets.

For non-MCP workflows, use `anyfetch search` and `anyfetch fetch`. CLI output is JSON by default, with Markdown available through `--format markdown`.

## Tools and capabilities

- `web_search` supports general web search, filters, paging, quoted phrases, and specialist providers.
- `web_fetch` reads one URL and can narrow the response with a question or keyword query.
- `web_fetch_many` retrieves several URLs in one request.
- Search can combine result listings with fetched, query-matched page sections.
- Fetching covers HTML pages, PDFs, JavaScript-backed sites, news articles, listings, and answer-oriented extraction.
- The CLI supports character limits and offsets for processing long pages.

## Limitations and notes

Some pages still depend on optional browser execution through Lightpanda. Cloudflare verification requires access to the user's Firefox for the initial check. Anyfetch is a stdio MCP server, so clients must support local command-based MCP servers. The installer and npm package are separate distribution paths; configure only one path for the same agent.

_Full upstream README: https://allmcps.com/mcp/anyfetch/readme_

