Skip to main content
Glama
Sorftime PickFlow MCP

Sorftime PickFlow MCP

by zhan-1002

Sorftime PickFlow MCP

Model Context Protocol server + Skill for Amazon product discovery. Powered by Sorftime API.

Previously: sorftime-pickflow-skill. Consolidated into this repository. skill/ contains the legacy Claude Code Skill (SKILL.md, methodology, config). src/ contains the MCP server (19 tools, cache, pipeline, scoring, 1688 sourcing).

Tools

Cache Layer (offline)

Tool

Description

cache_aba_pull

Pull ABA keyword pages into local SQLite

cache_status

Show cache coverage and category breakdown

cache_query

Search cached keywords by category

cache_term_distribution

Show where a term peaks in ABA rankings

cache_clear

Clear cached pages

Pipeline Layer (API + cache)

Tool

Description

pool_build

Build keyword pool from cache (no API)

market_screen

Run keyword_detail + enriched fields (brand CR3, seller CR3, ad review dist, coupon, price range)

asin_discover

Find ASINs with sweetspot filters

asin_score

Versioned nine-dimension scoring with completeness/confidence

asin_score_batch

Batch score ASINs with unified traffic pagination

Analysis Layer

Tool

Description

keyword_analyze

Deep keyword analysis

asin_reverse_traffic

Reverse-lookup traffic keywords, check cache coverage

asin_compare

Side-by-side ASIN comparison

pipeline_validate

Test recall against known-good ASINs

fba_profit

Calculate FBA unit economics and hidden fees

1688 Sourcing Layer

Tool

Description

asin_fingerprint

Build normalized product fingerprint from Sorftime product_detail

supplier_search

Search 1688.com via image + keyword, deduplicate candidates

supplier_compare_prepare

Deterministic comparison gates + VisualReviewBundle for Codex vision

Session

Tool

Description

session_status

Cache status + API configuration

Related MCP server: semrush-mcp

Install

git clone git@github.com:zhan-1002/sorftime-pickflow-mcp.git
cd sorftime-pickflow-mcp
uv sync

Configure Claude Code

In ~/.claude.json, under the project entry, add:

"mcpServers": {
  "pickflow": {
    "command": "C:/Users/asus/AppData/Roaming/Python/Python313/Scripts/uv.exe",
    "args": [
      "--directory",
      "C:/Users/asus/sorftime-pickflow-mcp",
      "run",
      "pickflow-mcp-server"
    ]
  }
}

Requires Sorftime API configured in ~/.mcp.json.

Scoring versions

  • v2_semantic is the default. It treats monthly_sales_volume as a monthly estimate (sales / 30), preserves missing inputs as missing dimensions, and returns data_completeness plus score_confidence.

  • v1_legacy reproduces the historical formula used for the original 97-ASIN calibration. Use it only for comparison with earlier reports.

Traffic terms are fetched through one pagination and de-duplication path for single scoring, batch scoring, reverse traffic and ASIN comparison. Partial or failed traffic responses are reported explicitly rather than treated as a true zero-keyword result.

Private evaluation

The repository does not contain evaluation ASINs, keywords or credentials. A legacy local CSV named test_set_parsed.csv with asin,keyword columns remains supported. Sample-set V1 additionally records calibration/validation split, annotation status, expected discovery/hard-filter/tier/outcome, product tags and reason codes without printing identifiers.

pickflow-evaluate --data-dir "D:/private/pickflow-eval" --limit 5

Use --limit 0 for the complete private set. Add --output only when an anonymous per-case diagnostic JSON is needed; standard output remains aggregate. Validate and profile V1 labels without making API calls:

pickflow-evaluate --data-dir "D:/private/pickflow-eval" --limit 0 --validate-only --require-v1-labels

See docs/private-evaluation-schema-v1.md for the column contract and migration sequence for the private 97-ASIN set.

1688 Supplier Matching

The asin_fingerprint → supplier_search → supplier_compare_prepare pipeline builds a product fingerprint, searches 1688.com by image and keyword, deduplicates candidates, and records deterministic evidence for product form, material, item/package dimensions, and quantity. At most five non-rejected candidates are packaged into a VisualReviewBundle for Codex-native vision review.

Price comparability follows strict rules: a unit price is only published when SKU, pack quantity, and tier are all known. Ambiguous prices are flagged and FBA profit calculation is withheld. See docs/1688-codex-architecture.md for the full responsibility boundary and evidence policy.

