Appearance
CLI Usage (Claude Code)
When using SaveHealth through Claude Code in the terminal, the experience is text-based. There are no interactive UI widgets. Each tool runs in sequence and results are displayed as formatted tables. You type your selections in plain language.
Interactive UI
SaveHealth also provides an interactive UI with visual widgets when used in Claude.ai or ChatGPT. See How It Works for details.
CLI vs Interactive UI
| Interactive UI (Claude.ai, ChatGPT) | CLI (Claude Code) | |
|---|---|---|
| Presentation | Visual widgets and cards | ASCII text tables |
| Selection | Click options in the UI | Type your choice in plain language |
| Flow control | UI handles step transitions | Tools run sequentially |
| Refinement | UI controls for quantity/dosage | Type changes like "what about 90?" |
Full Example: Lipitor Search to Coupon
A complete interaction: searching for Lipitor, comparing options, checking prices at different quantities, and getting a coupon.
Step 1: Search for the Drug
❯ can you please give me best lipitor pricessearch_drug runs and finds the drug. If multiple matches are found, you are asked to pick one.
Step 2: View Drug Options
get_drug_options returns all available dosage strengths, forms, and quantities:
Generic (Atorvastatin)
| # | Dosage | Form | Default Qty | Available Quantities |
|---|---|---|---|---|
| 1 | 20mg | Tablet | 30 | 30, 45, 60, 90, 180 |
| 2 | 10mg | Tablet | 30 | 15, 30, 45, 60, 90, 180 |
| 3 | 40mg | Tablet | 30 | 30, 45, 60, 90, 180 |
| 4 | 80mg | Tablet | 30 | 15, 30, 45, 60, 90, 180 |
Brand (Lipitor)
| # | Dosage | Form | Default Qty | Available Quantities |
|---|---|---|---|---|
| 5 | 10mg | Tablet | 30 | 6, 15, 30, 31, 45, 60, 90 |
| 6 | 20mg | Tablet | 30 | 5, 6, 15, 30, 45, 60, 90 |
| 7 | 40mg | Tablet | 30 | 6, 30, 45, 60, 90 |
| 8 | 80mg | Tablet | 30 | 6, 10, 15, 30, 45, 60, 90 |
Which option and quantity would you like to see prices for? (e.g., "option 1, 30 tablets")
Generic options are always listed first since they are the cheaper alternative.
Step 3: Compare Prices
Select an option by typing:
❯ I actually want lipitor 40mgget_drug_prices returns prices for Brand Lipitor 40mg, 30 tablets:
| # | Pharmacy | Price |
|---|---|---|
| 1 | Albertsons | $557.00 |
| 2 | Walmart | $603.44 |
| 3 | Walgreens | $613.49 |
| 4 | CVS | $614.85 |
The best price is $557.00 at Albertsons. Would you like me to get a coupon for any of these pharmacies?
Changing the quantity mid-conversation
You can adjust the quantity without starting over:
❯ what if I wanted the version with 90Updated prices for 90 tablets:
| # | Pharmacy | Price |
|---|---|---|
| 1 | Albertsons | $1,656.00 |
| 2 | Walgreens | $1,779.19 |
| 3 | CVS | $1,803.94 |
| 4 | Walmart | $1,848.29 |
Best price is again $1,656.00 at Albertsons. That works out to ~$18.40/tablet vs ~$18.57/tablet with the 30-count, so a slight per-unit savings.
Step 4: Get Your Coupon
Select a pharmacy:
❯ nice. I prefer to buy at CVSget_coupon returns the discount card:
| Field | Value |
|---|---|
| Price | $1,803.94 |
| BIN | 015995 |
| PCN | GDC |
| Group ID | DR33 |
| Member ID | LHKTJ412283 |
Present these details at the CVS pharmacy counter. Save or screenshot this for reference!
Refining Mid-Conversation
You can adjust any selection without restarting:
- Change quantity: "what about 90 tablets?" or "show me the 60-count price"
- Switch pharmacy: "actually, get me the CVS coupon" or "I prefer Walgreens"
- Change dosage: "what about the 20mg version?" or "show me 80mg instead"
- Switch to generic: "what's the generic price for this?" or "show me Atorvastatin instead"
The conversation context is preserved and only the necessary tools re-run.
Tips
- NDC shortcut: if you have the NDC from your prescription bottle, provide it directly to skip search and options. Example: "NDC 29300039710, Amlodipine 5mg, qty 30, prices and coupon?"
- Generics first: generic alternatives are always listed before brand-name drugs
- Price sorting: pharmacy prices are always listed cheapest first
- Per-unit comparison: ask for per-unit cost comparison across quantities to find the best value
Setup
To add SaveHealth to Claude Code, run:
claude mcp add savehealth --transport http https://mcp-agentcore.labhack-public.tools/mcpSee Setup for full installation instructions.

