Skip to main content

ecommerce-sales-mcp (Python)

Python version of the ecommerce-sales-mcp stdio MCP server, built on the official mcp Python SDK. Same tools, same APIFY_TOKEN env var, same hosted endpoint as the Node.js server.

Stdio MCP server: e-commerce sales signals: amazon bestsellers and reviews, ebay sold prices, tiktok shop, etsy sales via Apify's hosted MCP gateway

It answers initialize and tools/list locally from the bundled tools.json (no token, no network). tools/call is forwarded to Apify's hosted MCP endpoint (mcp.apify.com) with your own APIFY_TOKEN, so each run uses your Apify account. Without a token a call returns a clear error instead of running anything. The token is only sent in the Authorization header and is never logged.

Install

Requires Python 3.10+. With uv:

uvx ecommerce-sales-mcp

With pip:

pip install ecommerce-sales-mcp
ecommerce-sales-mcp

To run the latest unreleased code from GitHub instead of the PyPI release: uvx --from "git+https://github.com/GeminiGeorge22/ecommerce-sales-mcp#subdirectory=python" ecommerce-sales-mcp.

MCP client config:

{
  "mcpServers": {
    "ecommerce-sales": {
      "command": "uvx",
      "args": ["ecommerce-sales-mcp"],
      "env": { "APIFY_TOKEN": "YOUR_APIFY_TOKEN" }
    }
  }
}

Optional env: APIFY_ACTORS (comma-separated subset of the Actors) and APIFY_MCP_URL (full endpoint override).

Tests

Tests use an in-process mock server, with no network and no token. They fail if APIFY_TOKEN is set.

cd python && pip install -e ".[test]"
env -u APIFY_TOKEN python -m pytest

python scripts/build_tools.py --check compares the bundled tools.json with each Actor's live public input schema and exits 1 on any mismatch.

Metadata

Release files for ecommerce-sales-mcp 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ecommerce-sales-mcp 0.2.1
File Size Uploaded Provenance Actions
ecommerce_sales_mcp-0.2.1.tar.gz 21.5 kB With provenance Details for ecommerce_sales_mcp-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ecommerce-sales-mcp 0.2.1
File Interpreter ABI Platform Actions
ecommerce_sales_mcp-0.2.1-py3-none-any.whl Python 3 none any Details for ecommerce_sales_mcp-0.2.1-py3-none-any.whl

Total release size: 39.8 kB

Release files / ecommerce_sales_mcp-0.2.1.tar.gz

Download URL ecommerce_sales_mcp-0.2.1.tar.gz
Size 21.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c20576eaac3280dc27d8f437c2640e5e8465b96bda54782fa1634052b2ed181b
BLAKE2b-256 checksum
How to use checksums
21b9e8e8c98ae7b7b97db857fbf2c5abb37768be61abcdfec5a6a363e1368c5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / ecommerce_sales_mcp-0.2.1-py3-none-any.whl

Download URL ecommerce_sales_mcp-0.2.1-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7f9db420f68d92615236f0b5cf146aacd8e847c98791a543f9c829da152e77a
BLAKE2b-256 checksum
How to use checksums
d75f98f91311aa2f879d344c114f59f79f45d6b74cc0ccf2d6fb24e6855d1b53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for ecommerce-sales-mcp 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ecommerce_sales_mcp-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page