Catalog Cli Pro

io.github.BWB03由 GitHub 帳號 BWB03 發布v1.0.0更新於 Oct 24, 2026

Amazon catalog auditing tool. 13 quality checks for your listings.

已驗證STDIO僅桌面資料與分析商業與電商

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理以 14 項品質檢查稽核 Amazon Category Listing Report 試算表,並比對 Seller Central 即時商品資訊。

可以做什麼
對 CLR 試算表執行全部內建檢查,依 SKU 與嚴重程度彙整問題;或只執行某一項檢查,例如缺少屬性、要點文案品質、標題長度與禁用字元。列出可用查詢並檢視其請求與回應結構。依 ASIN 擷取 Seller Central 即時商品資訊,並與 CLR 中對應列做差異比對。可用欄位遮罩、筆數上限與分頁縮小輸出。
適用情境
適合處理 Amazon Seller Central 商品目錄的情境:讓助理根據下載的 Category Listing Report 找出商品資訊品質問題,或核對線上商品資訊是否仍與報告一致。對象為賣家與目錄營運人員,而非一般開發工作。
執行需求
以本機 stdio 程序執行;README 列出 Python 3.10+ 與 mcp 套件,但清單指向 npm 套件。稽核需要 Category Listing Report 檔案(.xlsm 或 .xlsx)。清單宣告必要的密鑰 CATALOG_API_KEY;README 另提到即時查詢需透過 --cookie、--cookie-file 或 CATALOG_SELLER_CENTRAL_COOKIE 提供 Seller Central cookie。擷取 Seller Central 與使用託管 API 需要網路存取。
安裝前請注意
Seller Central cookie 是有效的工作階段憑證;README 稱其僅留在本機,但它可存取你的賣家帳戶,應視為敏感資訊。即時擷取會以你的身分存取 Amazon。託管 API 為付費訂閱(每月 9.99 美元),需要 CATALOG_API_KEY。掃描會讀取本機試算表檔案,只應指向你願意交給助理的檔案。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Catalog Cli Pro,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Catalog CLI

[PyPI version] [License: MIT]

Agent-native Amazon catalog auditing tool

The first AI-agent-friendly Amazon catalog analysis tool. Query your CLRs with structured input, integrate via MCP server, and automate catalog audits.

Hosted API available at api.catalogcli.com — persistent storage, unlimited scans, and API access for $9.99/mo. Learn more

What's New in v2.3

  • Seller Central AJAX lookup - Fetch Amazon's live Seller Central listing JSON with catalog listing fetch <asin>
  • Live listing vs CLR diff - Compare Amazon's current listing fields against your Category Listing Report with catalog listing diff <asin> <clr-file>
  • Agent-ready Seller Central tools - New MCP tools catalog_seller_listing_fetch and catalog_seller_listing_diff
  • Local cookie auth - Use --cookie, --cookie-file, or CATALOG_SELLER_CENTRAL_COOKIE; Seller Central cookies stay local

v2.2 Title Readiness

  • Amazon title readiness - mobile-title-readiness flags titles over 75 characters for Amazon's mobile title update
  • Rewrite-ready output - Returns first-75-character title segments, overflow text, significant terms, item highlight status, and recommended next actions
  • Agent workflow friendly - Aliases title-75 and amazon-title-75 make it easy to call from Claude, MCP clients, and automation workflows
  • 14 built-in checks - Adds a title triage workflow while keeping the classic 200-character long-titles check unchanged

v2.0 Agent Foundations

  • Shared core architecture - Business logic separated into catalog/core/, powering both CLI and MCP
  • MCP server - catalog mcp launches a stdio MCP server with 4 tools, ready for Claude Desktop and any MCP client
  • JSON input - --json and --stdin flags for structured agent input
  • Schema introspection - catalog schema --format json returns full request/response schemas
  • Field masks - --fields sku,severity,details to reduce output size
  • Pagination - --limit and --offset for controlling result size
  • NDJSON streaming - --format ndjson for line-by-line streaming of large results
  • Input hardening - Pydantic validation rejects path traversal, injection, and malformed input
  • Environment variables - CATALOG_CLI_DEFAULT_FORMAT=json for headless/CI use
  • Backward compatible - All v1.x commands work unchanged

Features

  • Agent-Native - CLI + MCP server as equal citizens, JSON/NDJSON output, schema introspection
  • Fast - Query 1000+ SKU catalogs in seconds
  • Extensible - Plugin system for custom queries
  • Comprehensive - 14 built-in catalog health checks
  • Intent Optimized - COSMO-inspired shopper intent coverage for bullets

Installation

bash
pip install amazon-catalog-cli

Or install from source:

bash
git clone https://github.com/BWB03/amazon-catalog-cli.gitcd amazon-catalog-clipip install -e .

Quick Start

For Humans

