Cecil B Menswear CLI (cecilb)

cecilb is the official command-line tool for the Cecil B Menswear API. Search the catalog, read prices and availability, list collections, and get store hours and policies from a terminal, a script, or a coding agent. It's read-only and needs no API key.

Install

npm install -g https://api.cecilbmenswear.com/cli/cecilb-cli.tgz
cecilb --help

Run it once without installing:

npx -y https://api.cecilbmenswear.com/cli/cecilb-cli.tgz search navy suit

Commands

CommandWhat it does
cecilb search <words...> [--limit N]Search products (up to 10 results)
cecilb products [--page N] [--limit N]List the catalog, newest first
cecilb product <handle>One product with variants, prices and availability
cecilb collections [--page N] [--limit N]List collections
cecilb collection <handle> [--page N] [--limit N]Products in one collection
cecilb storeAddress, phone, email and opening hours
cecilb policiesList store policies
cecilb policy <refund, shipping, privacy, terms or contact>Full policy text (refund is the exchange policy)
cecilb mcp-configPrint an MCP client config for the Cecil B Menswear MCP Server

Add --json to any command for the raw API JSON:

cecilb search "dress shoes" --json
cecilb product vitali-blue-seersucker-two-piece-suit --json
cecilb store

Prices

"price pending" means the item has no online price yet. It is not free; call the store at (313) 336-7294.

Exit codes

Exit code 0 means success, 1 means an API or network error (the API's detail and hint are printed), and 2 means a usage error. Use --base-url or the CECILB_API_URL environment variable to point it at another base URL.