shelfsignal-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@shelfsignal-mcp run margin defense: my kettle is $49.99, COGS $18, competitor dropped to $44.99"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ShelfSignal v1.3.0
Open-source competitive product intelligence, US effective landed price tracking, and deterministic COGS Margin Defense engine for US DTC e-commerce brands, agencies, and AI agent workflows.
MIT License · Python 3.10+ · Self-Hosted · Zero Monthly SaaS Fees · Acceptable Use Policy · Changelog · Contributing
Why ShelfSignal Exists
Monday, 9:04 AM. A competitor drops their hero SKU by $5. Generic monitors blast an urgent alert—pushing your team to blindly match it, even though the rival is already out of stock, charges $6.99 shipping on orders under $50, and matching $5 off permanently would push your net margin below 18%.
ShelfSignal turns public product pages into verified change events, true US checkout landed prices, and deterministic COGS margin-defense actions—accessible via Web Console, CLI, FastAPI, and a native 9-tool MCP Server for Claude Code and Cursor.
Related MCP server: biz-mcp
Demo Showcase & Local WebGL Recording

Record a fresh 1280×720 live Three.js WebGL MP4 + README GIF directly from site/index.html (auto-performs 360° archive orbit, fleet spotlight switching, and Dispatch Burst Sweep) on your machine with Playwright + FFmpeg:
Windows PowerShell (single-line):
$env:PYTHONPATH="."; python scripts/record_demo.pymacOS / Linux:
PYTHONPATH=. python scripts/record_demo.pyOutputs docs/media/shelfsignal-demo.mp4 and docs/media/shelfsignal-demo.gif.
Core Capabilities
US Effective Landed Price Engine: Parses real checkout economics beyond sticker price—
Free shipping over $50,$6.99 flat shipping,$10 off $75+,BOGO 50% off, andSubscribe & Save 15%(with multi-currency support forUSD,CAD,AUD,GBP,EUR,MYR,SGD,IDR,THB,VND,CNY).Deterministic COGS Margin Defense: Computes exact net profit, margin floor price, and max safe voucher ceiling (
HOLD_PRICE_COMPETITOR_OOS,HOLD_AND_MONITOR,MATCH_WITH_VOUCHER,PROTECT_MARGIN_DO_NOT_MATCH).Spec-Aware O(N) SKU Matching: Inverted blocking index shrinks 600-SKU matching from 179,700 pairs to 3,003 pairs (-98.33%, ~50x faster) while blocking size/pack mismatches (
16 fl ozvs32 fl oz,1-packvs2-pack).Compliant HTTP-First + Optional Browser Fallback: AsyncIO engine with RFC 9309 single-flight
robots.txtcaching, SSRF/auth-path blocking, adaptive 429/403 circuit breakers, and explicit--browser(or UI Browser Mode (JS)) Playwright rendering for Cloudflare-fronted Shopify Plus stores.Editorial Web Console (
EN / 华语):Ctrl+Kcommand palette, drag-and-drop CSV/TXT URL import, 3-step Quick Start bar, 1-click quick filter chips, drag-to-reorder saved filter views, 14-day SVG price trend + COGS drawer, and Visual Adapter Studio.Native 9-Tool MCP Server (
shelfsignal-mcp): JSON-RPC 2.0 stdio integration for Claude Code and Cursor.
Verified Benchmarks
Benchmark | Baseline | ShelfSignal v1.3.0 | Improvement |
Static HTML Parsing ( | — | 232.5/s (Win11) – 486.7/s (Linux) | 10–30x faster with optional |
40-URL Async Collection | 1.29s–1.47s sync | 0.16s–0.29s async | 5.05x–8.23x speedup |
100-URL / 10-Domain Scale Test | Sequential | 0.363s (275 req/s, p95 108.9ms) | Exact 10 single-flight |
600-SKU Cross-Site Matching | 179,700 pairs (~29–52s) | 3,003 pairs (0.55s–1.04s) | 98.33% fewer pairs (~50x faster) |
10-Second Quickstart
Windows PowerShell (single-line):
pip install -r requirements.txt; $env:PYTHONPATH="."; python -m shelfsignal demo --servemacOS / Linux:
pip install -r requirements.txt && PYTHONPATH=. python -m shelfsignal demo --serveOpen http://127.0.0.1:8000 to explore the seeded 14-day US DTC workspace, landed price matrix, margin defense simulator, and Visual Adapter Studio.
Common CLI Commands
# Fetch a public product page (add --browser for JS / Shopify Plus pages after `pip install playwright && playwright install chromium`)
python -m shelfsignal fetch "https://fellowproducts.com/products/stagg-ekg-electric-pour-over-kettle" --browser
# Compute US effective landed price
python -m shelfsignal landed-price 32.99 --currency USD --promo "$5 off" --shipping "Free shipping over $50"
# Run deterministic COGS Margin Defense
python -m shelfsignal margin --own-price 49.99 --cogs 18.00 --fee-pct 3.0 --fulfillment 4.50 --min-margin 20 --comp-price 44.99
# Run release self-check (tests + static site + dashboard integrity)
PYTHONPATH=. python scripts/verify_release.pyConnect to Claude Code / Cursor (9-Tool MCP Server)
{
"mcpServers": {
"shelfsignal": {
"command": "python",
"args": ["-m", "shelfsignal", "mcp"]
}
}
}Isolated Static Website (site/)
The site/ directory contains a physically isolated, GitHub Pages-ready US-First marketing & documentation site (11 HTML pages, 4 field guides, 3 competitor comparisons, 2 zero-login interactive calculators, robots.txt with Content-Signal, llms.txt, llms-full.txt, sitemap.xml, and EN / 华语 toggle).
# Preview static site locally
python -m http.server -d site 8080
# Update placeholder domain across site/ before publishing
python scripts/set_site_domain.py --base-url "https://waterdolphinkiller.github.io/shelfsignal"Compliance Boundary
ShelfSignal only processes publicly accessible product and catalog URLs. It enforces RFC 9309 robots.txt, blocks private/localhost SSRF targets and /login / /account / /checkout paths, and hard-stops on HTTP 401 / 403 / 429 / 451 or CAPTCHA challenges without bypass modules. See ACCEPTABLE_USE.md.
Available Tools
9 toolsshelfsignal_diff_productsB
Compare two product snapshots (HTML files or raw HTML) and return verified ChangeEvents.
Inputs: after_target (required), before_target (required).
shelfsignal_discover_catalogC
Scan a competitor category/collection HTML page to detect newly added or removed SKUs.
Inputs: html (required), catalog_url (required), db_path, auto_enroll, +1 more.
shelfsignal_fetch_productA
Fetch or parse a public product URL or local HTML fixture into standardized ShelfSignal JSON.
Inputs: target (required), html.
shelfsignal_landed_priceC
Compute US & international effective landed price (list price minus vouchers + shipping threshold / BOGO unit cost).
Inputs: price (required), currency, shipping_text, promotion_text.
shelfsignal_list_adaptersA
List all registered built-in and community site adapters in ShelfSignal.
Inputs: no named parameters.
shelfsignal_margin_defenseB
Compute deterministic profit margin, floor price, max safe voucher, and recommended pricing action against a competitor signal.
Inputs: cogs (required), own_price (required), currency, min_margin_pct, +4 more.
shelfsignal_match_productsB
Run spec-aware cross-site product matching between two product pages (blocks size/pack mismatches).
Inputs: left_target (required), right_target (required).
shelfsignal_query_changesC
Run an English or Chinese natural language query against a ShelfSignal workspace database.
Inputs: question (required), db_path, workspace_id.
shelfsignal_workspace_summaryC
Return an evidence-grounded competitive change summary and data quality metrics for a workspace.
Inputs: period, db_path, workspace_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct operation in the competitive product-monitoring workflow: fetch/parse, snapshot diff, spec-aware matching, natural-language query, summary, adapter listing, landed-price computation, catalog discovery, and margin defense. The potentially closest pairs (diff_products vs. discover_catalog, query_changes vs. workspace_summary) are clearly separated by their descriptions.
All tools share the shelfsignal_ prefix and snake_case formatting, and most use a verb_noun pattern such as fetch_product, query_changes, and discover_catalog. A few are noun phrases (workspace_summary, landed_price, margin_defense), which is a minor deviation rather than a confusing inconsistency.
Nine tools is well-scoped for a competitive product-intelligence server, with each tool covering a meaningful part of the workflow. There is no obvious filler or excessive fragmentation.
The surface covers the core lifecycle well: product ingestion, comparison, cross-site matching, workspace querying, summaries, catalog discovery, landed pricing, and margin analysis. Minor gaps exist around explicit workspace/adapter management or alerting, but core workflows are covered.
Maintenance
Related MCP Connectors
Hosted Klaviyo MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Hosted Shopify MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Live data for AI agents. Search the catalog, read the price, call the tool; keys stay server-side.
Hosted Stripe MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- AlicenseAqualityCmaintenanceSub-15ms edge intelligence tools for Claude Desktop, Cursor, and LLM agent loops. Provides sub-millisecond LLM JSON repair, web-to-markdown token compression (cuts context tokens up to 90%), PII redaction, and RFC 5322 B2B email deliverability verification at zero marginal token cost.6MIT
- FlicenseNot gradedqualityCmaintenanceEnables MCP clients to fetch live exchange and cryptocurrency prices, persist key-value JSON records, and perform invoice, shipping, and inventory business logic through seven tools.-
- AlicenseNot gradedqualityBmaintenanceExposes 14 tools that let an agent query charter clauses, route and execute an 8-stage collaboration pipeline, arbitrate conflicts with cited clause IDs, enforce safety gates, run receipt self-checks, deposit and recall memory, solve symbolic anchoring constraints, and mine a 330-entry knowledge base plus semantic-field analysis. It also diagnoses image-generation prompts against a formal feature-cluster grammar, all over a zero-dependency stdio JSON-RPC interface.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables read- or write-scoped access to synthetic enterprise orders, inventory, support tickets, and metrics via schema-validated JSON-RPC tools over stdio and HTTP, with permission allow-lists and audit logging. It also exposes enterprise resources and prompt templates for grounded, cited, multi-step assistant workflows.MIT