
Shopify Change Intelligence
io.github.contentforge-pressv1.0.0更新於 Sep 30, 2026
Free Shopify store snapshot; paid change intelligence in USDC on Base via x402.
概覽
讓助理取得免費的 Shopify 商店目錄快照,並用 Base 上的 USDC 購買變更與競品情報報告。
- 功能
- 這是一個遠端 Cloudflare Worker,透過 Streamable HTTP 以 MCP 工具形式提供四個 Shopify 商店資料端點。免費快照回傳商品數量、價格區間與庫存狀況;付費端點回傳與上次儲存快照相比的原始變更清單、包含價格區間、折扣、庫存訊號與高階摘要的完整競品情報報告,以及最多 50 家商店的批次變更計數。付費端點透過 x402 協定以 Base 上的 USDC 結算。
- 適用情境
- 當助理需要監控公開的 Shopify 商店、比較競品目錄,或長期追蹤價格與庫存變化時適用。免費快照層適合單次目錄查詢;付費層適合擁有 x402 錢包時的持續競品情報需求。
- 執行需求
- 使用提供方的 Cloudflare Workers 遠端端點,不需要本機執行環境或安裝套件。未宣告帳號、API 金鑰或標頭。付費端點需要支援 x402 的代理,並在 Base 主網上持有 USDC,且能處理 402 Payment Required 回應與 PAYMENT 標頭。選用的 Workers KV 儲存僅與自行部署有關。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Shopify Change Intelligence,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"shopify-intel": {
"type": "http",
"url": "https://shopify-intel.contentforge-press.workers.dev/mcp"
}
}
}README
Shopify Change Intelligence
A zero-dependency Cloudflare Worker that monitors Shopify stores and sells change intelligence. AI agents pay automatically in USDC on Base via the native x402 protocol — no platform account, no payment processor, 0% commission.
What it does
Four tiers, from free data to a distilled answer:
GET /v1/snapshot?store=allbirds.com— free. Live catalog snapshot (count, price range, availability).GET /v1/changes?store=allbirds.com— $0.05. Raw change list vs. the last stored snapshot: new/removed products, price up/down, restock/out-of-stock.GET /v1/intel?store=allbirds.com— $0.50 ⭐. Full-catalog competitor intelligence report: price bands, median/range, top discounts & hikes, stock signals and auto-generated executive takeaways.POST /v1/batch— $0.03 / store (max 50). Body{"stores":["a.com","b.com"]}; watches a whole competitor set in one call and returns per-store change counts.GET /mcp— MCP (JSON-RPC over Streamable HTTP) exposing all four as tools.GET /— landing page.GET /v1— JSON manifest.GET /health— health check.
When a paid route is called without payment the server returns 402 Payment Required with a base64-encoded PAYMENT-REQUIRED header. An x402-capable agent fetches a USDC settlement, re-sends it in the PAYMENT header, and the worker verifies and settles it through the Coinbase x402 facilitator.
Architecture
- Runtime: Cloudflare Workers (native
fetch, no frameworks, no npm dependencies). - Settlement: x402 protocol, Base mainnet (chainId 8453), USDC
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. - Facilitator:
https://x402.org/facilitator(/verify,/settle). - Storage (optional): Workers KV namespace
INTEL_KVfor historical snapshots. Without it the worker still runs; the free snapshot is always live and change detection reports against an empty baseline.
Deploy
Set your own payout address and prices in src/worker.js (PAY_TO, PRICE_DEEP_USD, PRICE_INTEL_USD, PRICE_PER_STORE_USD).
Notes
- Only public, unauthenticated
/products.jsonendpoints are read. - Payment settlement is independent of discovery: to be found by agents, list the endpoint in x402/MCP directories.
來源:README.md,提交 81b7b6b
工具
0版本歷史
1- v1.0.0最新Sep 30, 2026

