MCP Retrieval

v0.1.10
io.github.Role1776/mcp-retrieval Checked 1 day ago Published 1 month ago

Local Go MCP server: DuckDuckGo/Bing web + image search, readability scraping to Markdown.

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

web_scrape Web scrape

Downloads pages by their links and returns the main text as markdown. Use this to read a page in full after 'web_search' found it; snippets alone are often not enough. Links are fetched in parallel, up to 10 per call, so batch all links into one call. Size: 'max_chars' is a per-page character limit (not tokens). A page cut short ends with '[truncated]' and has 'truncated' set; the rest cannot be fetched afterwards. Results are reported per URL with a 'status' field (success, failed or timeout). A failed URL does not fail the others; the call errors only if every URL fails. Target sites may b…

ParameterTypeDescription
urls *null | array1-10 absolute http(s) page URLs, fetched in parallel; one malformed URL rejects the whole call
max_charsintegercharacter limit applied to each page separately, not to the whole response; default and maximum 20000, so it can only lower the limit; a cut page ends with '[truncated]'
remove_linksbooleanif true, markdown links are replaced by their text; default false
robots_txtbooleanif true, pages disallowed by the site robots.txt are not fetched; default false
timeout_msintegertimeout for the whole call in milliseconds, shared by all URLs; default 5000, clamped to 1000-10000; unfinished pages get status 'timeout'

web_search_images Web image search

Searches for images by one or more queries, executed in parallel. IMPORTANT: Queries must be in English ONLY. Use this only when you need pictures; use 'web_search' for text answers and links, and 'web_scrape' to read a page. Freshness: set the 'date' field to restrict results by recency - 'd' (past day), 'w' (past week), 'm' (past month), 'y' (past year); leave it empty for all time. Query operators can be embedded in the query string: 'site:example.com term' limits to one site, double quotes "exact phrase" force an exact match, and a leading '-' excludes a word. Results are reported per q…

ParameterTypeDescription
queries *null | array1-10 image search queries in English, run in parallel; each must be non-empty and at most 512 characters, otherwise the whole call is rejected
datestringfreshness filter: 'd' past day, 'w' past week, 'm' past month, 'y' past year; empty means all time; other values are ignored
max_imagesintegermaximum images per query, not in total; default 5, values above 10 are clamped to 10
timeout_msintegertimeout for the whole call in milliseconds, shared by all queries; default 5000, clamped to 1000-10000; unfinished queries get status 'timeout'