M

My Websearch

by wtznicy · io.github.wtznicy/my-websearch

Name: MyWebSearch Type: MCP Server (stdio + streamable-http/SSE) Repository: https://github.com/wtznicy/my-websearch npm: my-websearch (npx -y my-websearch@latest) Description: Multi-engine web search MCP server, CLI and local daemon — no API keys or registration required. Searches bing/baidu/csdn/juejin/sogou (domestic, no proxy needed in mainland China) and duckduckgo/exa/brave/startpage (overse

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-wtznicy-my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<YOUR_VALUE>",
        "BRAVE_API_KEY": "<YOUR_VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "STACKOVERFLOW_API_KEY": "<YOUR_VALUE>",
        "MODE": "both",
        "PORT": "3211",
        "LOG_LEVEL": "normal",
        "PROXY_URL": "http://127.0.0.1:7890",
        "USE_PROXY": "false",
        "CORS_ORIGIN": "*",
        "ENABLE_CORS": "false",
        "SEARCH_MODE": "auto",
        "FAKE_IP_CIDRS": "",
        "PROXY_ENGINES": "",
        "CONTEXT7_API_KEY": "",
        "PLAYWRIGHT_PACKAGE": "auto",
        "PLAYWRIGHT_HEADLESS": "true",
        "MCP_TOOL_SEARCH_NAME": "search",
        "DEFAULT_SEARCH_ENGINE": "bing",
        "ALLOWED_SEARCH_ENGINES": "",
        "FETCH_WEB_INSECURE_TLS": "false",
        "PLAYWRIGHT_MODULE_PATH": "",
        "PLAYWRIGHT_WS_ENDPOINT": "",
        "BING_IMPERSONATE_TARGET": "chrome131",
        "MCP_TOOL_FETCH_WEB_NAME": "fetchWebContent",
        "PLAYWRIGHT_CDP_ENDPOINT": "",
        "BING_PLAYWRIGHT_FALLBACK": "true",
        "MCP_TOOL_FETCH_CSDN_NAME": "fetchCsdnArticle",
        "MCP_TOOL_FETCH_GITHUB_NAME": "fetchGithubReadme",
        "MCP_TOOL_FETCH_JUEJIN_NAME": "fetchJuejinArticle",
        "PLAYWRIGHT_EXECUTABLE_PATH": "",
        "OPEN_WEBSEARCH_QUIET_STARTUP": "false",
        "STARTPAGE_PLAYWRIGHT_FALLBACK": "true",
        "PLAYWRIGHT_NAVIGATION_TIMEOUT_MS": "20000"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-wtznicy-my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<YOUR_VALUE>",
        "BRAVE_API_KEY": "<YOUR_VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "STACKOVERFLOW_API_KEY": "<YOUR_VALUE>",
        "MODE": "both",
        "PORT": "3211",
        "LOG_LEVEL": "normal",
        "PROXY_URL": "http://127.0.0.1:7890",
        "USE_PROXY": "false",
        "CORS_ORIGIN": "*",
        "ENABLE_CORS": "false",
        "SEARCH_MODE": "auto",
        "FAKE_IP_CIDRS": "",
        "PROXY_ENGINES": "",
        "CONTEXT7_API_KEY": "",
        "PLAYWRIGHT_PACKAGE": "auto",
        "PLAYWRIGHT_HEADLESS": "true",
        "MCP_TOOL_SEARCH_NAME": "search",
        "DEFAULT_SEARCH_ENGINE": "bing",
        "ALLOWED_SEARCH_ENGINES": "",
        "FETCH_WEB_INSECURE_TLS": "false",
        "PLAYWRIGHT_MODULE_PATH": "",
        "PLAYWRIGHT_WS_ENDPOINT": "",
        "BING_IMPERSONATE_TARGET": "chrome131",
        "MCP_TOOL_FETCH_WEB_NAME": "fetchWebContent",
        "PLAYWRIGHT_CDP_ENDPOINT": "",
        "BING_PLAYWRIGHT_FALLBACK": "true",
        "MCP_TOOL_FETCH_CSDN_NAME": "fetchCsdnArticle",
        "MCP_TOOL_FETCH_GITHUB_NAME": "fetchGithubReadme",
        "MCP_TOOL_FETCH_JUEJIN_NAME": "fetchJuejinArticle",
        "PLAYWRIGHT_EXECUTABLE_PATH": "",
        "OPEN_WEBSEARCH_QUIET_STARTUP": "false",
        "STARTPAGE_PLAYWRIGHT_FALLBACK": "true",
        "PLAYWRIGHT_NAVIGATION_TIMEOUT_MS": "20000"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-wtznicy-my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<YOUR_VALUE>",
        "BRAVE_API_KEY": "<YOUR_VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "STACKOVERFLOW_API_KEY": "<YOUR_VALUE>",
        "MODE": "both",
        "PORT": "3211",
        "LOG_LEVEL": "normal",
        "PROXY_URL": "http://127.0.0.1:7890",
        "USE_PROXY": "false",
        "CORS_ORIGIN": "*",
        "ENABLE_CORS": "false",
        "SEARCH_MODE": "auto",
        "FAKE_IP_CIDRS": "",
        "PROXY_ENGINES": "",
        "CONTEXT7_API_KEY": "",
        "PLAYWRIGHT_PACKAGE": "auto",
        "PLAYWRIGHT_HEADLESS": "true",
        "MCP_TOOL_SEARCH_NAME": "search",
        "DEFAULT_SEARCH_ENGINE": "bing",
        "ALLOWED_SEARCH_ENGINES": "",
        "FETCH_WEB_INSECURE_TLS": "false",
        "PLAYWRIGHT_MODULE_PATH": "",
        "PLAYWRIGHT_WS_ENDPOINT": "",
        "BING_IMPERSONATE_TARGET": "chrome131",
        "MCP_TOOL_FETCH_WEB_NAME": "fetchWebContent",
        "PLAYWRIGHT_CDP_ENDPOINT": "",
        "BING_PLAYWRIGHT_FALLBACK": "true",
        "MCP_TOOL_FETCH_CSDN_NAME": "fetchCsdnArticle",
        "MCP_TOOL_FETCH_GITHUB_NAME": "fetchGithubReadme",
        "MCP_TOOL_FETCH_JUEJIN_NAME": "fetchJuejinArticle",
        "PLAYWRIGHT_EXECUTABLE_PATH": "",
        "OPEN_WEBSEARCH_QUIET_STARTUP": "false",
        "STARTPAGE_PLAYWRIGHT_FALLBACK": "true",
        "PLAYWRIGHT_NAVIGATION_TIMEOUT_MS": "20000"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-wtznicy-my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<YOUR_VALUE>",
        "BRAVE_API_KEY": "<YOUR_VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "STACKOVERFLOW_API_KEY": "<YOUR_VALUE>",
        "MODE": "both",
        "PORT": "3211",
        "LOG_LEVEL": "normal",
        "PROXY_URL": "http://127.0.0.1:7890",
        "USE_PROXY": "false",
        "CORS_ORIGIN": "*",
        "ENABLE_CORS": "false",
        "SEARCH_MODE": "auto",
        "FAKE_IP_CIDRS": "",
        "PROXY_ENGINES": "",
        "CONTEXT7_API_KEY": "",
        "PLAYWRIGHT_PACKAGE": "auto",
        "PLAYWRIGHT_HEADLESS": "true",
        "MCP_TOOL_SEARCH_NAME": "search",
        "DEFAULT_SEARCH_ENGINE": "bing",
        "ALLOWED_SEARCH_ENGINES": "",
        "FETCH_WEB_INSECURE_TLS": "false",
        "PLAYWRIGHT_MODULE_PATH": "",
        "PLAYWRIGHT_WS_ENDPOINT": "",
        "BING_IMPERSONATE_TARGET": "chrome131",
        "MCP_TOOL_FETCH_WEB_NAME": "fetchWebContent",
        "PLAYWRIGHT_CDP_ENDPOINT": "",
        "BING_PLAYWRIGHT_FALLBACK": "true",
        "MCP_TOOL_FETCH_CSDN_NAME": "fetchCsdnArticle",
        "MCP_TOOL_FETCH_GITHUB_NAME": "fetchGithubReadme",
        "MCP_TOOL_FETCH_JUEJIN_NAME": "fetchJuejinArticle",
        "PLAYWRIGHT_EXECUTABLE_PATH": "",
        "OPEN_WEBSEARCH_QUIET_STARTUP": "false",
        "STARTPAGE_PLAYWRIGHT_FALLBACK": "true",
        "PLAYWRIGHT_NAVIGATION_TIMEOUT_MS": "20000"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-wtznicy-my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<YOUR_VALUE>",
        "BRAVE_API_KEY": "<YOUR_VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "STACKOVERFLOW_API_KEY": "<YOUR_VALUE>",
        "MODE": "both",
        "PORT": "3211",
        "LOG_LEVEL": "normal",
        "PROXY_URL": "http://127.0.0.1:7890",
        "USE_PROXY": "false",
        "CORS_ORIGIN": "*",
        "ENABLE_CORS": "false",
        "SEARCH_MODE": "auto",
        "FAKE_IP_CIDRS": "",
        "PROXY_ENGINES": "",
        "CONTEXT7_API_KEY": "",
        "PLAYWRIGHT_PACKAGE": "auto",
        "PLAYWRIGHT_HEADLESS": "true",
        "MCP_TOOL_SEARCH_NAME": "search",
        "DEFAULT_SEARCH_ENGINE": "bing",
        "ALLOWED_SEARCH_ENGINES": "",
        "FETCH_WEB_INSECURE_TLS": "false",
        "PLAYWRIGHT_MODULE_PATH": "",
        "PLAYWRIGHT_WS_ENDPOINT": "",
        "BING_IMPERSONATE_TARGET": "chrome131",
        "MCP_TOOL_FETCH_WEB_NAME": "fetchWebContent",
        "PLAYWRIGHT_CDP_ENDPOINT": "",
        "BING_PLAYWRIGHT_FALLBACK": "true",
        "MCP_TOOL_FETCH_CSDN_NAME": "fetchCsdnArticle",
        "MCP_TOOL_FETCH_GITHUB_NAME": "fetchGithubReadme",
        "MCP_TOOL_FETCH_JUEJIN_NAME": "fetchJuejinArticle",
        "PLAYWRIGHT_EXECUTABLE_PATH": "",
        "OPEN_WEBSEARCH_QUIET_STARTUP": "false",
        "STARTPAGE_PLAYWRIGHT_FALLBACK": "true",
        "PLAYWRIGHT_NAVIGATION_TIMEOUT_MS": "20000"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-wtznicy-my-websearch": {
      "command": "npx",
      "args": [
        "-y",
        "my-websearch"
      ],
      "env": {
        "EXA_API_KEY": "<YOUR_VALUE>",
        "BRAVE_API_KEY": "<YOUR_VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "STACKOVERFLOW_API_KEY": "<YOUR_VALUE>",
        "MODE": "both",
        "PORT": "3211",
        "LOG_LEVEL": "normal",
        "PROXY_URL": "http://127.0.0.1:7890",
        "USE_PROXY": "false",
        "CORS_ORIGIN": "*",
        "ENABLE_CORS": "false",
        "SEARCH_MODE": "auto",
        "FAKE_IP_CIDRS": "",
        "PROXY_ENGINES": "",
        "CONTEXT7_API_KEY": "",
        "PLAYWRIGHT_PACKAGE": "auto",
        "PLAYWRIGHT_HEADLESS": "true",
        "MCP_TOOL_SEARCH_NAME": "search",
        "DEFAULT_SEARCH_ENGINE": "bing",
        "ALLOWED_SEARCH_ENGINES": "",
        "FETCH_WEB_INSECURE_TLS": "false",
        "PLAYWRIGHT_MODULE_PATH": "",
        "PLAYWRIGHT_WS_ENDPOINT": "",
        "BING_IMPERSONATE_TARGET": "chrome131",
        "MCP_TOOL_FETCH_WEB_NAME": "fetchWebContent",
        "PLAYWRIGHT_CDP_ENDPOINT": "",
        "BING_PLAYWRIGHT_FALLBACK": "true",
        "MCP_TOOL_FETCH_CSDN_NAME": "fetchCsdnArticle",
        "MCP_TOOL_FETCH_GITHUB_NAME": "fetchGithubReadme",
        "MCP_TOOL_FETCH_JUEJIN_NAME": "fetchJuejinArticle",
        "PLAYWRIGHT_EXECUTABLE_PATH": "",
        "OPEN_WEBSEARCH_QUIET_STARTUP": "false",
        "STARTPAGE_PLAYWRIGHT_FALLBACK": "true",
        "PLAYWRIGHT_NAVIGATION_TIMEOUT_MS": "20000"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
EXA_API_KEY secret No Optional. Only needed for exa engine. Get a free key from https://dashboard.exa.ai/api-keys
BRAVE_API_KEY secret No Optional Brave Search API key (https://api.search.brave.com/app/keys) — for high-reliability official Brave Search API access
GITHUB_TOKEN secret No Optional GitHub Personal Access Token (https://github.com/settings/tokens) — increases rate limit from 10/min to 30/min
STACKOVERFLOW_API_KEY secret No Optional Stack Apps Key (https://stackapps.com/apps/oauth/register) — increases quota from 300/day to 10,000/day
MODE No Server mode: both HTTP+STDIO, HTTP only, or STDIO only. Options: both, http, stdio Default: both
PORT No Server port (MCP HTTP/S; CLI daemon uses 3210 by default) Default: 3211
LOG_LEVEL No quiet suppresses startup config logs (MCP stdio bare startup is silent by default; use LOG_LEVEL=normal for diagnostics). Options: normal, quiet Default: normal
PROXY_URL No Proxy server URL Default: http://127.0.0.1:7890
USE_PROXY No Enable HTTP proxy Default: false
CORS_ORIGIN No CORS origin configuration Default: *
ENABLE_CORS No Enable CORS Default: false
SEARCH_MODE No Search strategy. Currently only affects Bing: request only, request then Playwright fallback, or force Playwright. Options: request, auto, playwright Default: auto
FAKE_IP_CIDRS No Treat DNS answers in these CIDRs as synthetic fake-IP results and do not block them as private-network DNS answers. Literal private/local targets and other private-network DNS answers remain blocked
PROXY_ENGINES No With USE_PROXY=true, only the engines in this whitelist route through the proxy; others stay direct. Empty = all engines proxied (legacy global behavior). Recommended for mainland China: PROXY_ENGINES=duckduckgo,exa,brave,startpage
CONTEXT7_API_KEY No Optional API key for higher rate limits on Context7 docs tools
PLAYWRIGHT_PACKAGE No Which Playwright client package to resolve when browser mode is enabled. Options: auto, playwright, playwright-core Default: auto
PLAYWRIGHT_HEADLESS No Whether Playwright Chromium runs in headless mode Default: true
MCP_TOOL_SEARCH_NAME No Custom name for the search tool Default: search
DEFAULT_SEARCH_ENGINE No Default search engine. Options: bing, duckduckgo, exa, brave, baidu, csdn, juejin, startpage, sogou Default: bing
ALLOWED_SEARCH_ENGINES No Limit which search engines can be used; if the default engine is not in this list, the first allowed engine becomes the default
FETCH_WEB_INSECURE_TLS No Disable TLS certificate verification for fetchWebContent only. Use only when a target site has a broken certificate chain Default: false
PLAYWRIGHT_MODULE_PATH No Reuse an existing Playwright client package outside this project
PLAYWRIGHT_WS_ENDPOINT No Valid Playwright ws:// / wss:// endpoint
BING_IMPERSONATE_TARGET No Browser fingerprint target for Bing's HTTP mode. Any curl-cffi-node impersonate target (e.g. chrome131, chrome124, chrome116) Default: chrome131
MCP_TOOL_FETCH_WEB_NAME No Custom name for generic web/Markdown fetch tool Default: fetchWebContent
PLAYWRIGHT_CDP_ENDPOINT No Valid Chromium CDP endpoint
BING_PLAYWRIGHT_FALLBACK No In auto mode, when Bing's request mode hits an anti-bot page: true = launch a Playwright browser (slow, ~400MB); false = surface the error so the search service can cascade to lighter engines (e.g. duckduckgo/brave) via minResults Default: true
MCP_TOOL_FETCH_CSDN_NAME No Custom name for the CSDN article fetch tool Default: fetchCsdnArticle
MCP_TOOL_FETCH_GITHUB_NAME No Custom name for the GitHub README fetch tool Default: fetchGithubReadme
MCP_TOOL_FETCH_JUEJIN_NAME No Custom name for the Juejin article fetch tool Default: fetchJuejinArticle
PLAYWRIGHT_EXECUTABLE_PATH No Launch an existing Chromium/Chrome executable without installing bundled browsers
OPEN_WEBSEARCH_QUIET_STARTUP No Suppress startup config logs (compatibility switch, equivalent to LOG_LEVEL=quiet) Default: false
STARTPAGE_PLAYWRIGHT_FALLBACK No false = do not launch a Playwright browser for Startpage's Anubis anti-bot warmup (saves ~400MB memory and seconds of latency); surface the error so minResults can cascade to lighter engines instead Default: true
PLAYWRIGHT_NAVIGATION_TIMEOUT_MS No Timeout for Playwright navigation and Bing result waits Default: 20000

Similar servers