# search-rotation

> search-rotation is an MCP server for web search and scraping. One MCP server that rotates web search and page fetching across several providers. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, Self-hosted, macOS, Linux, Windows
- **Repository:** https://github.com/robin-bially/search-rotation-mcp
- **MCP Registry name:** io.github.robin-bially/search-rotation
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-23

## About

search-rotation spreads requests across the quotas of providers such as Tavily, Firecrawl, Parallel, Exa, You.com, Google PSE, Jina Reader and DuckDuckGo HTML, failing over when one is rate-limited, out of quota or slow. Search and Markdown page extraction rotate independently, and results come back in one consistent shape.

A local dashboard, opened with `npx -y search-rotation --http --open`, is where API keys live, engine order is set by drag and drop, and per-engine calls, errors, quotas and request history are shown. Keys stay in the dashboard rather than in tool calls. It runs over stdio or authenticated Streamable HTTP and needs Node.js 20.3 or later.

Search accepts a result count of 1 to 20, a preferred engine, and either a relative window (day, week, month, year) or explicit start and end dates. Providers that cannot honour a date filter are skipped before quota checks, and the search fails rather than silently dropping the filter. It is also installable through Homebrew.

## Features

- **Provider rotation:** Cycles across engines by quota with cooldowns and timeouts.
- **Automatic failover:** Moves to the next provider when one is unavailable.
- **Search and fetch:** Separate rotations for web search and Markdown extraction.
- **Local dashboard:** Manage keys, engine order, quotas and request history.
- **Date filters:** Relative windows or explicit dates, applied only to supporting providers.
- **Stdio or HTTP:** Run locally over stdio or as authenticated Streamable HTTP.

## Good for

- Stretch several free search tiers across heavy assistant use
- Keep search working when one provider hits its limit
- Search only the last week of news with a date window
- Fetch a page as Markdown for an agent
- Review which engine served each request

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add search-rotation -- npx -y search-rotation
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "search-rotation": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add search-rotation -- npx -y search-rotation
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.search-rotation]
command = "npx"
args = ["-y", "search-rotation"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user search-rotation npx -- -y search-rotation

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "search-rotation": {
      "command": "npx",
      "args": [
        "-y",
        "search-rotation"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 5 tools changes data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `search_web` (name suggests: reads): Search the web with query, result count, engine, time range or date bounds.
- `fetch_url` (name suggests: reads): Fetch a page and return Markdown.
- `get_engine_status` (name suggests: reads): Report engine status and quotas.
- `update_engine_config` (name suggests: changes): Enable or disable engines, set rotation order and limits.
- `open_dashboard`: Open the local dashboard.

## FAQ

### Where do I put API keys?

In the local dashboard; tool calls do not carry them.

### What does search-rotation need to run?

Node.js 20.3 or newer.

### What happens with a date filter and an incompatible provider?

That provider is skipped, and if none qualify the search fails instead of retrying without the filter.

### How can I install search-rotation?

With npx, Homebrew, or a pinned GitHub release.

### How do I add search-rotation to Claude Code?

Run this command in your terminal: claude mcp add search-rotation -- npx -y search-rotation

### What are the best alternatives to search-rotation?

The closest alternatives to search-rotation are Scrapling MCP Server, Firecrawl MCP Server, Douyin_TikTok_Download_API, SearXNG Search and acrawl.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Firecrawl MCP Server](https://ai-powered.com/mcp/firecrawl-mcp-server): Firecrawl MCP Server is a freemium MCP server for web search and scraping.
- [Douyin_TikTok_Download_API](https://ai-powered.com/mcp/douyin-tiktok-download-api): Douyin_TikTok_Download_API is an open-source MCP server for web search and scraping.
- [SearXNG Search](https://ai-powered.com/mcp/searxng-search): SearXNG Search is an open-source MCP server for web search and scraping.
- [acrawl](https://ai-powered.com/mcp/acrawl): acrawl is an open-source MCP server for browser automation.
- [machine_internet](https://ai-powered.com/mcp/machine-internet): machine_internet is an open-source MCP server for web search and scraping.
- [Google Maps Reviews Scraper — New Review Alerts](https://ai-powered.com/mcp/google-maps-reviews-scraper-new-review-alerts): Google Maps Reviews Scraper — New Review Alerts is a paid MCP server for web search and scraping.
- [OnTheMarket Property Scraper — New Listings & Price-Drop Alerts](https://ai-powered.com/mcp/onthemarket-property-scraper-new-listings-and-price-drop-ale): OnTheMarket Property Scraper — New Listings & Price-Drop Alerts is a paid MCP server for web search and scraping.

---
Source: https://ai-powered.com/mcp/search-rotation-2