The version-controlled Codex plugin is in codex-plugin/pickflow-1688/. It starts this repository's .venv MCP server through a relative path and reads SORFTIME_MCP_URL from the plugin host environment; no credential is stored in the manifest. Its sourcing skill orchestrates the three backend tools, caps visual review at five candidates, and uses the sidebar browser to verify visible SKU, pack, MOQ, price-tier, and package-measurement facts. A 1688 security slider is treated as verification_required: the current tab is handed to the user for manual verification instead of being retried or misreported as missing product data.

Available Tools

19 tools
asin_compareB

Side-by-side nine-dimension comparison of two ASINs.

USE THIS TOOL WHEN: Deciding between two competitor products to benchmark against.

Inputs: asin_a (required), asin_b (required), traffic_pages, scoring_version.

asin_discoverA

Run product_search on candidate markets to discover ASINs.

Args: markets_json: JSON array of market objects from market_screen, or 's_tier'/'a_tier' to use tier filter price_min/max: Override sweetspot price range (0 = use default) reviews_max: Override max reviews (0 = use default 150) fba_only: Only show FBA products

USE THIS TOOL WHEN: Finding specific ASINs in validated markets.

Inputs: markets_json (required), fba_only, price_max, price_min, +1 more.

asin_fingerprintA

Build a normalized product fingerprint from an ASIN's product_detail.

Extracts identity, brand, model, product type, material, color, quantity, measurements, variation text, bullets, images, and source-field provenance. Reports critical unknowns that will block downstream supplier matching.

Args: asin: Amazon ASIN (10-character alphanumeric) marketplace: Amazon marketplace (default US)

USE THIS TOOL WHEN: Starting the 1688 supplier matching workflow for an ASIN.

Inputs: asin (required), marketplace.

asin_reverse_trafficA

Reverse-lookup traffic keywords for an ASIN and check cache coverage.

USE THIS TOOL WHEN: Checking if an existing product's keywords are covered by the ABA cache.

Inputs: asin (required), max_pages.

asin_scoreA

Score a single ASIN on nine dimensions.

Returns total score (0-100), tier (S/A/B/C), dimension breakdown, data completeness and score confidence. Supported scoring versions are v1_legacy and v2_semantic (default). Set include_detail=True to get full product detail fields.

USE THIS TOOL WHEN: Evaluating a specific ASIN's viability.

Inputs: asin (required), traffic_pages, include_detail, scoring_version.

asin_score_batchA

Score multiple ASINs and rank by total score. Uses concurrent API calls.

Args: asins_json: JSON array of ASIN objects (from asin_discover) or '["ASIN1","ASIN2",...]' limit: Max ASINs to score concurrency: Max parallel API calls (1-10)

USE THIS TOOL WHEN: Scoring all ASINs discovered by asin_discover.

Inputs: asins_json (required), limit, concurrency, traffic_pages, +1 more.

cache_aba_pullA

Pull and cache ABA keyword_list pages. Specify pages as range like '1-500' or '750-2500'.

USE THIS TOOL WHEN: Building local keyword cache for offline analysis. Run once per page range. Subsequent calls will skip duplicates.

Inputs: pages.

cache_clearA

Clear cached keywords. If pages specified (e.g. '1-500'), clears only those.

USE THIS TOOL WHEN: Refreshing stale cache or freeing space.

Inputs: pages.

cache_queryA

Query cached keywords by category and min search volume.

Args: categories: Comma-separated filter words (e.g. 'bulk,gift,wedding') min_search_volume: Minimum 30-day search volume limit: Max results

USE THIS TOOL WHEN: Exploring what's in the cache for specific product lines.

Inputs: limit, categories, min_search_volume.

cache_statusA

Show current ABA cache state: page coverage, total keywords, category breakdown.

USE THIS TOOL WHEN: Checking if cache covers the page ranges needed for research.

Inputs: no named parameters.

cache_term_distributionA

Show how a product term distributes across cached ABA pages.

Args: term: A category word like 'christmas', 'bulk', 'wedding'

USE THIS TOOL WHEN: Deciding which ABA page ranges to pull for a specific category.

Inputs: term (required).

fba_profitA

FBA profit calculator — unit economics for Amazon FBA products. Includes 2026 hidden fees (fuel surcharge, storage, placement, returns, prep).

