Skip to main content

mcp-name: io.github.Treevu-ai/cli-market-world - CLI Market: commerce API for AI agents. 31 curated MCP tools (57 legacy), 46 indicators, 37 verified retailers in 9 countries. MIT.

Project description

mcp-name: io.github.Treevu-ai/cli-market-world

CLI MARKET — terminal demo

🛒 CLI Market

PyPI Downloads PyPI

🌐 Español · English


🇪🇸 Español

Cost-of-Living OS para LatAm — optimiza tu compra en una llamada.

Stripe convirtió los pagos en APIs. CLI Market convierte el costo de vida en una.

market optimize "leche, arroz, aceite" --country PE — una llamada compara toda la canasta entre 41 retailers, calcula TCO, sugiere sustitutos y genera links de acción. Falabella, Ripley, Wong, Metro no van a exponer APIs de comercio por su cuenta. CLI Market es el puente.

CLI Market lo resuelve. Un solo pip install. Una llamada a la API que cubre 82 retailers (37 verificados activos) en 9 países. Un único esquema JSON listo para integrar.

  • 🌍 82 retailers (37 verificados activos) · 9 países · 4 plataformas
  • 💰 Más de 68,000+ precios de góndola verificados, normalizados por kg/L, actualizados cada 4 horas
  • 💳 Pago con PayPal + Mercado Pago + QR (Yape/Plin) integrado

✨ ¿Por qué CLI Market?

  • 🔎 Busca cualquier producto en 82 retailers (37 verificados activos) de 9 países
  • 📊 Compara precios transfronterizos — PEN, ARS, BRL, MXN, COP, CLP, EUR, USD — normalizados por kg/L cuando es posible
  • 🧺 Canasta — compara tu carrito completo entre retailers (p. ej. Carrefour vs Jumbo vs Vea en AR)
  • 📈 Inflación — sigue cambios reales de precios desde la góndola, actualizados cada 4 horas; historial de hasta 12 meses para señales de cuándo comprar, no solo qué
  • 🧠 Enriquecimiento — datos de mercado a partir de góndola + APIs públicas (OFF, Wikimedia, IMF, Eurostat, BCB, Banco Mundial)
  • 🛍️ Compra — orden interna CLI Market + pago LATAM (PayPal / Yape / Plin); no checkout en sitio del retailer
  • 🏗️ Construye — foso de datos con spreads filtrados por calidad, matching de canasta y dashboard en vivo
  • 🔗 API-first — schema JSON normalizado, listo para integrar; el retailer LATAM no expone APIs por su cuenta

🌐 cli-market.dev · 📚 Docs · 🔧 Tools · 📊 Stats · API · Dashboard

🚀 Inicio rápido

pip install cli-market-world
market hello   # post-instalación: estadísticas + próximos pasos
market init    # cuenta + primera búsqueda (recomendado)

# Cost-of-Living OS — una llamada optimiza toda la canasta
market optimize "leche evaporada, arroz 5kg, aceite" --country PE

# Flujo granular (opcional)
market search "leche" --country PE
market compare "aceite de girasol 900ml" --country AR
market basket "arroz:1 aceite:1 leche:1" --country AR
market checkout --payment yape
market intel brief --country PE

¿Qué hace market optimize? Compara toda la canasta entre retailers, calcula TCO, sugiere sustitutos con ahorro y genera links de acción — una sola llamada. market checkout crea una orden interna CLI Market con pago vía Yape/Plin/PayPal; no completa compras en Wong, Rappi ni Mercado Libre.

💵 Planes

Plan Starter Pro Enterprise
Precio $9/mes $49/mes · Anual $490 A medida
Solicitudes/día 1,000 10,000 Ilimitadas (negociado)
Solicitudes/min 60 300 Ilimitadas
API keys 1 10 Ilimitadas
Intel Ilimitado Ilimitado + white-label
Alertas de precio ✅ Hasta 10 (email) Ilimitadas (email + webhook)
Historial de precios 7 días 12 meses Completo
Exportar datos CSV ilimitado + cron Feed directo S3/webhook
Checkout ✅ PayPal / Yape / Plin
Soporte Comunidad Email 4h 24/7 + SLA escrito
Anual $490/año

¿Quién compra qué? (ecosistema)

Buyer Producto Precio
Developer / agent builder que integra comercio en su software CLI Market Pro $49/mes
Equipo de compras (restaurante, hotel, agro) — sin código Procure Copilot $29–149/mes (infra CLI Market incluida en Pro+)
Analista / fintech que necesita datos, no checkout Intelligence $300–500/mes

Equipos de procurement no necesitan CLI Market Pro por separado. Ver planes y pricing.


🇬🇧 English

Cost-of-Living OS for LatAm — optimize your purchase in one call.

Stripe turned payments into APIs. CLI Market turns cost of living into one.

market optimize "milk, rice, oil" --country PE — one call compares your full basket across 41 retailers, calculates TCO, suggests substitutes, and generates action links. Falabella, Ripley, Wong, Metro won't expose commerce APIs on their own. CLI Market is the bridge.

CLI Market fixes that. One pip install. One API call across 82 retailers (37 verified active) in 9 countries. One JSON schema ready to integrate.

  • 🌍 82 retailers (37 verified active) · 9 countries · 4 platforms
  • 💰 68,000+ verified shelf prices, normalized per kg/L, refreshed every 4 hours
  • 💳 PayPal + Mercado Pago + QR (Yape/Plin) checkout built in

✨ Why CLI Market?

  • 🔎 Search any product across 82 retailers (37 verified active) in 9 countries
  • 📊 Compare cross-border prices — PEN, ARS, BRL, MXN, COP, CLP, EUR, USD — normalized per kg/L where parseable
  • 🧺 Basket — compare your full cart across retailers (e.g. Carrefour vs Jumbo vs Vea in AR)
  • 📈 Inflation — track real shelf-price changes, updated every 4 hours; up to 12-month history for when-to-buy signals, not just what-to-buy
  • 🧠 Enrichment — market data from shelf data + public APIs (OFF, Wikimedia, IMF, Eurostat, BCB, World Bank)
  • 🛍️ Buy — internal CLI Market order + LATAM payment (PayPal / Yape / Plin); not retailer-site checkout
  • 🏗️ Build — data moat with quality-filtered spreads, basket matching, and live dashboard
  • 🔗 API-first — normalized JSON schema, ready to integrate; LATAM retailers don't expose APIs themselves

🌐 cli-market.dev · 📚 Docs · 🔧 Tools · 📊 Stats · API · Dashboard

🚀 Quick start

pip install cli-market-world
market hello   # post-install: stats + next steps
market init    # account + first search (recommended)

# Cost-of-Living OS — one call optimizes your full basket
market optimize "evaporated milk, 5kg rice, cooking oil" --country PE

# Granular flow (optional)
market search "leche" --country PE
market compare "aceite de girasol 900ml" --country AR
market basket "arroz:1 aceite:1 leche:1" --country AR
market checkout --payment yape
market intel brief --country PE

What does market optimize do? Compares your full basket across retailers, calculates TCO, suggests substitutes with savings, and generates action links — one call. market checkout creates an internal CLI Market order with payment via Yape/Plin/PayPal; it does not complete purchases on Wong, Rappi, or Mercado Libre.

💵 Pricing

Plan Starter Pro Enterprise
Price $9/mo $49/mo · Annual $490 Custom
Requests/day 1,000 10,000 Unlimited (negotiated)
Requests/min 60 300 Unlimited
API keys 1 10 Unlimited
Intel Unlimited Unlimited + white-label
Price alerts ✅ Up to 10 (email) Unlimited (email + webhook)
Price history 7 days 12 months Full dataset
Export CSV unlimited + cron Direct S3/webhook feed
Checkout ✅ PayPal / Yape / Plin
Support Community Email 4h 24/7 + written SLA
Annual $490/yr

Who buys what (ecosystem)

Buyer Product Price
Developer / agent builder embedding commerce in their software CLI Market Pro $49/mo
Procurement team (no code) Procure Copilot $29–149/mo (CLI Market infra bundled on Pro+)
Analyst / fintech needing data, not checkout Intelligence $300–500/mo

Procurement teams do not need a separate CLI Market Pro subscription. See pricing.


📖 Learn more


🏗️ Ecosystem architecture

CLI Market is composed of 4 product repos + 1 GTM repo:

cli-market-backend   Mirror API — paridad con prod, FastAPI server, 81 retailers, 63,000+ prices
       |
       v  raw snapshots
cli-market-index     Semantic Refinery — entity resolution, Golden Records (prod_ IDs)
       |
       v  canonical identities
cli-market-core      Intelligence SDK — MCP tools, billing, indicators (PyPI public)
       |
       v  structured intelligence
cli-market-world     Exposure — landing, docs, ops/CI, Railway prod + PyPI (THIS REPO)
Repo Visibility Role
cli-market-backend Private Mirror API + FastAPI server
cli-market-index Private Entity resolution engine
cli-market-core Public Intelligence SDK + MCP tools
cli-market-world Public Landing + docs + Railway prod
cli-market-content Private GTM + content calendar

📊 Dashboard auditability

Every price in CLI Market is traceable. The live dashboard exposes:

  • Cobertura 7 díascoverage_7d_pct per retailer: what % of each store's catalog refreshed in the last week
  • Normalización por kg/L — unit price visible next to shelf price (e.g. PEN 4.20/kg), with counter of non-parseable names
  • Confianza por snapshotok vs suspect distribution from scrape-quality heuristics
  • Percentiles P25/P50/P75 — median replaces mean in category comparisons; eliminates outlier distortion (e.g. ARS 230K in departamentales)
  • Trazabilidad de outliers — group size, band (median ± k·IQR), acceptable bounds, scraper health state, capture timestamp
  • Foso de datosinventory_daily[] time series + growth stats (total snapshots, daily avg, days tracked)

All six capabilities are backed by the same 63,000+ shelf prices, refreshed every 4 hours by the collector daemon.


🔧 API tools (Shop · Intel · Account)

32 MCP tools (default profile) across Shop, Intel, and Account bundles. Full catalog at cli-market.dev/tools · mcp.json.

The canonical entry point is market_optimize_purchase — one call covers basket compare, TCO, substitutes, intel, and action links. The legacy search → compare → basket flow remains available for granular use.


SINAPSIS INNOVADORA S.A.C. — RUC 20613045563 — Lima, Peru
MIT License · cli-market.dev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cli_market_world-1.11.8.tar.gz (213.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cli_market_world-1.11.8-py3-none-any.whl (132.3 kB view details)

Uploaded Python 3

File details

Details for the file cli_market_world-1.11.8.tar.gz.

File metadata

  • Download URL: cli_market_world-1.11.8.tar.gz
  • Upload date:
  • Size: 213.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cli_market_world-1.11.8.tar.gz
Algorithm Hash digest
SHA256 b218686fc7ac9c5cfde9325768e4e96a1b10d5aea6b917cdb6904ed87af97bc5
MD5 616bd19c950891644761f71016626b42
BLAKE2b-256 efaf80eefa4cef665efae698f681dcfc404ffa10b6a63e2337b4ec92ce4d949c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cli_market_world-1.11.8.tar.gz:

Publisher: publish-pypi.yml on Treevu-ai/cli-market-world

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cli_market_world-1.11.8-py3-none-any.whl.

File metadata

File hashes

Hashes for cli_market_world-1.11.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e69e4d708c43a5696b1119417c96191f3b7b3699d615338443e09f94302afd08
MD5 736e54da2345653353af1a58afeb1ad6
BLAKE2b-256 cef23d585f1f0acb7b51b6101e1f93d6d712616e507ad442df3d7210ec833773

See more details on using hashes here.

Provenance

The following attestation bundles were made for cli_market_world-1.11.8-py3-none-any.whl:

Publisher: publish-pypi.yml on Treevu-ai/cli-market-world

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page