Amazon Seller MCP
Provides tools for querying Amazon Seller Central and Advertising data, including ad performance, search term waste, keyword harvest, buy box status, and P&L snapshots, as well as approval-gated bid changes.
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., "@Amazon Seller MCPshow me my top wasted ad spend campaigns"
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.
Amazon Seller MCP
A self-hosted analytics brain for one Amazon seller account. It pulls your Seller Central + Advertising data on a schedule into your own Postgres, then serves it to Claude (or any MCP client) over a bearer-token-guarded HTTP endpoint — so you can ask "where am I wasting ad spend?" and get an answer grounded in your real numbers.
Single-tenant by design. One deployment = one Amazon account = your data, your Railway project, your secrets. Nobody else authorizes your apps and no data leaves your infrastructure.
Quickstart
git clone https://github.com/stevegustafson32/amazon-seller-mcp && cd amazon-seller-mcp
cp .env.example .env # fill in your own credentials
docker compose up -d db # local Postgres (Railway provides its own)
export DATABASE_URL=postgresql://postgres:postgres@localhost:5432/amazon_seller_mcp
python -m pytest # seeds fixtures, verifies all 7 toolsDeploying for real (non-technical)? Follow DEPLOY_GUIDE.md — it walks you click-by-click from zero to a live MCP your Claude can connect to.
One click provisions all three components — Postgres + worker + mcp — and prompts you for every credential at deploy time (nothing is baked into the template). Prefer a guided walkthrough? Follow the click-by-click DEPLOY_GUIDE.md.
Related MCP server: Shopify Partner Agent
How it works
Your Amazon account Your Railway project Your Claude / Cowork
------------------- -------------------- --------------------
SP-API app (self-authorized) ─┐ ┌─ worker (cron ingestion) ─┐
Ads API app (refresh token) ─┼─► │ Postgres (your data) │ ─► MCP web service ─► custom
Data Kiosk / Pricing ─┘ └─ writes normalized tables ┘ (HTTP + bearer) connectorClaude never calls Amazon live. The worker owns every Amazon call — auth, pagination, throttling, retries — and writes normalized tables. The MCP web service only reads Postgres, except the single approval-gated write path (propose → confirm) that changes a bid.
Tools your Claude gets
Read
query_ads_performance— ACOS / ROAS / CTR / CVR by campaign, target, or search termfind_search_term_waste— spend with zero conversions, rankedfind_keyword_harvest— converting search terms to promote to exact keywordsfind_cannibalization— terms you win organically yet still pay to advertise (Brand Registry)get_sqp_share— Search Query Performance share (Brand Registry)get_buybox_status— who owns the Buy Box, and whether it's youget_pnl_snapshot— sales, ad spend, ACOS, TACOS vs. break-even per ASIN
Write (approval-gated)
propose_bid_change→ returns a diff and a one-time token. Writes nothing.confirm_bid_change→ applies the change via Ads API, only with that exact token.
Bookmarkable dashboard — GET /dashboard?token=<MCP_BEARER_TOKEN> server-renders a
single self-contained page (KPI row, benchmark scorecard, 8-week trends, top books,
negative/harvest lists, Buy Box, inventory health) from your Postgres. Thresholds,
benchmarks, and which panels show all come from config/profile.yaml.
Add ?range=<days> to change the KPI window. Bookmark {APP_URL}/dashboard?token=….
Layout
amazon_seller_mcp/
shared/ config.py (env validation), db.py (pool + migrations), lwa.py (token exchange)
ingestion/ sp_reports, sp_datakiosk, sp_pricing, ads_reports, ads_entities, scheduler
mcp/ server.py (remote MCP + bearer auth), tools.py, metrics.py, ads_auth.py (hosted OAuth)
db/ migrations/ (idempotent DDL), views.sql (metric layer), fixtures/ (seed data)
config/ profile.yaml (business defaults + Good/Watch/Fix thresholds)
scripts/ check_setup.py, get_ads_token.py, backfill.py
tests/ all 7 read tools + write path + auth + profile, against fixturesNote on the package name. The build spec named the server folder
mcp/, which would shadow the officialmcpSDK package on import. Everything is nested under theamazon_seller_mcppackage so every spec folder name is preserved while the SDK stays importable. Commands are thereforepython -m amazon_seller_mcp.mcp.serverandpython -m amazon_seller_mcp.ingestion.scheduler.
Configure your business — config/profile.yaml
The analytics layer reads defaults and thresholds from
config/profile.yaml instead of hard-coding them. It
ships with sensible Books/seller-publisher defaults so everything runs before you
touch it. Edit it to set your business_model, unit economics (which compute your
default break-even ACOS and target ACOS), the benchmark set, per-metric
Good / Watch / Fix thresholds, and which panels are enabled (turn off the
Brand-Registry panels if you're not enrolled). Per-SKU rows in the sku_margins
table override the profile's break-even for that SKU.
Security
The MCP service rejects any request without the correct
MCP_BEARER_TOKEN. Tokens are never logged.Every account-mutating action goes through propose → human approval → confirm. No silent writes.
Official Amazon APIs only. No browser automation against Seller Central.
check_setup.pyandget_ads_token.pyprint secrets to your own terminal only.
Getting the Ads refresh token — two ways
The Ads API needs a browser OAuth round-trip (SP-API doesn't). Either works:
Hosted (no terminal): once deployed, visit
https://YOUR-URL/setup/ads-auth?token=YOUR_MCP_BEARER_TOKEN. It walks you through Amazon consent and renders yourADS_REFRESH_TOKEN+ADS_PROFILE_IDto paste into Railway. The route is bearer-guarded to start; the Amazon callback is authorized by a single-usestateit issued.Local fallback:
python scripts/get_ads_token.pydoes the same via a localhost callback before you deploy.
Development
python -m pytest needs a Postgres (docker compose up -d db) and
TEST_DATABASE_URL/DATABASE_URL pointing at it. Tests seed db/fixtures/ and
assert exact results — so the analytics are verifiable before any real Amazon
credentials exist. CI (.github/workflows/ci.yml) runs the same on every push.
MIT licensed. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Amazon Seller Central and Ads inside Claude or ChatGPT. Real fees from your own settlements.
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
Connect Amazon Seller Central to Claude or ChatGPT via MCP. Orders, inventory, pricing, fees, FBA.
Amazon brand, seller, niche & buy-box intelligence inside your own Claude or ChatGPT.
Related MCP Servers
- AlicenseAqualityDmaintenanceThe first Model Context Protocol server for SellerCloud. Plug Claude into your catalog, inventory, orders, and channel listings — read-only, in five minutes.7MIT
- AlicenseAqualityFmaintenanceFree, open-source MCP server that connects Claude to the Shopify Partner API. 25 tools for revenue analytics, churn analysis, retention cohorts, merchant health scoring, conversion funnels, revenue forecasting, and growth velocity.2513MIT
- AlicenseNot gradedqualityBmaintenanceHosted Amazon Seller Central & Vendor Central MCP server. Connect Claude, ChatGPT, Cursor, Codex, Gemini, and GitHub Copilot to live Amazon SP-API and Amazon Ads API data.15MIT
- FlicenseAqualityCmaintenanceConnects Claude to Amazon Seller Central via the SP-API for natural language queries on sales, inventory, reports, fees, reimbursements, and analytics.2047-