Cluefinch MCP is a local service that provides web research capabilities for AI agents through the Model Context Protocol (MCP), enabling agents to search the web, read pages, navigate between related sources, and conduct multi-source deep research. It is free to use, requires no paid subscription, does not depend on commercial search APIs or cloud-hosted deep research services, and imposes no limits on the number of search queries or research runs. It requires Python 3.12.4 or higher and runs as a standard local MCP server via stdio; the search backend uses a self-hosted SearXNG instance, and the repository provides local configuration examples (examples/searxng/compose.yaml, settings.yml), with the default address being http://127.0.0.1:8081,可通过 MCP_SEARCH_SEARXNG_URL to change it.
Main tools: web_search searches via SearXNG and returns links, supports controlling the number of results, selecting search engines and language, safe search, restricting or excluding domains, and reports unresponsive engines; web_fetch downloads HTML, extracts the main content and converts it to Markdown, supports fetching a small preview first and reading incrementally by position, returning next_start and a continuation action; web_links extracts HTTP/HTTPS links in document order, resolves relative links to absolute URLs, making it easy to enter document sections, report sections, pagination, and primary sources; research_collect can process multiple queries or URLs at the same time, deduplicates by the final URL after redirects, uses BM25 ranking to select the most relevant passages, keeps stable coordinates and source_id for each passage, and explicitly reports in gaps the sources that cannot be retrieved or are duplicates.
Efficiency and safety: incremental reading sends only the currently needed content into the model context; extracted text has content_hash version verification, and when a page changes it reports this instead of returning stale passages; final URL deduplication ensures sources are traceable; results and pages use local TTL/LRU caching and merge concurrent identical requests; all URLs are validated before fetching for protocol, hostname, DNS, and final IP, blocking local, private, reserved, multicast, and other addresses, with repeated validation after redirects and before connecting.
Usage: after installation, ensure the cluefinch executable is in PATH, start SearXNG, then configure the cluefinch command in a client that supports local stdio MCP (such as Cursor, VS Code GitHub Copilot, Qwen Code, etc.); for specific configuration examples, complete tool parameters, and limitations, see docs/REFERENCE.md in the repository, and AGENTS.md in the repository provides deep research workflow examples that can be used to define an agent's search and collection rules. Research depth depends on the task, model, and user instructions.