Args: selling_price: Target selling price in USD (e.g. 29.99) purchase_cost_cny: 1688/supplier unit cost in CNY (e.g. 27) fba_shipping_cny: China→FBA freight per unit in CNY (default 16) fba_delivery_usd: Amazon fulfillment fee in USD (default 7.30) commission_rate_pct: Amazon referral fee % (default 15) ad_budget_usd: Daily PPC budget in USD (default 10) cpc_usd: Cost per click in USD (default 1.0) conversion_rate_pct: Ad conversion rate % (default 18) discount_pct: Coupon/discount rate % (default 0) exchange_rate: USD to CNY (default 6.8) organic_traffic: Daily organic clicks (default 0, conservative) return_rate_pct: Expected return rate % (default 5)

Returns breakeven price, unit profit, daily/monthly profit, ACOS, ROI, margin, and verdict.

USE THIS TOOL WHEN: Evaluating profit viability of a product before sourcing.

Inputs: selling_price (required), purchase_cost_cny (required), cpc_usd, discount_pct, +8 more.

keyword_analyzeA

Deep single-keyword analysis: market metrics, top competitors, seasonality.

USE THIS TOOL WHEN: Evaluating a specific keyword before committing to a product line.

Inputs: keyword (required).

market_screenA

Run keyword_detail on top pool keywords for market screening. Uses caching + concurrent API calls + smart skip for speed.

Args: pool_keywords: JSON array of keyword objects from pool_build, or 'cached_top' limit: Max keywords to analyze min_search_volume: Skip keywords below this monthly search volume concurrency: Max parallel API calls (1-10)

USE THIS TOOL WHEN: Evaluating which markets have best new-seller opportunity.

Inputs: pool_keywords (required), limit, concurrency, min_search_volume.

pipeline_validateA

Validate pipeline recall against a list of known-good ASINs.

Args: test_asins_json: JSON array like '["B0XXX","B0YYY",...]'

USE THIS TOOL WHEN: Measuring how well the cache + pipeline covers existing products.

Inputs: test_asins_json (required).

pool_buildA

Build a keyword pool from cached ABA data. No API calls.

Args: categories: Comma-separated filter terms (default: all bulk/gift/party/wedding/...) min_search_volume: Minimum 30d search volume limit: Max pool size

USE THIS TOOL WHEN: Starting a new research session. Must have cache_aba_pull run first.

Inputs: limit, categories, min_search_volume.

session_statusA

Show current session state: cache status and API configuration.

USE THIS TOOL WHEN: Starting a session or checking configuration.

Inputs: no named parameters.

supplier_compare_prepareA

Run deterministic comparison between an Amazon product and 1688 candidates.

Applies hard mismatch gates, records structured evidence, and produces a VisualReviewBundle for at most 5 best non-rejected candidates.

No LLM or vision API is called — this is purely deterministic.

Args: asin: Amazon ASIN to compare against supplier candidates

USE THIS TOOL WHEN: After supplier_search returns candidates to evaluate.

Inputs: asin (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 19 tools

    Disambiguation5/5

    Each tool targets a distinct stage or resource: cache management, keyword analysis, ASIN scoring, supplier matching, and profit calculation. Overlap is minimal, and batch variants are clearly differentiated from single-item tools.

    Naming Consistency4/5

    Most names follow an object_verb or object_noun snake_case pattern (e.g., asin_score, cache_query, supplier_search). A few are noun phrases (fba_profit, session_status) or have awkward composites (cache_aba_pull), but the overall style is consistent and readable.

    Tool Count4/5

    19 tools is slightly above the ideal range, but the server covers a broad pipeline: caching, screening, scoring, supplier matching, and financial modeling. Each tool serves a specific function, so the count feels justified for the scope.

    Completeness5/5

    The tool set provides end-to-end coverage: cache ABA data, build keyword pools, screen markets, discover and score ASINs, compare products, run supplier matching, and calculate FBA profit. No obvious dead ends or missing critical operations for the stated workflow.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      MCP server for Amazon product monitoring via the Keepa API, providing 18 tools for prices, BSR trends, buy box changes, variation families, sales estimates, coupon/deal tracking, seller stats, category lookup, and promotion impact analysis.
      18
      16
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      MCP server providing tools to access Semrush API data for domain analytics, keyword research, backlink analysis, and traffic analytics.
      19
      44 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for Amazon FBA sellers providing tools for profit calculation, inventory health analysis, COGS breakdown, tax deduction guidance, reorder point calculation, and FBA fee reference.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for App Store Optimization that provides keyword research, competitor analysis, review sentiment, and metadata optimization using real App Store data without requiring an API key.
      44 npm
      5
      MIT