← Back to Leaderboard
K1broseidon

1broseidon/ketch

A Go CLI and stdio MCP frontend for web, code, and docs retrieval

RAG & Data ToolQuickstart ↓
Engineering Health (Methodology)
A+ · 88/100
Maintenance Activity
● Updated 4d ago
Latest Release
v0.22.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption13/25
Release Cadence20/20
License Clarity20/20
CLIMCP
Total Stars
★ 774
24h Growth
+2
7d Growth
+13
Forks
46

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

1broseidon/ketch Star History (2026-04-10 - 2026-12-04) ALL-TIME STAR HISTORY (2026-04 – 2026-12) +773 in 238d · avg +3/day 817 409 0 2026-04-10: ★ 12026-04-25: ★ 42026-05-16: ★ 232026-06-06: ★ 912026-06-27: ★ 1032026-07-18: ★ 3952026-08-08: ★ 4642026-08-29: ★ 5262026-09-19: ★ 5952026-10-10: ★ 7032026-10-31: ★ 7372026-11-15: ★ 7492026-12-04: ★ 774 ★ 774 2026-04 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

ketch is a Go retrieval and extraction frontend, not a general-purpose RAG database. main.go and cmd/ are the CLI entrypoint and command area, with Cobra and pflag in the dependency set. Search, code lookup, and crawling have separate module directories. The HTML path prefers content landmarks and prose structure, falls back to readability, and converts the selected material to Markdown; goquery, Cascadia, go-readability, and html-to-markdown are in the Go manifest alongside Rod for browser automation.

CLI invocations do not depend on a resident service. The same binary can run as a stdio MCP server using the Go MCP SDK, while the ketch-pi package wraps CLI JSON commands as tools for pi. Stateless execution does not mean diskless operation: effective configuration, a bbolt page cache, saved bookmarks, and an offline docs index support reuse across invocations. Bookmarks retain source metadata rather than full page bodies.

Key Capabilities & Differentiators

Web search normalizes configured and keyless providers behind one interface. auto prefers configured self-hosted endpoints and keyed providers before falling back to keyless options; --multi queries usable backends concurrently and fuses their rankings with Reciprocal Rank Fusion. Public code search supports Grep, Sourcegraph, and authenticated GitHub Code Search. docs checks the local index first on its default backend and otherwise extracts source passages from live documentation; Context7 is an explicit opt-in with an anonymous quota.

scrape accepts URLs, JSON arrays, files, or stdin, while crawl traverses by breadth-first search or sitemap and supports background status tracking. Suspected JS-shell pages can be fetched again with headless Chrome. For HTML, clean prunes more peripheral content than complete; extract processes piped HTML without fetching or caching. Text-based PDFs use a pure-Go parser by default. Image-only PDFs need OCR outside that built-in path, and a configured external converter is authoritative rather than a best-effort fallback.

Trade-offs & Limitations

Compared with curl | pandoc, ketch adds discovery, provider failover, site traversal, caching, and structured output. Compared with direct provider SDKs, it offers a common interface but should not be assumed to expose every native provider control. Keyless means no initial credential setup, not unlimited capacity or offline operation. Upstream ranking, quotas, and availability still shape live results; the v0.22.0 docs path reads the search hits it selects rather than guaranteeing coverage of an entire site.

Treat the 72-hour default page-cache TTL as a reuse policy, not a retention guarantee. A deeper crawl may refetch a cached page whose link metadata is missing; failed backfill can still return the cached content with an incomplete-link diagnostic. Bookmarks outlive cache expiry and clearing, but do not preserve bodies. Only HTTP(S) URLs are fetched after rewriting, and reachable private HTTP(S) endpoints are not blocked, so use egress restrictions when exposing tools to untrusted callers. The MIT license covers the software, not upstream service terms or reuse rights for fetched material.

Hardware & Deployment Guide

