ShopGraph
ShopGraph is a product data extraction API that turns product URLs or raw HTML into structured, confidence-scored JSON. Here's what you can do with it:
Full product extraction (
enrich_product): Submit a URL to extract name, price, brand, images, availability, categories, colors, materials, and dimensions using a multi-tier pipeline (Schema.org → LLM inference → headless browser). Costs $0.02/call.Basic product extraction (
enrich_basic): Submit a URL for faster, lighter extraction of core fields (name, price, brand, availability) using Schema.org only — no LLM. Costs $0.01/call beyond the free tier.Raw HTML extraction (
enrich_html): Submit pre-fetched HTML directly for extraction.Per-field confidence scoring & provenance: Every field includes a confidence score (0–1) and provenance metadata indicating which method produced it. Use
strict_confidence_thresholdto automatically filter out low-confidence fields.UCP format output: Optionally receive results in Universal Commerce Protocol format for standardized commerce data.
Flexible billing: Free tier includes 50 calls/month. Additional usage is available via subscription or pay-per-call through Stripe (
payment_method_idparameter). Cached results (within 24 hours) are always free.AI agent integration: Compatible with Claude, Windsurf, CrewAI, AutoGen, and other frameworks via MCP configuration. Self-hosting is also supported.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
ShopGraph
The extraction API that shows its work. Send a URL or raw HTML, get structured JSON with per-field confidence scoring and extraction provenance — every field shows which method produced it (Schema.org, LLM inference, or headless browser) and how confident the system is. Set strict_confidence_threshold and uncertain fields are removed server-side before they reach your agent. 50 free calls/month.
Website: https://shopgraph.dev | API: https://shopgraph.dev/api/enrich/basic | MCP: https://shopgraph.dev/mcp
UCP output validated with ucp-schema v1.1.0 — the official Universal Commerce Protocol schema validator.
Quick Start
# Free — no API key, no signup
curl -X POST https://shopgraph.dev/api/enrich/basic \
-H "Content-Type: application/json" \
-d '{"url": "https://www.allbirds.com/products/mens-tree-runners"}'Returns structured JSON with per-field confidence scores:
{
"product": {
"product_name": "Men's Tree Runners",
"brand": "Allbirds",
"price": { "amount": 100, "currency": "USD" },
"availability": "in_stock",
"categories": ["Shoes", "Running"],
"confidence": { "overall": 0.95 },
"_shopgraph": {
"field_confidence": {
"product_name": 0.97,
"brand": 0.95,
"price": 0.98,
"availability": 0.90
}
}
},
"free_tier": { "used": 1, "limit": 50 }
}Related MCP server: AgentShare — Solana DeFi Intelligence MCP
Tools / Endpoints
Tool | REST Endpoint | Price | What It Does |
|
| Free (shared quota) | Schema.org extraction only. Fast, zero LLM cost. |
|
| Free 50/mo, then subscription or $0.02/call | Full pipeline with per-field confidence scoring and extraction provenance. |
|
| Subscription or $0.02/call | Bring your own HTML. Works with Bright Data, Firecrawl, or any fetch/proxy tool. |
Pricing: Free (50/mo) | Starter $99/mo (10K calls) | Growth $299/mo (50K calls) | Enterprise (custom). Pay-per-call via Stripe MPP still available for agents. Cached results (24h) are free. No charge for failed extractions.
How It Works
Your agent sends a URL (or raw HTML)
→ Tier 1: Schema.org/JSON-LD parsing (0.93 baseline confidence, instant)
→ Tier 2: LLM extracts from page text when structured data is absent (0.70 baseline)
→ Tier 3: Headless Playwright renders JavaScript, then extracts (additional inference step)
→ Returns ProductData with per-field confidence scores and extraction provenance
(which tier produced each field) in _shopgraph.field_confidence
→ Set strict_confidence_threshold to remove low-confidence fields server-side
before they reach your agent
→ Add format=ucp for Universal Commerce Protocol outputAuthentication: API key (sg_live_ keys) for subscription tiers, or Stripe MPP for pay-per-call agents.
ShopGraph is a structuring layer, not a fetcher. It's complementary to Bright Data, Firecrawl, and other fetch/proxy tools. They handle retrieval. ShopGraph handles extraction provenance and per-field confidence scoring.
REST API
POST /api/enrich/basic (Free tier)
curl -X POST https://shopgraph.dev/api/enrich/basic \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/product"}'Schema.org only. Shares the free-tier quota with /api/enrich. No signup needed.
POST /api/enrich (Full extraction)
# With API key (subscription)
curl -X POST https://shopgraph.dev/api/enrich \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sg_live_..." \
-d '{"url": "https://example.com/product", "strict_confidence_threshold": 0.8, "format": "ucp"}'
# With Stripe MPP (pay-per-call)
curl -X POST https://shopgraph.dev/api/enrich \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/product", "payment_method_id": "pm_..."}'Full pipeline: Schema.org → LLM inference → headless browser. 50 free calls/month. Authenticate with API key (sg_live_) or Stripe MPP for higher limits.
POST /api/enrich/html (Bring your own HTML)
curl -X POST https://shopgraph.dev/api/enrich/html \
-H "Content-Type: application/json" \
-d '{"html": "<html>...</html>", "url": "https://example.com/product", "payment_method_id": "pm_..."}'Already fetched the page? Pipe the HTML to ShopGraph for structuring.
MCP Configuration
{
"mcpServers": {
"shopgraph": {
"type": "url",
"url": "https://shopgraph.dev/mcp"
}
}
}Works with Claude, Claude Code, Cursor, Windsurf, CrewAI, LangGraph, AutoGen, and any MCP client.
Extracted Data
Every response includes:
Field | Description |
| Product title |
| Manufacturer or brand |
| Amount + currency + sale price |
|
|
| Product taxonomy |
| Product images (enrich_product/enrich_html only) |
| Available colors |
| Materials/fabrics |
| Size/weight info |
| Overall + per-field scores (0-1) |
| Per-field confidence with field-type modifiers |
Self-Hosted Setup
git clone https://github.com/laundromatic/shopgraph.git
cd shopgraph
npm installRequired .env:
Variable | Purpose |
| Stripe secret key (test or live) |
| Gemini API key for Tier 2 (LLM) inference |
| Upstash Redis for stats/monitoring (optional) |
| Upstash Redis token (optional) |
npm run build # Compile TypeScript
npm start # Run MCP server (stdio)
npm run start:http # Run HTTP server
npm run dev # Dev mode (no build needed)
npm run test:run # Run 118 testsMonitoring
ShopGraph runs 118 automated tests across 22 product verticals. Self-healing pipeline with circuit breaker, URL verification, and health alerts.
Health: https://shopgraph.dev/health
Dashboard: Live on shopgraph.dev homepage
License
Apache 2.0
Built By
Krishna Brown | Los Angeles, CA
Available Tools
2 toolsenrich_basicAInspect
Extract basic product attributes from a URL (name, price, brand, availability). Faster and cheaper than enrich_product. Costs $0.01 per call (cached results are free).
Inputs: url (required), payment_method_id.
enrich_productAInspect
Extract comprehensive product data from a URL including name, price, brand, images, availability, and more. Uses schema.org structured data when available, with LLM fallback. Costs $0.02 per call (cached results are free).
Inputs: url (required), payment_method_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: enrich_basic extracts minimal attributes quickly and cheaply, while enrich_product provides comprehensive data with advanced methods at higher cost. Their descriptions explicitly differentiate scope, method, and pricing, leaving no ambiguity for an agent to misselect.
Both tools follow a consistent verb_noun pattern with 'enrich_' prefix, maintaining perfect naming alignment. This predictability helps agents understand they belong to the same functional family for product data extraction.
Two tools are reasonable for a product data extraction server, offering tiered options. However, it feels slightly thin; additional tools like batch processing or schema validation could enhance completeness without overcomplication.
The server covers basic and comprehensive extraction well, but lacks tools for related operations like URL validation, batch processing, or data export. This creates minor gaps where agents might need workarounds for full workflows.
Related MCP Connectors
Clean, matched, AI-ready product data from any website
Public web data as clean JSON for AI agents: Google, Amazon, TikTok, Instagram, YouTube, LinkedIn, Google Maps, Reddit, Zillow and hundreds more websites. One API key, pay per call, failed calls are free.
Search and look up products across thousands of online stores, normalized into one schema.
Search and look up products across thousands of online stores, normalized into one schema.
Related MCP Servers
- -licenseNot gradedqualityCmaintenanceExtract structured data from any website with a simple SDK call. No scraping code, no headless browsers - just prompt and get JSON.62-
- AlicenseAqualityBmaintenanceAgentShare delivers structured product search and pricing signals for AI agents over REST and MCP (Streamable HTTP). Responses include freshness & coverage metadata so agents can reason about data recency. API keys secure billed endpoints; public discovery at /agent.json and /mcp.json. Currently integrates connected marketplaces and affiliate feeds – roadmap expands to global e-commerce (AliExpre41MIT
- AlicenseAqualityFmaintenanceStructured web extraction for AI agents. Pass any URL and a prompt, get clean JSON data back. Native MCP server with 100 free requests/month.3794 npmMIT
- AlicenseNot gradedqualityDmaintenanceAffiliate product search for AI agents. Indexes structured merchant feeds — real prices, live stock, affiliate links built in. Works with any MCP client.MIT