scrapeunblocker-mcp 0.8.0 → 0.8.1

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.
Files changed (2) hide show
  1. package/dist/index.js +36 -36
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -24,96 +24,96 @@ var PLUGINS = [
24
24
  "name": "origin",
25
25
  "type": "string",
26
26
  "required": false,
27
- "description": ""
27
+ "description": "Origin airport or city name, e.g. London. Give this or `origin_entity`."
28
28
  },
29
29
  {
30
30
  "name": "dest",
31
31
  "type": "string",
32
32
  "required": false,
33
- "description": ""
33
+ "description": "Destination airport or city name. Give this or `dest_entity`."
34
34
  },
35
35
  {
36
36
  "name": "origin_entity",
37
37
  "type": "string",
38
38
  "required": false,
39
- "description": ""
39
+ "description": "Skyscanner entity ID of the origin; skips the name lookup and overrides `origin`."
40
40
  },
41
41
  {
42
42
  "name": "dest_entity",
43
43
  "type": "string",
44
44
  "required": false,
45
- "description": ""
45
+ "description": "Skyscanner entity ID of the destination; skips the name lookup and overrides `dest`."
46
46
  },
47
47
  {
48
48
  "name": "origin_iata",
49
49
  "type": "string",
50
50
  "required": false,
51
- "description": ""
51
+ "description": "Origin IATA code, e.g. LHR. Optional; resolved from the origin when omitted."
52
52
  },
53
53
  {
54
54
  "name": "dest_iata",
55
55
  "type": "string",
56
56
  "required": false,
57
- "description": ""
57
+ "description": "Destination IATA code. Optional; resolved from the destination when omitted."
58
58
  },
59
59
  {
60
60
  "name": "depart_date",
61
61
  "type": "string",
62
62
  "required": false,
63
- "description": ""
63
+ "description": "Departure date, YYYY-MM-DD. Required."
64
64
  },
65
65
  {
66
66
  "name": "return_date",
67
67
  "type": "string",
68
68
  "required": false,
69
- "description": ""
69
+ "description": "Return date, YYYY-MM-DD. Omit for a one-way search."
70
70
  },
71
71
  {
72
72
  "name": "adults",
73
73
  "type": "integer",
74
74
  "required": false,
75
- "description": "",
75
+ "description": "Passengers, 1-9.",
76
76
  "default": 1
77
77
  },
78
78
  {
79
79
  "name": "cabin",
80
80
  "type": "string",
81
81
  "required": false,
82
- "description": "",
82
+ "description": "Cabin class: economy, premium_economy, business or first.",
83
83
  "default": "economy"
84
84
  },
85
85
  {
86
86
  "name": "currency",
87
87
  "type": "string",
88
88
  "required": false,
89
- "description": "",
89
+ "description": "Price currency, e.g. GBP, EUR, USD.",
90
90
  "default": "GBP"
91
91
  },
92
92
  {
93
93
  "name": "market",
94
94
  "type": "string",
95
95
  "required": false,
96
- "description": "",
96
+ "description": "Skyscanner market (country code), e.g. UK, US, ES.",
97
97
  "default": "UK"
98
98
  },
99
99
  {
100
100
  "name": "locale",
101
101
  "type": "string",
102
102
  "required": false,
103
- "description": "",
103
+ "description": "Result language, e.g. en-GB, es-ES.",
104
104
  "default": "en-GB"
105
105
  },
106
106
  {
107
107
  "name": "proxy_country",
108
108
  "type": "string",
109
109
  "required": false,
110
- "description": ""
110
+ "description": "Two-letter ISO country code (e.g. `de`, `us`) of the exit IP, so the site serves that country's prices, language and content. Omit it and the country is picked for you. An unsupported code answers 400 with the list of available countries."
111
111
  },
112
112
  {
113
113
  "name": "max_polls",
114
114
  "type": "integer",
115
115
  "required": false,
116
- "description": "",
116
+ "description": "How many times to poll Skyscanner for more results before answering, 1-20. More polls give fuller results and a slower call.",
117
117
  "default": 8
118
118
  }
119
119
  ]
@@ -130,79 +130,79 @@ var PLUGINS = [
130
130
  "name": "destination",
131
131
  "type": "string",
132
132
  "required": false,
133
- "description": ""
133
+ "description": "City or place name, e.g. London. Give this or `destination_entity`."
134
134
  },
135
135
  {
136
136
  "name": "destination_entity",
137
137
  "type": "string",
138
138
  "required": false,
139
- "description": ""
139
+ "description": "Skyscanner entity ID of the destination; skips the name lookup and overrides `destination`."
140
140
  },
141
141
  {
142
142
  "name": "checkin",
143
143
  "type": "string",
144
144
  "required": false,
145
- "description": ""
145
+ "description": "Check-in date, YYYY-MM-DD. Required."
146
146
  },
147
147
  {
148
148
  "name": "checkout",
149
149
  "type": "string",
150
150
  "required": false,
151
- "description": ""
151
+ "description": "Check-out date, YYYY-MM-DD. Required."
152
152
  },
153
153
  {
154
154
  "name": "adults",
155
155
  "type": "integer",
156
156
  "required": false,
157
- "description": "",
157
+ "description": "Guests, 1-16.",
158
158
  "default": 2
159
159
  },
