Back to browse
GitHub Repository
5 starsRust

iherb-CLI – An agent-optimized CLI for AI-driven supplement research

by sebubu·Feb 15, 2026·1 point·0 comments

AI Analysis

●●SolidWizardryNiche GemShip It
The Take

It runs a headless Chromium to bypass Cloudflare, extracts consistent product fields, caches results, and emits clean Markdown so an LLM agent can do multi-step product comparisons — and it even ships as a Claude Code skill for autonomous queries. Smart, practical engineering, but the whole thing rests on brittle scraping (Cloudflare/site changes) and the README could use clearer notes on rate limits, legal/ToS tradeoffs, and agent integration examples.

Category
Target Audience

AI/agent developers, biohackers and supplement researchers, and developers needing structured iHerb product data

Post Description

iHerb has no public API, so I built a CLI that gives AI agents structured access to their entire product catalog. The idea: let your AI assistant autonomously research supplements, compare ingredients and dosages, and recommend products for a health protocol — backed by real data, not just training knowledge.

The CLI outputs clean Markdown, caches results, and handles Cloudflare bot protection via a headless browser. It ships as a Claude Code skill, so you can ask things like "compare the top 3 magnesium glycinate supplements by price and bioavailability" and the agent will do multi-step research on its own.

Built in Rust. No API key or account needed.

Similar Projects