Sell The Trend MCP
An MCP server that turns your Sell The Trend account into an AI-drivable product-research engine and generates detailed, decision-ready PDF dossiers for any niche.
README
Sell The Trend MCP πΎπ
An MCP (Model Context Protocol) server that turns your Sell The Trend account into an AI-drivable product-research engine β and generates detailed, decision-ready PDF dossiers for any niche.
Sell The Trend has no public API, so this server drives your own logged-in account through a real browser (Playwright). It gives an AI assistant (Claude Code, etc.) generic browser primitives plus purpose-built research + reporting tools.
β οΈ Personal-use tool, your own paid account, your own data. Automating a SaaS dashboard can be against its Terms of Service β use responsibly and at your own risk. Not affiliated with, or endorsed by, Sell The Trend.
β¨ What it does
- π
stt_researchβ search NEXUS for a niche/keyword β structured product data (name, sell price, orders, sales). - π
stt_research_reportβ research a keyword and generate a detailed PDF dossier: full product list + deep dossiers for the top products (cost, profit, saturation %, AI insights, competitor stores + revenue + URLs, AliExpress suppliers, Facebook Ad Library link, FB targeting, product image). - π§ Browser primitives (
stt_navigate,stt_snapshot,stt_extract,stt_click,stt_fill,stt_evaluate,stt_screenshot) β reach anything in your dashboard (ad finders, spy tools, store intelβ¦). - π
stt_login/stt_statusβ one-click human login (handles the "verify you are human" check) + session status.
β Requirements
- Node.js 18+
- A Sell The Trend account (free trial works)
- Claude Code (or any MCP client)
π Installation
git clone https://github.com/mfahadiqbalofcl/sellthetrend-mcp.git
cd sellthetrend-mcp
npm install
npx playwright install chromium # one-time browser download
cp .env.example .env # then add YOUR Sell The Trend login (never commit it)
Open .env and set:
STT_EMAIL=you@example.com
STT_PASSWORD=your-password
STT_HEADLESS=false # keep false β STT blocks headless logins
π Register with Claude Code
claude mcp add sellthetrend -s user -- node /ABSOLUTE/PATH/TO/sellthetrend-mcp/server.mjs
Then restart Claude Code so the tools load. Verify: claude mcp list β sellthetrend β Connected.
π First login (once per server start)
STT guards login with a Cloudflare "verify you are human" check that only a human can pass. So:
- In Claude, call
stt_login(or just ask: "log into Sell The Trend"). - A browser window opens (email + password pre-filled). Tick "verify you are human" β Sign in.
- The session is held by the running server and reused for every tool call.
(Standalone alternative when the server isn't running: node login.mjs.)
π‘ Usage examples (in Claude)
- "Research the catnip niche on Sell The Trend and give me a detailed PDF report." β drops a dossier in
./reports/. - "Find winning cat dental products with their cost, profit and saturation."
- "Open the Facebook Ad finder and show me the top pet ads."
- "Screenshot my NEXUS page."
Reports are saved to ./reports/winning-product-report-<keyword>-<timestamp>.pdf β summary table + per-product dossiers with embedded image, economics, AI insights, competitor stores (URLs + revenue), AliExpress suppliers, FB Ad Library link, and targeting.
βοΈ Configuration (.env)
| Var | Purpose |
|---|---|
STT_EMAIL / STT_PASSWORD |
your login (pre-fills the form) |
STT_HEADLESS |
false recommended (headless logins are blocked) |
STT_PROXY_SERVER / STT_PROXY_USERNAME / STT_PROXY_PASSWORD |
optional residential proxy to avoid IP rate-limits |
STT_DASHBOARD_URL / STT_SEARCH_PATH / STT_CARD_SELECTOR |
optional overrides if STT changes its UI |
π§° Troubleshooting
- "verify you are human" loops / logged out β call
stt_loginagain (session expired). Neverkill -9the browser β that discards the session. - Empty results β STT changed selectors; use
stt_navigate+stt_snapshotto find the new path and set overrides in.env. - IP blocked β add a residential proxy via
STT_PROXY_*.
π Project layout
server.mjs # the MCP server (14 tools)
report.mjs # parser + detailed PDF report engine
login.mjs # standalone one-time manual login
make_report.mjs # generate a report from sample data
smoke.mjs # lists the tools (sanity check)
reports/ # generated PDFs (gitignored)
βοΈ Disclaimer
For personal research on your own account. Respect Sell The Trend's Terms of Service and robots policies. The author/operator is responsible for how it's used. MIT-licensed code; the data belongs to Sell The Trend and its sources.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.