bash
# Run all catalog checkscatalog scan my-catalog.xlsx
# Detailed resultscatalog scan my-catalog.xlsx --show-details
# Run specific checkcatalog check intent-bullets my-catalog.xlsx
# Audit titles for Amazon's 75-character mobile title updatecatalog check mobile-title-readiness my-catalog.xlsx
# List available queriescatalog list-queries

For AI Agents

bash
# JSON output with field mask and limitcatalog scan my-catalog.xlsx --format json --fields sku,severity,details --limit 20
# Title rewrite triage for agentscatalog check mobile-title-readiness my-catalog.xlsx --format json \  --fields sku,details,title_char_count,mobile_visible_title,overflow_title,all_significant_terms
# Structured JSON inputcatalog scan --json '{"file": "my-catalog.xlsx", "queries": ["missing-attributes"], "limit": 10}'
# Piped inputecho '{"file": "my-catalog.xlsx"}' | catalog scan --stdin --format json
# NDJSON streaming for large resultscatalog scan my-catalog.xlsx --format ndjson
# Schema introspection (discover queries, params, response shapes)catalog schema --format json
# Fetch live Seller Central listing JSON for an ASINCATALOG_SELLER_CENTRAL_COOKIE='session-id=...' catalog listing fetch B000TEST01 --format json
# Compare live Seller Central JSON with a CLR rowcatalog listing diff B000TEST01 my-catalog.xlsx --sku SKU-123 --format json

MCP Server (for Claude Desktop, CLR Pro, etc.)

bash
# Start MCP servercatalog mcp

Add to Claude Desktop config:

json
{  "mcpServers": {    "catalog": {      "command": "catalog",      "args": ["mcp"]    }  }}

MCP tools: catalog_scan, catalog_scan_summary, catalog_check, catalog_seller_listing_fetch, catalog_seller_listing_diff, catalog_list_queries, catalog_schema

Available Queries

Attribute Audits

  • missing-attributes - Find mandatory attributes missing from listings
  • missing-any-attributes - Find all missing attributes (required + conditional)
  • new-attributes - Find unused template fields that might add value

Content Quality

  • intent-bullets - Score bullet points against shopper intent coverage
  • bullet-prohibited-content - Find bullet points with prohibited chars, emojis, claims, or placeholders
  • bullet-formatting - Check bullet formatting (capitalization, length, punctuation)
  • bullet-awareness - Soft violations in bullets (excessive caps, problematic chars)
  • mobile-title-readiness - Find titles over 75 characters and prepare rewrite inputs
  • long-titles - Find titles exceeding 200 characters
  • title-prohibited-chars - Find titles with prohibited characters
  • prohibited-chars - Find prohibited characters in title/brand

Catalog Structure

  • product-type-mismatch - Find mismatched product types and item keywords
  • missing-variations - Find products that should be variations but aren't

CLI Commands

catalog scan

Run all queries on a CLR file.

bash
catalog scan <clr-file> [OPTIONS]
Options:  --format [terminal|json|csv|ndjson]  Output format (default: terminal)  --output PATH                        Output file path  --show-details / --no-details        Show detailed results  --include-fbm-duplicates             Legacy: include repeated exact-SKU rows  --json TEXT                          JSON request body  --stdin                              Read JSON request from stdin  --queries TEXT                       Comma-separated query names  --fields TEXT                        Comma-separated field mask  --limit INTEGER                      Max issues to return  --offset INTEGER                     Skip first N issues

catalog check

Run a specific query.

bash
catalog check <query-name> <clr-file> [OPTIONS]
Options:  --format [terminal|json|csv|ndjson]  Output format (default: terminal)  --output PATH                        Output file path  --show-details / --no-details        Show detailed results  --json TEXT                          JSON request body  --stdin                              Read JSON request from stdin  --fields TEXT                        Comma-separated field mask  --limit INTEGER                      Max issues to return  --offset INTEGER                     Skip first N issues

catalog listing fetch

Fetch Amazon's live Seller Central listing JSON for an ASIN.

Requires a logged-in Seller Central cookie from your own browser session. Pass it with --cookie, --cookie-file, or the CATALOG_SELLER_CENTRAL_COOKIE environment variable.

bash
catalog listing fetch <asin> [OPTIONS]
Options:  --format [terminal|json]  Output format (default: terminal)  --output PATH             Output file path  --cookie TEXT             Seller Central Cookie header value  --cookie-file PATH        File containing the Cookie header value  --timeout FLOAT           HTTP timeout in seconds  --json TEXT               JSON request body  --stdin                   Read JSON request from stdin

catalog listing diff

Compare Amazon's live Seller Central listing JSON with a matching CLR row.

Rows match by --sku when provided. Otherwise Catalog CLI looks for Product Id Type = ASIN and Product Id = <asin> in the CLR.

