mcpsurfr

v1.2.3
io.github.nkapila6/mcpsurfr Checked 11 hours ago Published 1 month ago

Local web search with multi-engine deep research and on-device re-ranking.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

rag_search_ddgs Web search

Search the web and return the most relevant pages as text, for when whole pages are wanted (search returns only the relevant passages). Results are re-ranked locally by semantic similarity to the query before the top pages are fetched.

ParameterTypeDescription
query *stringThe search query. Use natural language questions or keywords. Example: "latest developments in quantum computing"
backendstringSearch backend, same names as deep_research. Default "auto" (ddgs metasearch over several engines, skipping blocked ones). Non-auto backends that return nothing are retried with…
exclude_domainsNever results from these sites. Example: ["pinterest.com"]
include_domainsOnly results from these sites, subdomains included. Example: ["python.org", "stackoverflow.com"]
include_urlsbooleanWhether to include each page's source URL for citation. Default: True
newsbooleanSearch news articles instead of the web. Results then carry their published "date". News backends: auto, bing, duckduckgo, yahoo. Pair with recency for current events.
num_resultsintegerNumber of initial search results to rank. More results provide better coverage but increase processing time. Default: 10
recencyOnly results from the past "day", "week", "month" or "year".
regionRegion-language code like "us-en", "uk-en" or "de-de". Default: ddgs's own (us-en).
top_kintegerNumber of top-ranked pages to fetch and return. Default: 5

read_url Read a page

Read one page whose URL you already have: a link the user pasted, or one from earlier results. HTML or PDF. With a query, returns only the passages that answer it, the same way search does; without one, the page's main text (cut to the shared budget).

ParameterTypeDescription
url *stringA public http(s) URL. Localhost and private network addresses are refused.
keywordsTerms a good answer would contain, as for search.
max_passagesintegerPassages to return when there's a query. Default 8.
queryWhat you want from the page. Leave out to get the whole text.

deep_research Deep research

Research a topic across several search terms and engines. Each term is searched on each backend, results are re-ranked locally by relevance, duplicates are removed, and the best pages are fetched as text. Backends: auto, brave, duckduckgo, google, grokipedia, mojeek, startpage, wikipedia, yahoo. - "auto" (default): ddgs metasearch over several engines, skipping blocked ones. Most reliable. - "brave": fast and usually available. - "wikipedia": exact article lookups, best with title-like terms. - "google", "startpage", "yahoo", "mojeek": often blocked. Empty engines are reported as warnings,…

ParameterTypeDescription
search_terms *array2-5 specific, related search queries covering different angles. Example: ["postgres query planner", "postgres index types", "EXPLAIN ANALYZE tutorial"]
backendsBackends to use. Defaults to ["auto"]. Unknown names are skipped with a warning.
exclude_domainsNever results from these sites. Example: ["pinterest.com"]
include_domainsOnly results from these sites, subdomains included. Example: ["python.org", "stackoverflow.com"]
include_urlsbooleanWhether to include each page's source URL.
newsbooleanSearch news articles instead of the web. Results then carry their published "date". News backends: auto, bing, duckduckgo, yahoo. Pair with recency for current events.
num_results_per_termintegerNumber of results to rank per search term per backend.
recencyApplied to every term. Only results from the past "day", "week", "month" or "year".
regionRegion-language code like "us-en", "uk-en" or "de-de". Default: ddgs's own (us-en).
top_k_per_termintegerNumber of top-ranked results to keep per search term per backend.