# wigolo

> Keyless, local-first search, fetch, crawl and research for agents over MCP

- Category: Data & Labeling / Web Scraping & Crawling
- Language: TypeScript
- Licence: AGPL-3.0
- Repository: https://github.com/KnockOutEZ/wigolo
- Website: https://knockoutez.github.io/wigolo/
- Canonical page: https://ai-tldr.dev/tools/wigolo/

## In short

wigolo gives an AI agent a single surface for everything web-related — search, fetch, crawl, extract, cache, find-similar, research, and autonomous gather loops — and runs it on the machine the agent runs on. It sits in the Web Scraping & Crawling category of the Data & Labeling tools and is open-source, written in TypeScript and licensed AGPL-3.0.

## Overview

wigolo gives an AI agent a single surface for everything web-related — search, fetch, crawl, extract, cache, find-similar, research, and autonomous gather loops — and runs it on the machine the agent runs on. The core tools need no API keys, nothing it touches leaves `~/.wigolo/`, and there is no per-query bill that grows with how much the agent thinks.

It meets agents where they already are. `npx wigolo init --agents=claude-code,cursor` sets up the local engine and writes the MCP configuration for the named agents in one command, with Claude Code, Cursor, Codex, Gemini CLI, OpenCode, VS Code, Windsurf, Zed and Antigravity supported by name; any other MCP client registers `npx -y wigolo` in its own config. It can also be reached as a REST/MCP endpoint next to self-hosted agents, or embedded through an SDK inside your own app.

What comes back is built to be acted on rather than skimmed. Each search result carries a verbatim excerpt pinned to a byte-exact position in the source, a citation ID the agent can quote, and an inspectable evidence score broken into semantic, lexical and engine-consensus components; weak results are flagged, failed engines are reported, and stale cache is labelled, so the agent always knows what it is standing on. Search, fetch, crawl, extract, cache and find-similar are fully keyless; `research`, `agent` and `search format=answer` use an LLM to write the synthesised cited answer, and without one they hand back a raw brief and the evidence instead. The project is in public beta.

## What it does

- Nine tools over MCP: search, fetch, crawl, extract, cache, find_similar, research, agent, and diff + watch for change detection
- Multi-engine search across 18 direct adapters with rank fusion, ML reranking and a per-result score the agent can inspect
- A tiered fetch router that escalates from plain HTTP to a headless browser on anti-bot challenges or SPA shells, returning clean markdown plus metadata and links
- Byte-exact provenance: every result carries a verbatim excerpt, a source span, a citation ID and a freshness signal
- Local-first and keyless by default — the core tools need no API key and nothing leaves ~/.wigolo/
- One-command setup that also wires supported coding agents' MCP config, plus Docker, Homebrew and single-file-binary install channels

## Getting started

Requires Node 20 or newer and about 1.5 GB of free disk on macOS, Linux or Windows. init is unattended by default, so it is safe to run in scripts and CI.

1. Set up the local engine

   Bare init downloads the browser engine and on-device models, runs a health check, and reports each component. Add --agents to wire your coding agents in the same run.

```bash
npx wigolo init                              # set up the local engine — any system
npx wigolo init --agents=claude-code,cursor  # …or set up + wire your day-to-day agents in one command
```

2. Check it is healthy

   A failed component download never fails setup — init reports what is not ready with the exact fix. doctor re-checks at any time.

```bash
npx wigolo doctor
```

3. Wire any other MCP client

   Agents outside the named list register wigolo as a normal MCP server command; the installation guide has the exact config block per client.

```bash
npx -y wigolo
```

4. Optionally add a key for synthesised answers

   Search, fetch, crawl, extract, cache and find-similar stay keyless. research, agent and search format=answer use an LLM to write the cited answer — any provider works, or stay fully local with ollama.

```bash
export WIGOLO_LLM_PROVIDER=gemini
export GEMINI_API_KEY=<free-key>      # grab one at aistudio.google.com/apikey — the free tier is plenty
```

5. Remove it cleanly

   Uninstall takes the local engine, models and cache with it.

```bash
npx wigolo config --uninstall --yes
```

## When to use it

- Give a coding agent live web access without signing up for a metered search API or letting queries leave the machine
- Run research questions that need breadth — decompose, fan out sub-queries, fetch sources and synthesise a cited report — from inside the agent loop
- Crawl and extract structured data (tables, JSON-LD, named schemas or a custom JSON Schema) as a step in an automated pipeline
- Watch pages for change and deliver the diff to a webhook, so an agent reacts to updates instead of re-reading everything
