Skip to main content
Glama

ksp-cli

CLI for searching and inspecting products sold by KSP Israel. Search the live catalog, refine results with KSP's current filters, and inspect pricing, availability, specifications, variations, recommendations, and images without an account or API key.

Install

TIP

Recommended: Install israel-shopping from the agent plugin marketplace.

Run directly:

npx -y -p git+https://github.com/TiranSpierer/ksp-cli.git ksp-cli --help

ksp-cli search "OLED 65"
ksp-cli search "טלוויזיה" --list-filters
ksp-cli search --filter 3158..134 --filter 3158..3387
ksp-cli search --filter 3158..134 --all-pages
ksp-cli search "laptop" --page 2 --details

Search results contain KSP's list_price. Use product offer or product info for the exact active sale price.

--list-filters saves the complete live filter tree to <os-temp>/ksp-cli/searches/<hash>/filters.yml and prints a compact group index and path. Filter IDs are contextual: apply a category, list filters again, and then choose refinements.

Single-page searches label KSP's aggregate range as reported_list_price_range; --all-pages computes list_price_range from the unique products fetched and reports incomplete pagination honestly.

ksp-cli product info 403899
ksp-cli product info 403899 --include-images
ksp-cli product offer 403899
ksp-cli product similar 403899
  • product info prints compact identity, effective price, availability, and generated file paths.

  • product offer prints effective price and availability and saves full commercial details.

  • product similar prints recommendation counts and saves the complete KSP recommendation lists.

  • Product arguments accept either a KSP UIN or full product URL.

product info creates a bundle under <os-temp>/ksp-cli/<uin>/:

product.yml       Product identity, description, and variations
offer.yml         List/sale/Eilat prices, payments, branch stock, and delivery
specifications.md Structured specifications supplied by KSP
marketing.md      KSP/importer presentation with additional product details
raw.json          Complete untouched response from KSP's product API
images/           Product images, created with --include-images

product similar additionally creates recommendations.yml in the same directory.

Commands print compact YAML. Product HTML is converted to readable Markdown, and large data is saved to local files so agents can inspect only what they need.

Search/filter counts and ranges retain explicit names such as reported_count and reported_list_price_range when KSP supplies values that the CLI cannot independently verify.

  • Node.js 20+

  • No KSP account or API key

Available Tools

4 tools
get_filtersget_filtersA
Read-only

Discover KSP's filter facets for a search term or category — filter groups (brand, size, resolution, features, energy, …) with each option's id and live product count. Feed chosen option ids to search_products' filters.

Inputs: query, filters.

get_productget_productA
Read-only

Get full details for one KSP product by UIN or URL: price, active promo/discount pricing (bms), stock, and variations. Specs, branch stock, images, delivery, and similar items are opt-in flags; include_raw dumps the entire untouched payload.

Inputs: uin (required), include_raw, include_specs, include_images, +4 more.

get_product_imagesget_product_imagesA
Read-only

Download all images for a KSP product (by UIN or URL) to the OS temp directory and return their local file paths. Open the paths to view the images.

Inputs: uin (required).

search_productssearch_productsA
Read-only

Search products on KSP (ksp.co.il), Israel's electronics retailer. Free-text query, or filters (facet ids from get_filters) for precise category filtering. Supports Hebrew and English.

Inputs: page, query, filters, all_pages, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: discovering filter facets, searching products, fetching product details, and downloading images. No overlapping functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (get_filters, search_products, get_product, get_product_images), making them predictable.

    Tool Count4/5

    Four tools is appropriate for a product browsing server, covering search, filtering, details, and images. Could potentially include category listing, but not necessary.

    Completeness4/5

    The set covers the main workflows: discovering filters, searching, retrieving full product details, and downloading images. Minor gap: no tool for listing categories or top-level departments.

    Related MCP Connectors

    Related MCP Servers