# My Websearch

> My Websearch is an open-source MCP server for web search and scraping. Keyless web search across 16 engines with article extraction, for coding agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Windows, macOS, Linux
- **Repository:** https://github.com/wtznicy/my-websearch
- **MCP Registry name:** io.github.wtznicy/my-websearch
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-23

## About

My Websearch queries 16 engines at once and merges the results, with no API keys needed for the default setup. It mixes Chinese engines (Bing, Baidu, CSDN, Juejin, Sogou), global ones (DuckDuckGo, Brave, Startpage, Yahoo, Exa, Bing News) and developer sources (GitHub, StackOverflow, Hacker News, arXiv). A language-aware auto mode picks engines, URLs are deduplicated, and a minimum-results fallback brings in more engines when needed.

Beyond search it extracts pages to Markdown using Mozilla Readability, with special cleaning for WeChat Official Accounts and StackOverflow, and modes for BM25-ranked focus, CSS-selector JSON extraction and numbered citations. It can look up library docs through Context7 by plain package name, and fetch GitHub or Gitee READMEs, files, issues, commits and releases, including symbol search across several languages.

It runs as an MCP server over stdio, streamable HTTP or SSE, as a CLI, or as a local daemon with Prometheus metrics. The README says it solves some proof-of-work challenges but deliberately does not bypass human CAPTCHAs, reporting them as bot_challenge. Optional keys for Exa, Brave, GitHub and Stack Apps raise reliability and rate limits.

## Features

- **16-engine search:** Federated search with language-aware routing and URL deduplication.
- **Page extraction:** Readability-based Markdown with focus, selector extract and citation modes.
- **Library docs lookup:** queryDocs finds official docs by package name through Context7.
- **GitHub and Gitee fetcher:** Reads READMEs, files, trees, issues, commits and releases, plus symbol search.
- **Several run modes:** MCP over stdio, HTTP or SSE, a CLI, or a local daemon with metrics.
- **Proxy detection:** Detects system proxies and routes overseas engines through them.

## Good for

- Give a coding agent web search without paying for a search API
- Pull a clean Markdown copy of an article or StackOverflow answer
- Look up current docs for a framework by name
- Read a GitHub issue or compare view
- Search Chinese technical sites and English ones in one query

## Install

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

```sh
claude mcp add my-websearch --env EXA_API_KEY='<EXA_API_KEY>' --env BRAVE_API_KEY='<BRAVE_API_KEY>' --env GITHUB_TOKEN='<GITHUB_TOKEN>' --env STACKOVERFLOW_API_KEY='<STACKOVERFLOW_API_KEY>' -- npx -y my-websearch
```

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": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "my-websearch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

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 my-websearch --env EXA_API_KEY='<EXA_API_KEY>' --env BRAVE_API_KEY='<BRAVE_API_KEY>' --env GITHUB_TOKEN='<GITHUB_TOKEN>' --env STACKOVERFLOW_API_KEY='<STACKOVERFLOW_API_KEY>' -- npx -y my-websearch
```

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

```toml
[mcp_servers.my-websearch]
command = "npx"
args = ["-y", "my-websearch"]
env = { EXA_API_KEY = "<EXA_API_KEY>", BRAVE_API_KEY = "<BRAVE_API_KEY>", GITHUB_TOKEN = "<GITHUB_TOKEN>", STACKOVERFLOW_API_KEY = "<STACKOVERFLOW_API_KEY>" }
```

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

```json
{
  "mcpServers": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e EXA_API_KEY='<EXA_API_KEY>' -e BRAVE_API_KEY='<BRAVE_API_KEY>' -e GITHUB_TOKEN='<GITHUB_TOKEN>' -e STACKOVERFLOW_API_KEY='<STACKOVERFLOW_API_KEY>' my-websearch npx -- -y my-websearch

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

```json
{
  "mcpServers": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

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": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

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": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

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

```json
{
  "mcpServers": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

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": {
    "my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "STACKOVERFLOW_API_KEY": "<STACKOVERFLOW_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 2 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `queryDocs` (name suggests: reads): Looks up official library documentation by package name or Context7 ID.
- `fetchGithubContent` (name suggests: reads): Fetches GitHub or Gitee READMEs, files, trees, issues, commits and releases, with symbol search.

## FAQ

### Do I need API keys?

No. The Exa, Brave, GitHub and Stack Apps keys are optional and only improve limits or enable Exa.

### Does My Websearch get past CAPTCHAs?

No. Human-verification CAPTCHAs are reported as bot_challenge and not bypassed.

### Do I need a proxy?

Outside mainland China, leave PROXY_URL unset and engines are queried directly.

### Which clients does My Websearch support?

Claude Desktop, Cursor, Cherry Studio, Windsurf, Cline and others via stdio or HTTP.

### Is My Websearch free?

Yes. My Websearch is open source, so you can use and self-host it for free.

### How do I add My Websearch to Claude Code?

Run this command in your terminal: claude mcp add my-websearch --env EXA_API_KEY='<EXA_API_KEY>' --env BRAVE_API_KEY='<BRAVE_API_KEY>' --env GITHUB_TOKEN='<GITHUB_TOKEN>' --env STACKOVERFLOW_API_KEY='<STACKOVERFLOW_API_KEY>' -- npx -y my-websearch

### What are the best alternatives to My Websearch?

The closest alternatives to My Websearch 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/my-websearch
