Skip to content
MCP server

My Websearch

Keyless web search across 16 engines with article extraction, for coding agents

Runs locally

My Websearch is an open-source MCP server for web search and scraping. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Windows, macOS
Runs
Locally
What it can do
Read-only
Version
1.6.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a 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

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

Or share it with your project

Add to .mcp.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 Code setup guide

Add to claude_desktop_config.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.

Claude Desktop setup guide

Add to ~/.cursor/mcp.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.

Cursor setup guide

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.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>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "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>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "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.

    Junie

    Add to ~/.junie/mcp/mcp.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.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • EXA_API_KEYOptional Exa API key (https://dashboard.exa.ai/api-keys) — only needed for the exa search engine
  • BRAVE_API_KEYOptional Brave Search API key (https://api.search.brave.com/app/keys) — for high-reliability official Brave Search API access
  • GITHUB_TOKENOptional GitHub Personal Access Token (https://github.com/settings/tokens) — increases rate limit from 10/min to 30/min
  • STACKOVERFLOW_API_KEYOptional Stack Apps Key (https://stackapps.com/apps/oauth/register) — increases quota from 300/day to 10,000/day

About My Websearch

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.

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

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.

queryDocsName suggests: reads
Looks up official library documentation by package name or Context7 ID.
fetchGithubContentName suggests: reads
Fetches GitHub or Gitee READMEs, files, trees, issues, commits and releases, with symbol search.

What it does

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

Pricing

Open source

Free npm package; optional third-party API keys

My Websearch 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.

How AIPoweredBot checks servers