🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

amazon-seller-mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amazon-seller-mcp

Amazon seller tools: FBA fees, inventory optimization, restock recommendations.

pipPyPI
Version
1.0.0
Weekly downloads
57
Maintainers
1

Amazon Seller Operations

AI-powered Amazon Seller Central tools for inventory management, fee calculation, and optimization via SP-API.

mcp-name: io.github.wmarceau/amazon-seller

Features

FeatureScriptDescription
SP-API Integrationamazon_sp_api.pyCore API with caching
FBA Fee Calculatoramazon_fee_calculator.py2026 fee structure
Inventory Optimizeramazon_inventory_optimizer.pyRestock recommendations
OAuth Authenticationamazon_oauth_server.pyOAuth flow handling
MCP Serveramazon_seller_mcp.pyMCP protocol wrapper

Directory Structure

amazon-seller/
├── src/
│   ├── amazon_sp_api.py              # Core SP-API client
│   ├── amazon_fee_calculator.py      # FBA fee calculations
│   ├── amazon_inventory_optimizer.py # Restock recommendations
│   ├── amazon_oauth_server.py        # OAuth server
│   └── ...
├── mcp-server/
│   └── amazon_seller_mcp.py          # MCP server wrapper
├── registry/
│   └── manifest.json                 # MCP Registry manifest
├── VERSION                           # Current version
├── CHANGELOG.md                      # Version history
├── SKILL.md                          # MCP tool documentation
└── README.md                         # This file

MCP Tools

ToolDescription
get_inventory_summaryGet FBA inventory levels
get_ordersGet recent orders
get_order_itemsGet order line items
get_product_detailsGet product info
calculate_fba_feesCalculate comprehensive fees
estimate_profit_marginQuick profit estimation
suggest_restock_quantitiesReorder recommendations
analyze_sell_through_rateSales velocity analysis

See SKILL.md for detailed tool documentation.

Quick Start

1. Install Dependencies

pip install python-amazon-sp-api python-dotenv mcp

2. Configure Credentials

Create .env file:

AMAZON_REFRESH_TOKEN=your_refresh_token
AMAZON_LWA_APP_ID=your_client_id
AMAZON_LWA_CLIENT_SECRET=your_client_secret
AMAZON_AWS_ACCESS_KEY=your_aws_access_key
AMAZON_AWS_SECRET_KEY=your_aws_secret_key
AMAZON_ROLE_ARN=arn:aws:iam::123456789:role/your-role
AMAZON_MARKETPLACE_ID=ATVPDKIKX0DER

3. Test Connection

python src/test_amazon_connection.py

4. Run MCP Server

python mcp-server/amazon_seller_mcp.py

CLI Usage

Calculate Fees

python src/amazon_fee_calculator.py --asin B08XYZ123 --price 29.99 --cost 10.00

Get Inventory Recommendations

python src/amazon_inventory_optimizer.py --asin B08XYZ123 --days 30

Key Features

2026 Fee Structure

  • FBA fulfillment fees (size-tier based)
  • Monthly storage fees (seasonal rates)
  • Aged inventory surcharges (12-15mo, 15+mo)
  • Low inventory level fees
  • GET call fee awareness (post April 2026)

Caching Layer

Aggressive caching to minimize API costs:

  • Inventory: 30 min
  • Orders: 15 min
  • Products: 24 hours
  • Fees: 24 hours

Multi-Marketplace

Supports US, CA, MX, BR, UK, DE, FR, IT, ES, NL, JP, SG, AU

Version

Current version: 1.0.0

License

MIT License

Keywords

amazon

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts