CLISHOP Documentation

Complete reference for the CLISHOP CLI — the terminal-based shopping tool for humans and AI agents. Search products, manage orders, configure safety agents, and interact with the entire CLISHOP commerce network.

Introduction

CLISHOP is a command-line interface that lets you search, compare, and buy products from your terminal. It connects to the CLISHOP backend, which aggregates products from multiple vendor stores into a single searchable catalog.

Every command supports --json output, making it ideal for integration with AI agents, automation scripts, and LLM tool-calling pipelines. Safety is built-in through agents — configurable profiles that enforce spending limits, category restrictions, and confirmation requirements.

Key Concepts

  • Agent — A safety profile that controls what the CLI can buy. Each agent has spending caps, allowed/blocked categories, and a default address + payment method.
  • Store — A vendor connected to CLISHOP. Can be a Dark Store (YAML config), Shopify store, eBay store, or custom integration.
  • Extended Search — Real-time search that queries vendor stores directly when local catalog results are insufficient.
  • Advertise — Post a request describing what you need. Vendors bid to fulfill it.

Installation

CLISHOP requires Node.js 18+. Install globally via npm:

terminal
$ npm install -g clishop

After installation, the clishop command is available globally.

terminal
$ clishop --version 1.1.0

ℹ️ The CLI uses keytar for secure credential storage, which may require system dependencies on Linux. On macOS and Windows, it works out of the box.

Setup Wizard

On first run (when no subcommand is provided and setup hasn't been completed), CLISHOP automatically starts an interactive setup wizard that walks you through:

  1. Account — Register or log in (by creating an account you accept the Terms & Conditions and Privacy Policy)
  2. Agent — Configure a safety profile (default: $200 max per order, confirmation required)
  3. Shipping Address — Add your delivery address (required — searches need a country to work)
  4. Payment Method — Set up a secure payment method via the web portal
  5. First Search — Try a sample product search
terminal
$ clishop Welcome to CLISHOP — Order anything from your terminal.

You can re-run the wizard anytime with:

terminal
$ clishop setup

Quickstart

After setup, here's the fastest path to placing your first order:

terminal
# 1. Search for a product $ clishop search "wireless headphones" # 2. Get details on result #1 $ clishop info 1 # 3. Buy result #1 (or use the full product ID) $ clishop buy 1 # 4. Confirm the order via the email you receive # 5. Check your orders $ clishop order list

💡 After a search, you can use result numbers instead of product IDs: clishop info 1 2 3 or clishop buy 2.

For AI Agents

Every command supports --json output. Combined with non-interactive flags, the CLI is fully automatable:

terminal
# Non-interactive login $ clishop login -e agent@company.ai -p your-password # Search with JSON output $ clishop search "monitor" --json # Get product details $ clishop info 1 --json # Buy without confirmation prompt $ clishop buy 1 -y --agent work # Get order status as JSON $ clishop order show ordr_xxx --json

login

Log in to your CLISHOP account. If already logged in, you'll be asked to confirm switching accounts.

terminal
$ clishop login $ clishop login -e user@example.com -p mypassword
OptionDescription
-e, --emailEmail address (prompts if omitted)
-p, --passwordPassword (secure prompt if omitted)

💡 For AI agents, always pass -e and -p flags to avoid interactive prompts.

register

Create a new CLISHOP account. Always interactive — prompts for name, email, password, and confirmation.

terminal
$ clishop register

logout

Log out and clear all locally stored tokens from the OS keychain.

terminal
$ clishop logout

Performs a best-effort server-side logout, then always clears local credentials regardless.

whoami

Display the currently logged-in user's name, email, and ID.

terminal
$ clishop whoami Name: John Doe Email: john@example.com ID: usr_abc123

Agents Overview

Agents are safety profiles that control what the CLI can do. Each agent has:

  • maxOrderAmount — Maximum dollar amount per order (default: $200)
  • requireConfirmation — Whether to require email/web confirmation before orders are sent to the vendor (default: true)
  • allowedCategories — Whitelist of product categories (empty = all allowed)
  • blockedCategories — Blacklist of product categories
  • defaultAddressId — Default shipping address for this agent
  • defaultPaymentMethodId — Default payment method for this agent

A default agent is always present and cannot be deleted. It comes pre-configured with a $200 spending cap and order confirmation required. You can create additional agents for different use cases (e.g., "work", "personal", "automated").

ℹ️ When confirmation is enabled, orders are held after payment until you confirm via the email link or the website dashboard. The order is only sent to the vendor after confirmation. You can disable this per-agent if you trust your automation.

💡 Use --agent <name> as a global flag on any command to override the active agent for that single invocation.

agent list

List all configured agents. Active agent is marked with a green dot.

terminal
$ clishop agent list

Alias: clishop agent ls

agent create

Create a new safety agent.

terminal
$ clishop agent create work --max-amount 200 $ clishop agent create automated --max-amount 50 --no-confirm
OptionDescriptionDefault
--max-amount <amount>Maximum order amount in dollars200
--require-confirmRequire email/web confirmation before orders shiptrue
--no-confirmDisable confirmation (orders ship immediately after payment)

agent use

Switch the active agent.

terminal
$ clishop agent use work ✓ Active agent set to "work".

agent show

Show details of a specific agent (defaults to the active agent).

terminal
$ clishop agent show $ clishop agent show work

agent update

Interactively update an agent's settings — spending limit, confirmation, and category restrictions.

terminal
$ clishop agent update $ clishop agent update work

agent delete

Delete an agent. Prompts for confirmation. Cannot delete the default agent.

terminal
$ clishop agent delete work

Alias: clishop agent rm work

Search for products across all connected stores. Supports extensive filtering, sorting, and output options.

terminal
$ clishop search "wireless headphones" $ clishop search "laptop" --max-price 100000 --free-shipping --sort price --order asc $ clishop search "monitor" --json --per-page 20 $ clishop search "keyboard" -e --country US --interactive

Product Match Filters

OptionDescription
-c, --category <category>Filter by product category
--brand <brand>Filter by brand name
--model <model>Filter by model name/number
--sku <sku>Filter by SKU
--gtin <gtin>Filter by GTIN (UPC/EAN/ISBN)
--variant <variant>Filter by variant (size/color/storage)

Cost Filters

OptionDescription
--min-price <price>Minimum price in cents
--max-price <price>Maximum price in cents
--max-shipping <price>Maximum shipping cost in cents
--max-total <price>Maximum total (item + shipping) in cents
--free-shippingOnly show items with free shipping

Delivery Location Filters

OptionDescription
--ship-to <address>Saved address label or ID (auto-resolves country/city/postal)
--country <code>ISO 3166-1 alpha-2 country code (e.g. US, BE, NL)
--city <city>Delivery city
--postal-code <code>Delivery postal/zip code
--region <region>Delivery state/province/region
--lat <latitude>Delivery latitude (for proximity search)
--lng <longitude>Delivery longitude (for proximity search)
--deliver-by <date>Need delivery by date (YYYY-MM-DD)
--max-delivery-days <days>Maximum delivery/transit days
--expressOnly 2-day or faster delivery

⚠️ A delivery country is required for searches. If no location flags are provided, the CLI uses the active agent's default address. If no address is set, the search will fail with an error asking you to add one (clishop address add).

Availability & Returns

OptionDescription
--in-stockOnly show in-stock items
--exclude-backorderExclude backordered items
--min-qty <qty>Minimum quantity available
--free-returnsOnly show items with free returns
--min-return-window-days <days>Minimum return window in days

Trust & Store Filters

OptionDescription
--store <store>Limit to a specific store (ID, slug, or name)
--vendor <vendor>Alias for --store
--trusted-onlyOnly show products from verified stores
--min-store-rating <rating>Minimum store rating (0-5)
--checkout-mode <mode>Checkout mode: instant or handoff

Sorting, Pagination & Output

OptionDescriptionDefault
--min-rating <rating>Minimum product rating (1-5)
-s, --sort <field>Sort by: price, total-cost, rating, relevance, newest, deliveryrelevance
--order <dir>Sort order: asc, descdesc
-p, --page <page>Page number1
-n, --per-page <count>Results per page10
--jsonOutput raw JSON
--compactCompact one-line-per-result output
--detailedShow full product details inline
-i, --interactiveInteractively select products for more store info

Extended Search

OptionDescriptionDefault
-e, --extended-searchForce extended search (query all stores in real-time)auto
--no-extended-searchDisable automatic extended search
--extended-timeout <seconds>Extended search timeout (5-60 seconds)30

ℹ️ Extended search auto-triggers when no local results are found. Use -e to force it, or --no-extended-search to disable it. Extended search queries vendor stores directly in real-time for live product data. Results use xprd_ IDs.

Currency Conversion

Search results automatically display prices converted to your local currency (determined from your delivery country). Exchange rates are fetched from the open.er-api.com service and cached for 1 hour.

product

View detailed information about a specific product by its ID.

terminal
$ clishop product prod_a8k3m2x9 $ clishop product prod_a8k3m2x9 --json

Shows: name, price, shipping, availability, rating, reviews, category, store, return policy, and description.

info

Request detailed product information directly from vendor stores. Works with product IDs from extended search results, or result numbers from your last search.

terminal
# Use result numbers from your last search $ clishop info 1 $ clishop info 1 2 3 # Or use full product IDs $ clishop info xprd_abc123 $ clishop info xprd_abc123 --json

Accepts up to 20 product IDs per request. Returns buyer-relevant data from stores including specifications, images, features, and more.

💡 After a search, a tip is shown reminding you that clishop info 1 works with result numbers — no need to copy-paste long IDs.

buy

Quick-buy a product by its ID or search result number. Uses the active agent's default address and payment method.

terminal
# Buy by search result number $ clishop buy 1 # Buy by product ID $ clishop buy prod_a8k3m2x9 $ clishop buy xprd_abc123 -q 2 --address addr_xxx --payment pay_xxx $ clishop buy 1 -y # skip CLI confirmation prompt
OptionDescriptionDefault
-q, --quantity <qty>Quantity to order1
--address <id>Shipping address IDAgent default
--payment <id>Payment method IDAgent default
-y, --yesSkip confirmation prompt

Safety Checks

Before placing an order, the CLI enforces the active agent's safety rules:

  • Max order amount — Rejects if total exceeds the agent's spending cap (default: $200)
  • Blocked categories — Rejects if the product is in a blocked category
  • Allowed categories — Rejects if the product is not in the whitelist (when set)
  • CLI confirmation — Shows order summary and prompts for confirmation (unless -y is passed)

Order Confirmation Flow

When the agent's requireConfirmation is enabled (default), orders go through this flow:

  1. Payment is authorized — your card is charged immediately
  2. Order is held — the order is not sent to the vendor yet
  3. You receive a confirmation email — with a one-click confirm link
  4. You confirm — via the email link or on the website dashboard
  5. Order ships — only after confirmation is the order sent to the vendor

💡 The confirmation email also includes a "Confirm & don't ask for future orders" option, which disables confirmation for that agent going forward.

order list

List your orders with optional status filtering.

terminal
$ clishop order list $ clishop order list --status shipped --json
OptionDescription
--status <status>Filter: pending, confirmed, processing, shipped, delivered, cancelled
-p, --page <page>Page number
--jsonOutput raw JSON

order show

View detailed order information including items, tracking, and live vendor status.

terminal
$ clishop order show ordr_b7n4q1y8 $ clishop order show ordr_b7n4q1y8 --json

If the order has an external reference (e.g., eBay), the CLI fetches live tracking information including carrier, tracking number, and estimated delivery date.

order cancel

Cancel an order. Prompts for confirmation.

terminal
$ clishop order cancel ordr_b7n4q1y8

⚠️ Cancellation may not be possible for orders already shipped or fulfilled by the vendor.

address list

List all addresses for the active agent. Default address is marked with a green dot.

terminal
$ clishop address list

Alias: clishop address ls

address add

Add a new shipping address. Interactive prompts for all fields. Supports business addresses with VAT number.

terminal
$ clishop address add

Address Fields

FieldRequiredDescription
labelYesFriendly name (e.g. Home, Office)
firstNameYesRecipient's first name
lastNameYesRecipient's last name
phoneNoPhone number with country code (e.g. +32412345678)
line1YesStreet name and number
line2NoApartment, suite, floor
postalCodeYesPostal / ZIP code
cityYesCity
regionNoState / Province / Region
countryYesFull country name (e.g. Belgium, United States) — normalized to country code automatically
instructionsNoDelivery instructions
companyNameIf businessCompany name
vatNumberNoVAT number

ℹ️ In the CLI, you enter your country as a full name (e.g. "Belgium") and the system confirms the resolved country code before saving. On the website, a country dropdown is provided. A shipping address (and country) is required for searches to work.

address remove

Remove an address by its ID. Prompts for confirmation.

terminal
$ clishop address remove addr_xxx

Alias: clishop address rm addr_xxx

address set-default

Set the default shipping address for the active agent.

terminal
$ clishop address set-default addr_xxx

payment list

List payment methods for the active agent.

terminal
$ clishop payment list

Alias: clishop payment ls

payment add

Add a payment method. Opens a secure web link — card details are never entered in the CLI.

terminal
$ clishop payment add Open this link in your browser: https://clishop-backend.vercel.app/pay/setup/...

ℹ️ For security, the CLI never collects raw card details. Payment setup happens through the secure web portal. After completing setup, verify with clishop payment list.

payment remove

Remove a payment method by ID.

terminal
$ clishop payment remove pay_xxx

Alias: clishop payment rm pay_xxx

payment set-default

Set the default payment method for the active agent.

terminal
$ clishop payment set-default pay_xxx

review order

Review all items and the store from a specific order. Interactive — prompts for rating (1-10), title, and body for each item.

terminal
$ clishop review order ordr_b7n4q1y8

Automatically fetches which items and stores are reviewable. Already-reviewed items are skipped.

review add

Write a review for a specific product.

terminal
$ clishop review add prod_a8k3m2x9 $ clishop review add prod_a8k3m2x9 --order ordr_b7n4q1y8

review store

Write a review for a store.

terminal
$ clishop review store store_xxx

review list

List all your product and store reviews.

terminal
$ clishop review list $ clishop review list --json

Alias: clishop review ls

review rating

View rating details for a product or store, including Bayesian average and rating cap info.

terminal
$ clishop review rating prod_a8k3m2x9 $ clishop review rating store_xxx --store

review delete

Delete one of your reviews.

terminal
$ clishop review delete rev_xxx $ clishop review delete srev_xxx --store

Alias: clishop review rm

store list

List available stores in the CLISHOP network.

terminal
$ clishop store list $ clishop store list --verified --min-rating 4 --country US
OptionDescriptionDefault
-q, --query <query>Search stores by name
--verifiedOnly show verified stores
--min-rating <rating>Minimum store rating (0-5)
--country <country>Filter by country
-s, --sort <field>Sort by: name, rating, newest, productsname
--order <dir>Sort order: asc, descasc
-p, --page <page>Page number1
-n, --per-page <count>Results per page20
--jsonOutput raw JSON

store info

View detailed store information by name, slug, or ID.

terminal
$ clishop store info audiotech-store $ clishop store info store_xxx --json

store catalog

Browse a specific store's product catalog with search and filters.

terminal
$ clishop store catalog audiotech-store $ clishop store catalog audiotech-store -q "headphones" --in-stock --sort price
OptionDescription
-q, --query <query>Search within the store's products
-c, --category <category>Filter by category
--min-price / --max-pricePrice range in cents
--min-rating <rating>Minimum product rating (1-5)
--in-stockOnly show in-stock items
--free-shippingOnly items with free shipping
-s, --sort <field>Sort by: price, rating, newest, name

When you can't find what you need through search, you can advertise a request. This publishes your requirements to all vendors in the CLISHOP network, who can then bid to fulfill it.

Think of it as a reverse marketplace — you describe what you want, and vendors compete to offer the best price and terms.

Create a new advertised request through an interactive wizard.

terminal
$ clishop advertise create

Prompts for: product title, description, SKU, brand, features, quantity, recurring preference, max bid price, delivery speed, return requirements, delivery address, and accepted payment methods.

Quickly advertise a request using flags (non-interactive).

terminal
$ clishop advertise quick "Sony WH-1000XM5" --brand Sony --bid-price 249.99 --speed 3 $ clishop advertise quick "office supplies" -q 50 --recurring --recurring-note "monthly"
OptionDescription
-d, --description <desc>Detailed description
--sku <sku>Specific SKU
--brand <brand>Preferred brand
--company <company>Preferred company/manufacturer
--features <features>Desired features
-q, --quantity <qty>Quantity needed (default: 1)
--recurringMark as recurring order
--recurring-note <note>Recurrence frequency (e.g. weekly, monthly)
--bid-price <price>Maximum bid price in dollars
--currency <code>Currency code (default: USD)
--speed <days>Desired delivery speed in days
--free-returnsRequire free returns
--min-return-days <days>Minimum return window in days
--payment-methods <methods>"all" or comma-separated payment IDs
--address <id>Delivery address ID

List your advertised requests.

terminal
$ clishop advertise list $ clishop advertise list --status open --json

View an advertised request and all its vendor bids.

terminal
$ clishop advertise show adv_xxx

Accept a vendor's bid on your request. All other bids are automatically rejected.

terminal
$ clishop advertise accept adv_xxx bid_yyy

Reject a specific vendor bid.

terminal
$ clishop advertise reject adv_xxx bid_yyy

Cancel an advertised request entirely.

terminal
$ clishop advertise cancel adv_xxx

support create

Create a support ticket for an order issue.

terminal
$ clishop support create ordr_b7n4q1y8

Prompts for category, priority, subject, and detailed message.

Ticket Categories

CategoryDescription
generalGeneral question
damagedDamaged item
missingMissing item
wrong_itemWrong item received
refundRefund request
shippingShipping issue
otherOther

Priority Levels

PriorityDescription
lowNon-urgent issue
normalStandard priority
highImportant issue
urgentCritical — needs immediate attention

support list

List your support tickets.

terminal
$ clishop support list $ clishop support list --status open --json

support show

View a ticket and its full message history.

terminal
$ clishop support show tkt_xxx

support reply

Reply to a support ticket. Opens your default editor for composing the message.

terminal
$ clishop support reply tkt_xxx

support close

Close a resolved ticket.

terminal
$ clishop support close tkt_xxx

Feedback Overview

Found a bug? Have an idea to make CLISHOP better? The feedback command lets you report bugs and submit suggestions directly from the terminal. The CLISHOP team reviews all feedback and keeps you updated on progress.

  • Bug reports — Describe what went wrong, how to reproduce it, and what you expected to happen. Structured fields help us fix issues faster.
  • Suggestions — Share feature ideas, improvements, or any other feedback to help shape CLISHOP's future.

Each submission gets a status that you can track:

StatusMeaning
openSubmitted and awaiting review
acknowledgedThe team has seen your feedback
in_progressActively being worked on
fixedBug fixed or suggestion implemented
wont_fixWon't be addressed (with explanation)
closedResolved and closed

feedback bug

Report a bug. Interactive prompts walk you through providing a clear bug report with structured fields.

terminal
$ clishop feedback bug

You'll be prompted for:

FieldDescription
TitleShort summary of the bug (e.g. "Search crashes on empty query")
DescriptionGeneral description of the problem
Steps to reproduceHow to trigger the bug — step by step
What happensThe actual (incorrect) behavior you observe
What should happenThe expected (correct) behavior

💡 Be as specific as possible in your steps to reproduce — include the exact commands you ran, any flags used, and the full error output if applicable.

feedback suggest

Submit a feature request or suggestion.

terminal
$ clishop feedback suggest

You'll be prompted for:

FieldDescription
TitleShort summary of your idea (e.g. "Add wishlist feature")
SuggestionDetailed description of what you'd like to see

feedback list

List all your submitted bug reports and suggestions, with current status for each.

terminal
$ clishop feedback list $ clishop feedback list --type bug $ clishop feedback list --type suggestion --json
OptionDescription
--type <type>Filter by type: bug or suggestion
--jsonOutput raw JSON

feedback show

View the full details of a specific feedback item, including any status updates or admin notes.

terminal
$ clishop feedback show fdbk_xxx $ clishop feedback show fdbk_xxx --json

When the team updates the status of your feedback (e.g., marking a bug as fixed), you'll see the new status and any admin notes here.

config show

Display current CLI configuration: active agent, output format, and config file path.

terminal
$ clishop config show Active agent: default Output format: human Config path: /home/user/.config/clishop/config.json

config set-output

Set the default output format for all commands.

terminal
$ clishop config set-output json $ clishop config set-output human

Valid values: human (formatted terminal output) or json (structured JSON).

config reset

Reset all local configuration to defaults. This removes all agents, resets the output format, and clears the active agent.

terminal
$ clishop config reset

⚠️ This resets all local settings. Your server-side data (orders, addresses, payment methods) is not affected.

config path

Print the absolute path to the local config file.

terminal
$ clishop config path /home/user/.config/clishop/config.json

status

Show a full account overview: user info, all agents with their addresses and payment methods.

terminal
$ clishop status $ clishop status --json

This is the most comprehensive command to see everything at a glance — your user info, all agents, their addresses, and payment methods in one view.

MCP Server

CLISHOP ships as a native Model Context Protocol (MCP) server. Every Claude Desktop, Cursor, Windsurf, or other MCP-compatible AI client gets access to 19 shopping tools out of the box.

The MCP server uses the same authentication and configuration as the CLI — it reads from the OS keychain and local config. Log in once with clishop login, and every MCP client on your machine can use the tools.

How it works

The MCP server runs over stdio — the MCP client spawns the process and communicates via JSON-RPC over stdin/stdout. No HTTP server, no ports, no firewall configuration needed.

There are three ways to start the MCP server:

MethodCommandWhen to use
npx (zero-install)npx -y clishop --mcpRecommended for MCP client configs
Global binaryclishop-mcpAfter npm i -g clishop
CLI flagclishop --mcpFrom the main CLI

ℹ️ You must be logged in (clishop login) before using MCP tools. The server uses the same auth tokens stored in your OS keychain.

VS Code / GitHub Copilot

Add to .vscode/mcp.json in your workspace:

json
{ "servers": { "clishop": { "command": "npx", "args": ["-y", "clishop", "--mcp"] } } }

Or if installed globally:

json
{ "servers": { "clishop": { "command": "clishop-mcp", "args": [] } } }

After saving, the CLISHOP tools will appear in Copilot's tool list. Ask Copilot things like "Search for USB-C cables under $20".

Claude Desktop

Add to your claude_desktop_config.json (find it via Claude Desktop → Settings → Developer → Edit Config):

json
{ "mcpServers": { "clishop": { "command": "npx", "args": ["-y", "clishop", "--mcp"] } } }

Or if you've installed CLISHOP globally:

json
{ "mcpServers": { "clishop": { "command": "clishop-mcp" } } }

After saving, restart Claude Desktop. You'll see CLISHOP tools appear in the 🔧 Tools icon. Now you can ask Claude things like:

  • "Search for wireless earbuds under $50 with free shipping"
  • "Show me my recent orders"
  • "Buy product prod_xxx"
  • "What stores sell mechanical keyboards?"
  • "Add my office address: 123 Main St, Amsterdam, NL"

Cursor

Add to .cursor/mcp.json in your project root (or global config):

json
{ "mcpServers": { "clishop": { "command": "npx", "args": ["-y", "clishop", "--mcp"] } } }

Windsurf

Add to ~/.windsurf/mcp.json:

json
{ "mcpServers": { "clishop": { "command": "npx", "args": ["-y", "clishop", "--mcp"] } } }

Available Tools

The MCP server exposes 19 tools that mirror the full CLI surface:

ToolDescriptionRead-only
search_productsSearch products across all stores with price, brand, category, delivery, stock, rating, and extended search filters
get_productGet detailed product info: price, specs, availability, reviews
buy_productPlace an order (agent safety limits are enforced)
list_ordersList orders, optionally filtered by status
get_orderFull order details including tracking info
cancel_orderCancel a pending or confirmed order
list_addressesList saved shipping addresses
add_addressAdd a new shipping address
remove_addressRemove a shipping address
list_payment_methodsList saved payment methods
list_storesBrowse and search available stores
get_storeGet store details and verification status
store_catalogBrowse a store's product catalog
account_statusFull account overview: user, agents, addresses, payments
list_agentsList safety agents with spending limits and category rules
create_advertise_requestPost a request for vendors to bid on
create_support_ticketOpen a support ticket for an order issue
list_support_ticketsList your support tickets
submit_feedbackReport bugs or suggest improvements

💡 Read-only tools are safe to use at any time. Write tools (buy_product, cancel_order, etc.) respect your agent's safety configuration — spending limits, allowed/blocked categories, and confirmation requirements all apply.

Safety & Agent Controls

The MCP server enforces the same safety guardrails as the CLI. The active agent's configuration is checked before every purchase:

  • Spending limits — Orders exceeding the agent's maxOrderAmount are rejected
  • Category rules — Blocked categories are enforced; allowed-category whitelists are respected
  • Default address & payment — The agent's defaults are used automatically when not specified

To configure safety limits, use the CLI: clishop agent update or clishop agent create shopping-bot --max-amount 50.

Error Codes

The CLI uses standard HTTP status codes from the backend. Here are the most common errors you may encounter:

CodeMessageCause
401Session expiredToken expired and refresh failed. Run clishop login.
404Not foundThe resource (product, order, address, etc.) does not exist.
422Validation errorsOne or more fields failed validation. The CLI lists each invalid field.
429Rate limitedToo many requests. Wait and retry.
5xxServer errorBackend infrastructure issue. Try again later.

CLI-Side Errors

ErrorCauseFix
Agent "X" does not existReferenced agent hasn't been createdclishop agent create X
Cannot delete "default" agentThe default agent is immutableCreate a new agent instead
No address setActive agent has no default addressclishop address add
No payment method setActive agent has no default paymentclishop payment add
Order total exceeds limitOrder exceeds agent's maxOrderAmountIncrease limit with clishop agent update
Category "X" is blockedProduct category is in agent's blockedCategoriesUpdate agent to remove the restriction
Passwords do not matchPassword confirmation mismatch during registrationRe-enter matching passwords

Global Options

These options can be used with any command:

OptionDescription
--agent <name>Override the active agent for this command only
--versionShow CLI version
--helpShow help for any command
terminal
# Use a specific agent for a single command $ clishop --agent work search "monitor" $ clishop --agent automated buy prod_xxx -y # Get help for any command $ clishop search --help $ clishop agent --help

FAQ

What is CLISHOP and who is it for?

CLISHOP is a command-line shopping tool for anyone who prefers the terminal over clicking through websites. It's also built specifically for AI agents — Claude, GPT, Cursor, Windsurf, and others can use it as an MCP server to place real orders on your behalf. You set the safety limits, and the agent does the shopping.

Is CLISHOP free to use?

Yes. Installing and using the CLI is free. You pay for the products you order (through the vendor), plus any applicable platform fee at checkout. There is no subscription and no upfront cost.

Which countries are supported?

CLISHOP works in any country that the connected stores ship to. When you add a shipping address, searches automatically filter to products that ship to your location. Coverage depends on the stores in the network — some ship worldwide, some only to specific regions.

What happens after I place an order?

By default, every order requires your confirmation before anything ships. Once you place an order:

  1. Payment is authorized immediately.
  2. You receive a confirmation email with a one-click link.
  3. After confirmation, the order is forwarded to the vendor for fulfillment.
  4. You can track progress with clishop order show <id>.

You can disable confirmation per-agent with --no-confirm if you trust your automation.

I got an order wrong — can I cancel it?

Yes, if the order hasn't been confirmed yet, it won't have been sent to the vendor — just don't confirm it and it will expire. If already confirmed, run clishop order cancel <id>. Whether cancellation is accepted depends on the vendor's policy. For issues after shipping, use clishop support create <orderId>.

Can I sell my own products on CLISHOP?

Yes. Deploy a Dark Store — a config-driven vendor template. Define your catalog, shipping zones, and pricing in YAML files, deploy to Vercel (or any host), and CLISHOP routes buyer orders to you automatically. No public website required.

Do I need a shipping address before I can search?

Yes. A country is required for every search so CLISHOP can filter to products that actually ship to you. Add one during setup (clishop setup) or any time with clishop address add.

How do I use CLISHOP with an AI agent / LLM?

The recommended way is via the MCP server. Add CLISHOP to your Claude Desktop, Cursor, or Windsurf config and the AI gets 19 shopping tools automatically. See the MCP Server section for setup.

Alternatively, every command supports --json for structured output. Use non-interactive login (-e / -p flags), skip confirmations with -y, and create a dedicated agent with --no-confirm for fully automated workflows.

Where is my config file stored?

Run clishop config path to find it. Typically at ~/.config/clishop/config.json on Linux/macOS.

How do I reset everything?

Run clishop config reset to reset local settings, then clishop logout to clear credentials.

What is extended search?

Extended search queries vendor stores directly in real-time. It auto-triggers when no local catalog results are found. You can force it with -e or disable it with --no-extended-search. It has a configurable timeout (default 30s, max 60s).

How do I use the --ship-to flag?

Pass a saved address label (e.g., --ship-to Home) or address ID. The CLI resolves the address's country, city, and postal code to geo-target search results.

Can I buy products from extended search results?

Yes. Use clishop buy <product-id> with the ID from extended search results (prefixed with xprd_), or just use the result number: clishop buy 1. The CLI first tries the local catalog, then falls back to extended products.

What is an advertise request?

When search doesn't return what you need, clishop advertise create lets you post a request. Vendors see it and can bid to fulfill your order. It's a reverse marketplace where vendors compete for your business.

Is my payment information secure?

Yes. The CLI never handles raw card details. Payment setup happens through a secure web portal. Locally, authentication tokens are stored in the OS keychain (macOS Keychain, Windows Credential Store, or Linux Secret Service).

How does the rating system work?

Ratings are on a 1-10 scale. The system uses Bayesian averaging with rating caps based on order volume. New stores need more orders to unlock higher ratings (100+ for 8.0+, 1000+ for 9.0+).

How do I report a bug or suggest a feature?

Use clishop feedback bug to report bugs or clishop feedback suggest for feature ideas. You can track the status of all your submissions with clishop feedback list. The team reviews every submission and updates the status as work progresses.

🤖 AI Agent Documentation

For machine-readable documentation optimized for AI agents and LLMs, see /llms.txt

CLISHOP Chat
We usually reply instantly
Hi there! 👋 What's your name?