bash
catalog listing diff <asin> <clr-file> [OPTIONS]
Options:  --sku TEXT                Optional SKU to match in the CLR  --format [terminal|json]  Output format (default: terminal)  --output PATH             Output file path  --cookie TEXT             Seller Central Cookie header value  --cookie-file PATH        File containing the Cookie header value  --timeout FLOAT           HTTP timeout in seconds  --json TEXT               JSON request body  --stdin                   Read JSON request from stdin

catalog schema

Show schema for queries, params, and response shapes.

bash
catalog schema [query-name] [OPTIONS]
Options:  --format [terminal|json]  Output format

catalog list-queries

List available queries.

bash
catalog list-queries [OPTIONS]
Options:  --format [terminal|json]  Output format

catalog mcp

Start the MCP server (stdio transport).

bash
catalog mcp

catalog setup-claude

Configure Claude Code to use Catalog CLI as an MCP tool server.

bash
# Free (local) — data stays on your machinecatalog setup-claude
# Pro (hosted API) — persistent storage, unlimited scanscatalog setup-claude --pro --api-key YOUR_KEY
# Per-project instead of globalcatalog setup-claude --project

After setup, restart Claude Code and try: "Scan my-catalog.xlsx and tell me the biggest issues"

Example JSON Output

json
{  "timestamp": "2026-03-05T10:30:00Z",  "marketplace": "US",  "is_us_marketplace": true,  "total_queries": 14,  "total_issues": 47,  "total_affected_skus": 23,  "results": [    {      "query_name": "missing-attributes",      "description": "Find mandatory attributes missing from listings",      "total_issues": 12,      "affected_skus": 8,      "issues": [        {          "row": 7,          "sku": "ABC-123",          "field": "brand",          "severity": "required",          "details": "Missing required field: brand",          "product_type": "HAIR_STYLING_AGENT",          "extra": {}        }      ]    }  ]}

Agent Integration

Via CLI (subprocess)

python
import subprocess, json
result = subprocess.run(    ['catalog', 'scan', 'my-catalog.xlsx', '--format', 'json',     '--fields', 'sku,severity,details', '--limit', '20'],    capture_output=True, text=True)data = json.loads(result.stdout)

Via Python (direct import)

python
from catalog.core import execute_scan, ScanRequest
request = ScanRequest(    file="my-catalog.xlsx",    queries=["missing-attributes", "intent-bullets"],    fields=["sku", "severity", "details"],    limit=20,)response = execute_scan(request)

Via MCP

Add the MCP server to any MCP client (Claude Desktop, CLR Pro, etc.) and call catalog_scan, catalog_check, catalog_seller_listing_fetch, catalog_seller_listing_diff, catalog_list_queries, or catalog_schema.

Intent-Based Bullet Optimization

The intent-bullets query evaluates bullet points against COSMO-inspired shopper intent coverage:

  • Audience / need fit: Who it is for, preferences, or problem state
  • Function / use case: The job, activity, event, or use flow
  • Context / compatibility: Where, when, or what it works with
  • Decision evidence: Specs, attributes, trust signals, or differentiators
  • All bullets: Checked for intent coverage, length, vague marketing, ALL CAPS

Scores 1-5 with actionable suggestions. The old rufus-bullets query name still works as a deprecated compatibility alias.

Extending with Custom Queries

python
from catalog.query_engine import QueryPlugin
class MyCustomQuery(QueryPlugin):    name = "my-custom-check"    description = "My custom catalog check"
    def execute(self, listings, clr_parser):        issues = []        for listing in listings:            if some_condition:                issues.append({                    'row': listing.row_number,                    'sku': listing.sku,                    'field': 'FieldName',                    'severity': 'warning',                    'details': 'Issue description',                    'product_type': listing.product_type                })        return issues

Requirements

  • Python 3.10+
  • openpyxl
  • click
  • rich
  • pydantic
  • mcp

How to Get Your CLR

  1. Go to Amazon Seller Central > Catalog > Category Listing Report
  2. Click Generate Report
  3. Download the .xlsm or .xlsx file
  4. Run catalog CLI on it

Free vs Pro

Open Source CLIFree APIPro API ($9.99/mo)
14 quality auditsYesYesYes
ScansUnlimited (local)2 lifetimeUnlimited
Catalogs stored—1Unlimited
Results persistence—7 daysPermanent
API access—YesYes
Rate limit—10 req/min100 req/min
Claude Code integrationLocal MCP—Hosted MCP
Variation Creator——Coming soon

Get started at catalogcli.com | API Docs

Contributing

This is an open-source project. Contributions welcome!

  • Add new query plugins
  • Improve parsing logic
  • Enhance output formats
  • Build integrations

License

MIT License - Free to use, modify, and distribute.

Author

Built by Brett Bohannon (@BWB03)

Related Projects


Agent-native Amazon catalog tool. Built for the future of catalog management.

來源:README.md,提交 1207f6e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分