@pullapi/ebay-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 ADDED
@@ -0,0 +1,104 @@
1
+ # eBay Scraper MCP Server
2
+
3
+ An MCP server that provides real-time eBay data — search products, get listing details, view seller profiles, and research sold item prices — for use with Claude, Cursor, and other MCP-compatible AI tools.
4
+
5
+ ## Features
6
+
7
+ - **Get Product** — Get eBay product listing details including price, condition, seller info, and specifications
8
+ - **Search Products** — Search eBay for products with filters for condition, price, and sorting
9
+ - **Get Seller** — Get eBay seller profile including feedback, items sold, and store info
10
+ - **Get Sold Items** — Get recently sold/completed eBay listings for price research
11
+
12
+ ## Tools
13
+
14
+ ### get_product
15
+
16
+ Get eBay product listing details including price, condition, seller info, and specifications
17
+
18
+ **Parameters:**
19
+
20
+ | Name | Type | Required | Description |
21
+ |------|------|----------|-------------|
22
+ | `item_id` | string | Yes | eBay item ID |
23
+
24
+ ### search_products
25
+
26
+ Search eBay for products with filters for condition, price, and sorting
27
+
28
+ **Parameters:**
29
+
30
+ | Name | Type | Required | Description |
31
+ |------|------|----------|-------------|
32
+ | `query` | string | Yes | Search query |
33
+ | `sort` | string | No | Sort order (default: best_match) — one of: `best_match`, `price_asc`, `price_desc`, `ending_soonest`, `newly_listed` |
34
+ | `condition` | string | No | Item condition filter — one of: `new`, `used`, `refurbished` |
35
+ | `min_price` | number | No | Minimum price filter |
36
+ | `max_price` | number | No | Maximum price filter |
37
+ | `page` | number | No | Page number (default: 1) |
38
+
39
+ ### get_seller
40
+
41
+ Get eBay seller profile including feedback, items sold, and store info
42
+
43
+ **Parameters:**
44
+
45
+ | Name | Type | Required | Description |
46
+ |------|------|----------|-------------|
47
+ | `username` | string | Yes | eBay seller username |
48
+
49
+ ### get_sold_items
50
+
51
+ Get recently sold/completed eBay listings for price research
52
+
53
+ **Parameters:**
54
+
55
+ | Name | Type | Required | Description |
56
+ |------|------|----------|-------------|
57
+ | `query` | string | Yes | Search query for sold items |
58
+ | `min_price` | number | No | Minimum sold price |
59
+ | `max_price` | number | No | Maximum sold price |
60
+ | `page` | number | No | Page number (default: 1) |
61
+
62
+ ## Configuration
63
+
64
+ Get your API key from [RapidAPI](https://rapidapi.com/pullapi/api).
65
+
66
+ ## Usage with Claude Desktop
67
+
68
+ Add to your `claude_desktop_config.json`:
69
+
70
+ ```json
71
+ {
72
+ "mcpServers": {
73
+ "ebay": {
74
+ "command": "npx",
75
+ "args": ["-y", "@pullapi/ebay-scraper-mcp"],
76
+ "env": {
77
+ "RAPIDAPI_KEY": "your-rapidapi-key"
78
+ }
79
+ }
80
+ }
81
+ }
82
+ ```
83
+
84
+ ## Usage with Cursor
85
+
86
+ Add to your Cursor MCP settings (`.cursor/mcp.json`):
87
+
88
+ ```json
89
+ {
90
+ "mcpServers": {
91
+ "ebay": {
92
+ "command": "npx",
93
+ "args": ["-y", "@pullapi/ebay-scraper-mcp"],
94
+ "env": {
95
+ "RAPIDAPI_KEY": "your-rapidapi-key"
96
+ }
97
+ }
98
+ }
99
+ }
100
+ ```
101
+
102
+ ## License
103
+
104
+ MIT
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
package/dist/index.js ADDED
@@ -0,0 +1,49 @@
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 eBay product listing details including price, condition, seller info, and specifications",
9
+ parameters: {
10
+ item_id: { type: "string", description: "eBay item ID", required: true },
11
+ },
12
+ endpoint: "/ebay/product",
13
+ },
14
+ {
15
+ name: "search_products",
16
+ description: "Search eBay for products with filters for condition, price, and sorting",
17
+ parameters: {
18
+ query: { type: "string", description: "Search query", required: true },
19
+ sort: { type: "string", description: "Sort order", default: "best_match", enum: ["best_match", "price_asc", "price_desc", "ending_soonest", "newly_listed"] },
20
+ condition: { type: "string", description: "Item condition filter", enum: ["new", "used", "refurbished"] },
21
+ min_price: { type: "number", description: "Minimum price filter" },
22
+ max_price: { type: "number", description: "Maximum price filter" },
23
+ page: { type: "number", description: "Page number", default: 1 },
24
+ },
25
+ endpoint: "/ebay/search",
26
+ },
27
+ {
28
+ name: "get_seller",
29
+ description: "Get eBay seller profile including feedback, items sold, and store info",
30
+ parameters: {
31
+ username: { type: "string", description: "eBay seller username", required: true },
32
+ },
33
+ endpoint: "/ebay/seller",
34
+ },
35
+ {
36
+ name: "get_sold_items",
37
+ description: "Get recently sold/completed eBay listings for price research",
38
+ parameters: {
39
+ query: { type: "string", description: "Search query for sold items", required: true },
40
+ min_price: { type: "number", description: "Minimum sold price" },
41
+ max_price: { type: "number", description: "Maximum sold price" },
42
+ page: { type: "number", description: "Page number", default: 1 },
43
+ },
44
+ endpoint: "/ebay/sold",
45
+ },
46
+ ];
47
+ (0, mcp_core_1.createServer)("pullapi-ebay", tools, {
48
+ rapidapiHost: "pullapi-ebay.p.rapidapi.com",
49
+ });
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@pullapi/ebay-scraper-mcp",
3
+ "mcpName": "com.pullapi/ebay",
4
+ "version": "1.0.0",
5
+ "description": "eBay MCP server — product search, listings, seller profiles & sold items. 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-ebay-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
+ "ebay",
29
+ "ebay-api",
30
+ "ebay-scraper",
31
+ "ecommerce",
32
+ "auctions",
33
+ "shopping",
34
+ "sold-items",
35
+ "price-research",
36
+ "marketplace"
37
+ ],
38
+ "dependencies": {
39
+ "@pullapi/mcp-core": "*"
40
+ },
41
+ "license": "MIT",
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
45
+ "engines": {
46
+ "node": ">=18"
47
+ },
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "https://github.com/basitmakine/pullapi.git",
51
+ "directory": "mcp/packages/ebay"
52
+ },
53
+ "homepage": "https://github.com/basitmakine/pullapi/tree/master/mcp/packages/ebay#readme"
54
+ }
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/ebay",
4
+ "title": "eBay Scraper",
5
+ "description": "Product search, details, seller profiles, and sold items",
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/ebay"
12
+ },
13
+ "packages": [
14
+ {
15
+ "registryType": "npm",
16
+ "identifier": "@pullapi/ebay-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
+ }