Install a release binary via Homebrew, the ketch-cli npm package, or GitHub Releases, or build with go install; the supplied module declares Go 1.26.11. The installer covers macOS and Linux on x86-64 and ARM64 and checks the binary against the release checksum list. For agent integration, run the CLI directly or launch ketch mcp serve from the client. Configuration lives at ~/.config/ketch/config.json, flags take precedence, and ketch config exposes effective settings and available backends. ketch doctor checks backend, browser, cache, and tag health.

Start with a CPU-only runner and size for fetch concurrency and document size; browser rendering and external PDF conversion add separate resource costs. No local model runtime is required. Configure Chrome for rendering, set provider credentials or a SearXNG/Degoog endpoint as needed, and index libraries in advance for offline docs lookup. v0.21.0 introduced keyless live extraction from docs; v0.21.1 made unverifiable requested versions fail instead of drifting to unversioned content. v0.22.0 made unnamed-library lookups follow search order: the first readable document, then up to two more from the same site and release.

Search routing: auto returns the first successful backend; --multi runs usable providers concurrently and applies Reciprocal Rank Fusion.
Agent integration: global --json, documented exit codes, and stdio MCP expose retrieval without a separately deployed API.
Documentation retrieval: indexed libraries are available offline; the v0.22.0 unnamed-library path reads the first readable search hit and up to two more from the same site and release.
Extraction: structure-first HTML cleanup with readability fallback, headless Chrome for JS shells, and native text extraction for text-based PDFs.
Crawl reuse: the bbolt page cache defaults to a 72-hour TTL and can reuse resolved links; missing link metadata can require a refetch.
Research continuity: bookmarks survive cache expiry and cache clear; a saved URL does not imply that its page body is still cached.
Best For

Agent and terminal workflows that need to discover public sources, extract readable material, and optionally look up pre-indexed library docs offline without operating a network API.

Skip If

You need a shared vector store, durable full-text retention, or a hosted multi-tenant retrieval service with enforced network isolation.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLIMCP
# macOS / Linux, any of x86_64 or arm64
curl -fsSL https://ketch.run/install | sh

# Homebrew
brew install ketch

# npm
npm install -g ketch-cli

# go install
go install github.com/1broseidon/ketch@latest

# Or download a prebuilt binary (linux/darwin/windows, amd64/arm64)
# from https://github.com/1broseidon/ketch/releases

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
ketch ★774+13GoMITA Go CLI and stdio MCP frontend for web, code, and docs retrieval
firecrawl216.7k+4.8kTypeScriptAGPL-3.0Local and hosted web ingestion that turns sites into RAG-ready Markdown
milvus46.8k+63GoApache-2.0Distributed vector database for filtered and hybrid retrieval at scale
markitdown199.7k+950PythonMITPython library and CLI that turn mixed-format documents into Markdown for RAG in

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/1broseidon/ketch.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

1broseidon/ketch Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about ketch

Should an agent integrate through the CLI or MCP?

Use CLI subprocesses when you want --json output and exit codes for control flow. Use ketch mcp serve when your client already supports stdio MCP and you want search, code, docs, scrape, crawl, and tag exposed as tools. The MCP entrypoint is not a network API.

What hardware does ketch need?

No local model, GPU, or VRAM requirement is specified for the Go CLI. Start with a CPU-only runner for HTTP fetching and extraction, then size it for concurrent fetches and document sizes. Measure headless Chrome separately if JavaScript rendering is common; external PDF converters have their own runtime requirements.

Can we use ketch commercially and keep retrieval local?

The MIT license permits commercial use and redistribution subject to its notice requirements. Search providers and fetched content have separate terms. Run the CLI or MCP process on your own machines, point web search at your own SearXNG or Degoog instance if needed, and use indexed docs for offline lookup. Self-hosted search does not make live page fetches offline.

When is ketch preferable to a script, a provider SDK, or a RAG store?

Choose ketch over a custom curl | pandoc pipeline when you need discovery, site crawling, JavaScript fallback, or a common JSON interface across providers. A direct provider integration is simpler when you use only one backend and need its native controls. If you need shared, durable semantic retrieval across a corpus, evaluate a dedicated RAG data store instead.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining 1broseidon/ketch? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature 1broseidon/ketch on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare