Content
# 🛒 Coupang MCP Server
This is a [MCP (Model Context Protocol)](https://modelcontextprotocol.io/) server that allows you to query Coupang product information.
Claude Code, Cursor, VS Code Copilot, ChatGPT Desktop, and other AI clients that support MCP can perform natural language searches, price comparisons, inventory checks, and review queries on Coupang products.
## Key Features
| Tool | Description |
|------|------|
| `coupang_search_products` | Search products by keyword (sorted by recommendation, price, sales volume) |
| `coupang_get_price` | Get detailed product price information (discounted price, original price, discount rate, shipping information) |
| `coupang_check_inventory` | Check inventory status, shipping information, and seller information |
| `coupang_get_reviews` | Get product reviews (rating, content, date) |
## How it Works
It accesses the Coupang website through Chrome's [CDP (Chrome DevTools Protocol)](https://chromedevtools.github.io/devtools-protocol/). No API key is required.
```
AI Client → MCP Server → Chrome CDP → coupang.com
```
## Installation
### 1. Clone and Build the Project
```bash
git clone https://github.com/burlesquer/coupang-mcp.git
cd coupang-mcp
npm install
npm run build
```
### 2. Install Playwright
```bash
npx playwright install chromium
```
### 3. Run Chrome in Debugging Mode
The MCP server needs to open a debugging port to connect to Chrome.
**Windows (Win+R or PowerShell):**
```
C:\Program Files\Google\Chrome\Application\chrome.exe --remote-debugging-port=9222 --user-data-dir="C:/ChromeTEMP"
```
**macOS:**
```bash
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --user-data-dir="/tmp/ChromeTEMP"
```
**Linux:**
```bash
google-chrome --remote-debugging-port=9222 --user-data-dir="/tmp/ChromeTEMP"
```
> **Important:** Close all existing Chrome instances before running. Specify a separate profile with `--user-data-dir` to avoid conflicts with existing Chrome.
## MCP Client Configuration
### Claude Code
**Global Registration (available in all projects):**
```bash
claude mcp add coupang node /path/to/coupang-mcp/dist/index.js
```
**Project Scope (only available in the current project):**
Create `.mcp.json` in the project root:
```json
{
"mcpServers": {
"coupang": {
"command": "node",
"args": ["/path/to/coupang-mcp/dist/index.js"]
}
}
}
```
### Claude Desktop
Edit `claude_desktop_config.json` in `Settings → Developer → Edit Config`:
```json
{
"mcpServers": {
"coupang": {
"command": "node",
"args": ["/path/to/coupang-mcp/dist/index.js"]
}
}
}
```
### Cursor
Add to Settings → MCP Servers:
```json
{
"mcpServers": {
"coupang": {
"command": "node",
"args": ["/path/to/coupang-mcp/dist/index.js"]
}
}
}
```
### Other MCP-supported Clients
VS Code (Copilot), Windsurf, ChatGPT Desktop, Cline, and other clients that support MCP can use the same configuration format.
### Environment Variables (optional)
| Variable | Default Value | Description |
|------|--------|------|
| `COUPANG_CDP_URL` | `http://localhost:9222` | Chrome CDP connection URL |
## Usage Examples
Request in natural language from the MCP client:
```
"Search for wireless earphones on Coupang"
"Compare prices for AirPods Pro"
"Check inventory for product ID 8443849352"
"Show reviews for product ID 8443849352"
"Find Mac Mini by lowest price"
```
### Search Sorting Options
| Option | Description |
|------|------|
| `scoreDesc` | Coupang's recommended order (default) |
| `salePriceAsc` | Lowest price order |
| `salePriceDesc` | Highest price order |
| `saleCountDesc` | Sales volume order |
## Technical Stack
- **TypeScript** + **Node.js**
- **[@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk)** — MCP protocol implementation
- **[Playwright](https://playwright.dev/)** — Chrome CDP connection and page parsing
- **[Zod](https://zod.dev/)** — Input schema validation
## Limitations
- Chrome must be running in debugging mode (`--remote-debugging-port=9222`)
- Coupang website structure changes may require selector updates
- Excessive requests may result in temporary blocking by Coupang
## License
ISC