Metadata-Version: 2.4
Name: best-price-mcp
Version: 0.2.0
Summary: MCP tool for comparing prices across JD, Taobao, and PDD
License-Expression: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: mcp[cli]>=1.0.0

# best-price-mcp

MCP tool for comparing prices across JD (京东), Taobao (淘宝/天猫), and PDD (拼多多).

## Installation

```bash
pip install best-price-mcp
```

## Usage

### As MCP Server

```bash
best-price-mcp
```

### Tool: compare_price

Search for the same product across major Chinese e-commerce platforms and compare final prices.

**Parameters:**
- `query` (string): Specific product keyword or product link
- `platform` (string, optional): "jd", "taobao", "pdd", or "all" (default)

### Link Resolution Strategy

| Scenario | JD | Taobao/Tmall | PDD |
|----------|-----|-------------|-----|
| APP share link | Extract name from 「」 | API lookup → fallback 「」 | Prompt user to copy title |
| PC link | Prompt user to copy title | Prompt user to copy title | N/A |

## License

MIT
