Truemargin
FreeNot checkedZero-dependency MCP server for 1688 primary factory matching, GBK search encoding & TikTok Shop / Amazon FBA net-margin auditing
About
Zero-dependency MCP server for 1688 primary factory matching, GBK search encoding & TikTok Shop / Amazon FBA net-margin auditing
README
Zero-dependency Model Context Protocol (MCP) server for cross-border e-commerce unit economics & 1688 primary factory sourcing.
Give Claude Desktop, Cursor, Windsurf, Cline, and n8n AI Agents instant access to real landed-COGS calculations, GBK-encoded 1688 factory search links, sensitive-cargo air/sea DDP freight surcharges, and TikTok Shop / Amazon FBA / Shopify DTC net contribution margins.
🌐 No-Login Interactive Web Calculator & 200-SKU Bulk CSV Pro Suite: https://truemargin.aitruelabs.com 🕷️ Cloud Batch API on Apify Store: aitruelabs/truemargin-1688-profit-scout
Why Sellers & Sourcing Agents Need This
- Escape the 1688 Middleman Trap: Literal Google Translate queries on 1688.com route foreign buyers to Yiwu/Taobao trading companies (
商行/电子商务, +30–40% markup) instead of Shenzhen/Dongguan/Ningbo primary plants (源头工厂/实业). Plus, 1688's native search endpoint requires GBK-encoded byte URLs. - Expose the "TikTok Shop GMV Illusion": Buying an item for ¥20 ($2.80) and selling it for $24.99 looks profitable—until battery/magnetic sensitive-line freight (+30%), 6.5% tariff buffer, 6% platform referral, 15% creator affiliate cut, and 14% impulse refund RTO bleed wipe out your margin.
- 100% Pure Python Stdlib: Zero third-party packages required (
dependencies = []). Starts in<100msviauvxorpython3.
Quick Start (Claude Desktop / Cursor / Windsurf)
Option A: Zero-Install via uvx (Recommended)
Add this to your claude_desktop_config.json or .cursor/mcp.json:
{
"mcpServers": {
"truemargin-1688-scout": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/yixuanrobot/truemargin-mcp",
"truemargin-mcp"
]
}
}
}
Option B: Clone & Run Directly with python3
git clone https://github.com/yixuanrobot/truemargin-mcp.git
{
"mcpServers": {
"truemargin-1688-scout": {
"command": "python3",
"args": ["-m", "truemargin_mcp"],
"cwd": "/path/to/truemargin-mcp"
}
}
}
Exposed MCP Tools
1. audit_crossborder_sku_margin
Audits one or more SKUs (Title | RetailUSD | WeightGrams | OptionalFactoryCNY or product URLs) across tiktok_shop_us, amazon_fba_us, or shopify_dtc.
Example Prompt in Claude / Cursor:
"Use TrueMargin to audit
Magnetic POV Neck Phone Holder | 27.99 | 260gandCheap Pet Hair Roller | 12.99 | 240gon TikTok Shop US with 15% affiliate commission and air packet shipping. Tell me which one to kill."
Returned Structured Fields:
verdict:GO/CAUTION/KILLchineseFactoryQuery&direct1688SearchUrl(GBK-encoded)industrialBelt(e.g., Shenzhen / Dongguan 3C Magnetic & Silicone Mold Cluster)cargoSensitivity:GENERAL|BATTERY_MAGNETIC|LIQUID_COSMETIC|BULKY_VOLUMETRICmarginWaterfall: Full line-by-line USD breakdown +breakEvenRoasverifiedFactories: Primary manufacturer benchmarks filtered by B2B repurchase rate (回头率)
2. translate_1688_factory_query
Instantly maps an English SKU title into native industrial-cluster Mandarin factory keywords, QC inspection gates, and a clickable GBK-encoded 1688 search link.
Need Bulk CSV Exports, Visual Waterfalls, or Team Access?
- Interactive Web App & Pro Bulk CSV Suite: https://truemargin.aitruelabs.com
- Hosted Cloud Actor (Webhook / n8n / Make): https://apify.com/aitruelabs/truemargin-1688-profit-scout
License
MIT © AI True Labs ([email protected])
Install Truemargin in Claude Desktop, Claude Code & Cursor
unyly install truemarginInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add truemargin -- uvx --from git+https://github.com/yixuanrobot/truemargin-mcp truemargin-mcpStep-by-step: how to install Truemargin
FAQ
Is Truemargin MCP free?
Yes, Truemargin MCP is free — one-click install via Unyly at no cost.
Does Truemargin need an API key?
No, Truemargin runs without API keys or environment variables.
Is Truemargin hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Truemargin in Claude Desktop, Claude Code or Cursor?
Open Truemargin on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
by GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
by paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
by S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
Mcp
ModelContextProtocol server for enhancing JSON Resumes
by mcpflow.ioVault
Bitwarden/Vaultwarden MCP server — BYOK vault access with 6 tools, Send-based reveal, TOTP, and safe agent-write
by agbergsmannAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiCompare Truemargin with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
