@pullapi/amazon-scraper-mcp 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +97 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +42 -0
- package/package.json +55 -0
- package/server.json +29 -0
package/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Amazon Scraper MCP Server
|
|
2
|
+
|
|
3
|
+
An MCP server that provides real-time Amazon data — search products, get full details with pricing and specs, read customer reviews, and browse bestsellers — for use with Claude, Cursor, and other MCP-compatible AI tools.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Get Product** — Get full Amazon product details including price, rating, features, images, and specifications
|
|
8
|
+
- **Search Products** — Search Amazon products by keyword
|
|
9
|
+
- **Get Reviews** — Get customer reviews for an Amazon product
|
|
10
|
+
- **Get Bestsellers** — Get Amazon bestseller products, optionally filtered by category
|
|
11
|
+
|
|
12
|
+
## Tools
|
|
13
|
+
|
|
14
|
+
### get_product
|
|
15
|
+
|
|
16
|
+
Get full Amazon product details including price, rating, features, images, and specifications
|
|
17
|
+
|
|
18
|
+
**Parameters:**
|
|
19
|
+
|
|
20
|
+
| Name | Type | Required | Description |
|
|
21
|
+
|------|------|----------|-------------|
|
|
22
|
+
| `asin` | string | Yes | Amazon Standard Identification Number (ASIN) |
|
|
23
|
+
|
|
24
|
+
### search_products
|
|
25
|
+
|
|
26
|
+
Search Amazon products by keyword
|
|
27
|
+
|
|
28
|
+
**Parameters:**
|
|
29
|
+
|
|
30
|
+
| Name | Type | Required | Description |
|
|
31
|
+
|------|------|----------|-------------|
|
|
32
|
+
| `query` | string | Yes | Search query |
|
|
33
|
+
| `page` | number | No | Page number for pagination (default: 1) |
|
|
34
|
+
|
|
35
|
+
### get_reviews
|
|
36
|
+
|
|
37
|
+
Get customer reviews for an Amazon product
|
|
38
|
+
|
|
39
|
+
**Parameters:**
|
|
40
|
+
|
|
41
|
+
| Name | Type | Required | Description |
|
|
42
|
+
|------|------|----------|-------------|
|
|
43
|
+
| `asin` | string | Yes | Amazon ASIN |
|
|
44
|
+
|
|
45
|
+
### get_bestsellers
|
|
46
|
+
|
|
47
|
+
Get Amazon bestseller products, optionally filtered by category
|
|
48
|
+
|
|
49
|
+
**Parameters:**
|
|
50
|
+
|
|
51
|
+
| Name | Type | Required | Description |
|
|
52
|
+
|------|------|----------|-------------|
|
|
53
|
+
| `category` | string | No | Category name to filter bestsellers |
|
|
54
|
+
|
|
55
|
+
## Configuration
|
|
56
|
+
|
|
57
|
+
Get your API key from [RapidAPI](https://rapidapi.com/pullapi/api).
|
|
58
|
+
|
|
59
|
+
## Usage with Claude Desktop
|
|
60
|
+
|
|
61
|
+
Add to your `claude_desktop_config.json`:
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"mcpServers": {
|
|
66
|
+
"amazon": {
|
|
67
|
+
"command": "npx",
|
|
68
|
+
"args": ["-y", "@pullapi/amazon-scraper-mcp"],
|
|
69
|
+
"env": {
|
|
70
|
+
"RAPIDAPI_KEY": "your-rapidapi-key"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Usage with Cursor
|
|
78
|
+
|
|
79
|
+
Add to your Cursor MCP settings (`.cursor/mcp.json`):
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"mcpServers": {
|
|
84
|
+
"amazon": {
|
|
85
|
+
"command": "npx",
|
|
86
|
+
"args": ["-y", "@pullapi/amazon-scraper-mcp"],
|
|
87
|
+
"env": {
|
|
88
|
+
"RAPIDAPI_KEY": "your-rapidapi-key"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## License
|
|
96
|
+
|
|
97
|
+
MIT
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const mcp_core_1 = require("@pullapi/mcp-core");
|
|
5
|
+
const tools = [
|
|
6
|
+
{
|
|
7
|
+
name: "get_product",
|
|
8
|
+
description: "Get full Amazon product details including price, rating, features, images, and specifications",
|
|
9
|
+
parameters: {
|
|
10
|
+
asin: { type: "string", description: "Amazon Standard Identification Number (ASIN)", required: true },
|
|
11
|
+
},
|
|
12
|
+
endpoint: "/amazon/product",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
name: "search_products",
|
|
16
|
+
description: "Search Amazon products by keyword",
|
|
17
|
+
parameters: {
|
|
18
|
+
query: { type: "string", description: "Search query", required: true },
|
|
19
|
+
page: { type: "number", description: "Page number for pagination", default: 1 },
|
|
20
|
+
},
|
|
21
|
+
endpoint: "/amazon/search",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: "get_reviews",
|
|
25
|
+
description: "Get customer reviews for an Amazon product",
|
|
26
|
+
parameters: {
|
|
27
|
+
asin: { type: "string", description: "Amazon ASIN", required: true },
|
|
28
|
+
},
|
|
29
|
+
endpoint: "/amazon/reviews",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: "get_bestsellers",
|
|
33
|
+
description: "Get Amazon bestseller products, optionally filtered by category",
|
|
34
|
+
parameters: {
|
|
35
|
+
category: { type: "string", description: "Category name to filter bestsellers" },
|
|
36
|
+
},
|
|
37
|
+
endpoint: "/amazon/bestsellers",
|
|
38
|
+
},
|
|
39
|
+
];
|
|
40
|
+
(0, mcp_core_1.createServer)("pullapi-amazon", tools, {
|
|
41
|
+
rapidapiHost: "pullapi-amazon.p.rapidapi.com",
|
|
42
|
+
});
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pullapi/amazon-scraper-mcp",
|
|
3
|
+
"mcpName": "com.pullapi/amazon",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "Amazon MCP server — product search, details, reviews & bestsellers. For Claude, Cursor & AI agents.",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"server.json",
|
|
10
|
+
"README.md"
|
|
11
|
+
],
|
|
12
|
+
"types": "dist/index.d.ts",
|
|
13
|
+
"bin": {
|
|
14
|
+
"pullapi-amazon-scraper-mcp": "dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"dev": "tsc --watch"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"mcp",
|
|
22
|
+
"mcp-server",
|
|
23
|
+
"model-context-protocol",
|
|
24
|
+
"scraper",
|
|
25
|
+
"claude",
|
|
26
|
+
"cursor",
|
|
27
|
+
"ai-agent",
|
|
28
|
+
"amazon",
|
|
29
|
+
"amazon-api",
|
|
30
|
+
"amazon-scraper",
|
|
31
|
+
"ecommerce",
|
|
32
|
+
"products",
|
|
33
|
+
"product-search",
|
|
34
|
+
"reviews",
|
|
35
|
+
"shopping",
|
|
36
|
+
"asin",
|
|
37
|
+
"bestsellers"
|
|
38
|
+
],
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@pullapi/mcp-core": "*"
|
|
41
|
+
},
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public"
|
|
45
|
+
},
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=18"
|
|
48
|
+
},
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "https://github.com/basitmakine/pullapi.git",
|
|
52
|
+
"directory": "mcp/packages/amazon"
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://github.com/basitmakine/pullapi/tree/master/mcp/packages/amazon#readme"
|
|
55
|
+
}
|
package/server.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "com.pullapi/amazon",
|
|
4
|
+
"title": "Amazon Scraper",
|
|
5
|
+
"description": "Product search, details, reviews, and bestsellers",
|
|
6
|
+
"version": "1.0.0",
|
|
7
|
+
"websiteUrl": "https://pullapi.com",
|
|
8
|
+
"repository": {
|
|
9
|
+
"url": "https://github.com/basitmakine/pullapi",
|
|
10
|
+
"source": "github",
|
|
11
|
+
"subfolder": "mcp/packages/amazon"
|
|
12
|
+
},
|
|
13
|
+
"packages": [
|
|
14
|
+
{
|
|
15
|
+
"registryType": "npm",
|
|
16
|
+
"identifier": "@pullapi/amazon-scraper-mcp",
|
|
17
|
+
"version": "1.0.0",
|
|
18
|
+
"transport": { "type": "stdio" },
|
|
19
|
+
"environmentVariables": [
|
|
20
|
+
{
|
|
21
|
+
"name": "RAPIDAPI_KEY",
|
|
22
|
+
"description": "Your RapidAPI key from rapidapi.com",
|
|
23
|
+
"isRequired": true,
|
|
24
|
+
"isSecret": true
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|