my-websearch
v1.6.1MyWebSearch - multi-engine web search MCP server, CLI and local daemon.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search
Search the web across engines (CN/EN/Code). Supports multi-query ('queries'), timeRange, site filter. Pass fetchTop (1~3) to auto-fetch top full articles as research brief in one turn. No API keys required.
| Parameter | Type | Description |
|---|---|---|
engines | array | Search engines to use (default: auto-routes by query language; explicit engines do not cascade unless minResults is specified) |
fetchTop | integer | Pass 1~3 to auto-fetch top full articles as a research brief in one shot, avoiding extra fetch turns |
format | string | Output format: 'json' (default when fetchTop is 0) or 'markdown' (default when fetchTop > 0 for a structured research brief) |
limit | integer | Target total results after merging all engines (default: server DEFAULT_SEARCH_LIMIT, usually 10). Not a per-engine quota: once enough results are collected, slower engines may be cancelled (see cance… |
minResults | integer | Auto-run additional engines when fewer usable results come back (default: 5 when engines omitted, 0 when engines explicitly specified) |
queries | array | 1-4 queries run concurrently and merged (required if 'query' is omitted) |
query | string | Single search query (required if 'queries' is omitted; use 'queries' for multi-intent fan-out) |
searchMode | string | Execution mode: 'request' (HTTP only), 'auto' (HTTP with browser fallback), or 'playwright' (headless browser only) |
site | array | Restrict search to specific site domain(s) (e.g. ['github.com', 'developer.mozilla.org']) |
timeRange | string | Publication time range filter ('day', 'week', 'month', 'year') |
verbose | boolean | Include verbose diagnostic fields (engineMetrics, full failure hints, and redundant source hostnames); default false to save tokens |
fetchWebContent
Fetch readable web content/docs/PDFs. Auto-cleans ads, keeps code/tables. Supports outline mode & sectionId for long docs, BM25 focus, batch URLs (1-3), and startIndex paging.
| Parameter | Type | Description |
|---|---|---|
cache | string | Cache mode: 'default' uses disk Markdown cache; 'reload' forces re-fetching upstream |
citations | boolean | Rewrite inline links as numbered citations and append a '## References' list |
extract | object | Extract structured JSON via CSS selectors without LLM |
focus | string | Keyword or topic to target. Uses BM25 semantic scoring to rank and extract relevant paragraphs, saving tokens on long pages |
focusMode | string | Focus scoring algorithm (default 'bm25'; 'window' keeps ±2500 char slice around first match) |
format | string | Content format: 'markdown' (default, keeps headings, code blocks, tables), 'text' (compact plain text), or 'raw' (unprocessed HTML/source) |
includeLinks | boolean | Include extracted links array in metadata |
maxChars | integer | Max characters to return (default 30000). Use with startIndex for paging |
mode | string | Extraction mode: 'full' (default) returns content body; 'outline' returns H1-H4 heading tree with section slug IDs and char estimates — use on long docs to avoid burning tokens |
raw | boolean | (Deprecated: use format='raw') Return raw response body without extraction |
readability | boolean | Force readability parser (default: auto-detected based on content) |
retainLinks | string | Inline link style: 'all' (default), 'text' (strip URLs, saves tokens on index pages), 'none' |
sectionId | string | Directly extract a specific section by heading slug ID or title (from outline mode). Reads until next same-level heading |
selector | string | CSS selector to narrow extraction to a specific DOM subtree |
startIndex | integer | Character offset to start reading from. Use nextStartIndex from a previous response to page through long content |
url | Public HTTP(S) URL or array of 1-3 URLs to fetch. Array fetches concurrently and splits maxChars budget | |
urls | array | (Optional alias for url array) Batch URLs (1~3 URLs run concurrently) |
fetchGithubContent
Fetch GitHub/Gitee by URL: README, file (/blob/, lines), tree, issue, PR, commit, releases, or repo symbol search ('symbol'). Example: https://github.com/o/r/blob/main/src/index.ts — ref can be branch/tag/commit; not a repo clone.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
lines | string | Optional source-file line range, 1-based inclusive (e.g. "120-180"). Only valid for /blob/ URLs; URL hash #L120-L180 also works. |
maxResults | integer | Optional max number of symbol search results to return (1-20, default 5). |
ref | string | Optional branch, tag, or commit for symbol search (defaults to repo default branch). |
releaseLimit | integer | Optional number of releases to return for /releases URLs (1-30, default 10). |
symbol | string | Optional code symbol to search in the repository (e.g. "Use", "RouterGroup", "createContext"). Performs fast whole-repo syntactic search. |
queryDocs
Fetch docs, API references & syntax-extracted sections for packages/APIs/tools. Multi-source: 'auto' (smart fallback), 'official', 'docs.rs', 'pkg.go.dev', 'devdocs' (800+ tools/langs), 'mdn' (Web standards), 'javadoc', 'context7', 'npm', 'pypi'.
| Parameter | Type | Description |
|---|---|---|
cache | string | Use the 24h local docs cache (default 'default') or bypass/refresh it with 'reload' |
library | string | Library, package, middleware, or Web API name (e.g. 'react', 'fastapi', 'tokio', 'redis', 'docker', 'fetch', 'Array.prototype.map', 'org.apache.commons:commons-lang3'). Also supports ecosystem prefixe… |
libraryId | string | Legacy alias for library (e.g. '/vercel/next.js') |
limit | integer | Maximum number of code snippets or sections to return (default 5) |
query | string | The specific topic, method, command, or question to get relevant documentation for (e.g. 'hset', 'useMemo', 'middleware', 'asyncio'). For long documents (>8000 chars), syntax-level section extraction… |
source | string | Documentation source: 'auto' (smart routing & cascade fallback: Context7 -> Official Site -> DevDocs -> Registry), 'official' (standalone doc site), 'docs.rs' (Rust crates), 'pkg.go.dev' (Go packages)… |
strict | boolean | If true, rejects low-confidence matches with an error instead of returning loosely matched candidate docs or alternative libraries (default false) |
version | string | Optional explicit version for consistent multi-source pinning (e.g. '18.2.0', '3.11', '1.38.0', 'v1.9.1'). Overrides an @version embedded in library |