160
160
  {
161
161
  "name": "rooms",
162
162
  "type": "integer",
163
163
  "required": false,
164
- "description": "",
164
+ "description": "Rooms, 1-8.",
165
165
  "default": 1
166
166
  },
167
167
  {
168
168
  "name": "currency",
169
169
  "type": "string",
170
170
  "required": false,
171
- "description": "",
171
+ "description": "Price currency, e.g. GBP, EUR, USD.",
172
172
  "default": "GBP"
173
173
  },
174
174
  {
175
175
  "name": "market",
176
176
  "type": "string",
177
177
  "required": false,
178
- "description": "",
178
+ "description": "Skyscanner market (country code), e.g. UK, US, ES.",
179
179
  "default": "UK"
180
180
  },
181
181
  {
182
182
  "name": "locale",
183
183
  "type": "string",
184
184
  "required": false,
185
- "description": "",
185
+ "description": "Result language, e.g. en-GB, es-ES.",
186
186
  "default": "en-GB"
187
187
  },
188
188
  {
189
189
  "name": "proxy_country",
190
190
  "type": "string",
191
191
  "required": false,
192
- "description": ""
192
+ "description": "Two-letter ISO country code (e.g. `de`, `us`) of the exit IP, so the site serves that country's prices, language and content. Omit it and the country is picked for you. An unsupported code answers 400 with the list of available countries."
193
193
  },
194
194
  {
195
195
  "name": "max_polls",
196
196
  "type": "integer",
197
197
  "required": false,
198
- "description": "",
198
+ "description": "How many times to poll Skyscanner for more results before answering, 1-20. More polls give fuller results and a slower call.",
199
199
  "default": 8
200
200
  },
201
201
  {
202
202
  "name": "max_results",
203
203
  "type": "integer",
204
204
  "required": false,
205
- "description": "",
205
+ "description": "How many hotels to return, 1-300. Results come in pages of about 35, so more results take longer.",
206
206
  "default": 30
207
207
  }
208
208
  ]
@@ -225,7 +225,7 @@ var PLUGINS = [
225
225
  "name": "host",
226
226
  "type": "string",
227
227
  "required": false,
228
- "description": "",
228
+ "description": "Skyscanner site the search runs on, e.g. www.skyscanner.es. Ignored when `url` is given.",
229
229
  "default": "www.skyscanner.net"
230
230
  },
231
231
  {
@@ -266,7 +266,7 @@ var PLUGINS = [
266
266
  "name": "dropoff_entity",
267
267
  "type": "string",
268
268
  "required": false,
269
- "description": ""
269
+ "description": "Skyscanner dropoff entity ID; overrides `dropoff`. Defaults to the pickup location."
270
270
  },
271
271
  {
272
272
  "name": "pickup",
@@ -278,7 +278,7 @@ var PLUGINS = [
278
278
  "name": "dropoff",
279
279
  "type": "string",
280
280
  "required": false,
281
- "description": ""
281
+ "description": "Dropoff place name. Defaults to the pickup location."
282
282
  },
283
283
  {
284
284
  "name": "pickup_datetime",
@@ -296,33 +296,33 @@ var PLUGINS = [
296
296
  "name": "proxy_country",
297
297
  "type": "string",
298
298
  "required": false,
299
- "description": ""
299
+ "description": "Two-letter ISO country code (e.g. `de`, `us`) of the exit IP, so the site serves that country's prices, language and content. Omit it and the country is picked for you. An unsupported code answers 400 with the list of available countries."
300
300
  },
301
301
  {
302
302
  "name": "warmup_url",
303
303
  "type": "string",
304
304
  "required": false,
305
- "description": ""
305
+ "description": "Skyscanner page opened before the quotes are fetched. Defaults to one derived from the search; rarely needed."
306
306
  },
307
307
  {
308
308
  "name": "max_polls",
309
309
  "type": "integer",
310
310
  "required": false,
311
- "description": "",
311
+ "description": "How many times to poll Skyscanner for more results before answering, 1-20. More polls give fuller results and a slower call.",
312
312
  "default": 8
313
313
  },
314
314
  {
315
315
  "name": "poll_interval",
316
316
  "type": "number",
317
317
  "required": false,
318
- "description": "",
318
+ "description": "Seconds between polls, 0-10.",
319
319
  "default": 2
320
320
  },
321
321
  {
322
322
  "name": "settle",
323
323
  "type": "number",
324
324
  "required": false,
325
- "description": "",
325
+ "description": "Seconds to stay on the warm-up page before the first fetch, 0-20.",
326
326
  "default": 5
327
327
  }
328
328
  ]
@@ -6614,7 +6614,7 @@ ${body}`);
6614
6614
  }
6615
6615
 
6616
6616
  // src/index.ts
6617
- var VERSION = "0.8.0";
6617
+ var VERSION = "0.8.1";
6618
6618
  var DEFAULT_BASE_URL = "https://api.scrapeunblocker.com";
6619
6619
  var API_KEY_HEADER = "x-scrapeunblocker-key";
6620
6620
  function resolveApiKey() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scrapeunblocker-mcp",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "mcpName": "com.scrapeunblocker/scrapeunblocker-mcp",
5
5
  "description": "Model Context Protocol (MCP) server for ScrapeUnblocker - lets Claude fetch any web page's HTML (or AI-parsed JSON) and run 100+ site plugins that return structured JSON, through the ScrapeUnblocker anti-bot API, using your own API key.",
6
6
  "keywords": [