@scavio/mcp-server 0.39.1 → 0.40.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 CHANGED
@@ -3,9 +3,9 @@
3
3
  ![GitHub Repo stars](https://img.shields.io/github/stars/scavio-ai/scavio-mcp?style=social)
4
4
  ![License](https://img.shields.io/github/license/scavio-ai/scavio-mcp)
5
5
 
6
- [Scavio](https://scavio.dev?utm_source=npm-mcp&utm_medium=package&utm_campaign=readme) is a unified [Web Search API](https://scavio.dev/docs/search-api?utm_source=npm-mcp&utm_medium=package&utm_campaign=readme) and MCP server that gives AI agents web search, page extraction, and structured data from e-commerce, social, travel, jobs, real-estate, app-store, ad-library and company-filing sources. 399 tools across 63 platforms plus Extract, map, crawl and batch, one API key.
6
+ [Scavio](https://scavio.dev?utm_source=npm-mcp&utm_medium=package&utm_campaign=readme) is a unified [Web Search API](https://scavio.dev/docs/search-api?utm_source=npm-mcp&utm_medium=package&utm_campaign=readme) and MCP server that gives AI agents web search, page extraction, and structured data from e-commerce, social, travel, jobs, real-estate, app-store, ad-library and company-filing sources. 408 tools across 64 platforms plus Extract, map, crawl and batch, one API key.
7
7
 
8
- **The 22 platforms added in 0.13.0 are opt-in.** Registering all 399 tools puts ~437KB of tool definitions — roughly 90k tokens — into every session before you type anything. So the default is the platform set 0.12.x already had, plus Extract: 142 tools, 112KB. Upgrading never removes a tool you were using. Everything else is one env var away: see [Choosing which tools load](#choosing-which-tools-load).
8
+ **The 22 platforms added in 0.13.0 are opt-in.** Registering all 408 tools puts ~459KB of tool definitions — roughly 90k tokens — into every session before you type anything. So the default is the platform set 0.12.x already had, plus Extract: 142 tools, 112KB. Upgrading never removes a tool you were using. Everything else is one env var away: see [Choosing which tools load](#choosing-which-tools-load).
9
9
 
10
10
  ## Remote MCP Server
11
11
 
@@ -207,7 +207,7 @@ Add to settings (`Cmd+,`):
207
207
 
208
208
  ## Choosing which tools load
209
209
 
210
- Scavio exposes 399 tools. Loading all of them costs ~437KB of `tools/list` —
210
+ Scavio exposes 408 tools. Loading all of them costs ~459KB of `tools/list` —
211
211
  roughly 90k tokens of context in every session before the user has said anything,
212
212
  and more tools than some clients will accept at all. So the server registers a
213
213
  curated subset by default and lets you pick the rest. The sizes below are
@@ -218,7 +218,7 @@ measured, not estimated: `npm run toolslist` reproduces them.
218
218
  | Value | Registers |
219
219
  |-------|-----------|
220
220
  | *(unset)* or `default` | Every platform 0.12.x had, plus `extract` — **142 tools, 112KB** |
221
- | `all` | every platform — **399 tools, ~437KB** |
221
+ | `all` | every platform — **408 tools, ~459KB** |
222
222
  | `extract,sec,g2` | just those platforms — 18 tools, 21KB |
223
223
  | `default,zillow,metaads` | the default set plus two more — 148 tools, 120KB |
224
224
  | `default,chatgpt,gemini` | the default set plus ChatGPT and Gemini — 144 tools, 115KB |
@@ -233,7 +233,7 @@ tells you to call to check the server works.
233
233
 
234
234
  **Platform keys:** `extract`, `google`, `chatgpt`, `gemini`, `youtube`, `tiktok`, `instagram`,
235
235
  `reddit`, `x`, `linkedin`, `threads`, `kuaishou`, `amazon`, `walmart`, `ebay`,
236
- `target`, `homedepot`, `costco`, `heb`, `kroger`, `decathlon`, `specs`, `lowes`, `samsclub`, `canadiantire`, `dollargeneral`, `sephora`, `ulta`, `aldi`, `microcenter`, `walgreens`, `cvs`, `wholefoods`, `harborfreight`, `petsmart`, `petco`, `iherb`, `chewy`, `menards`, `nordstrom`, `nordstromrack`, `bestbuy`, `tcgplayer`, `vinted`, `mercadolibre`, `tiktok-shop`, `booking`, `airbnb`,
236
+ `target`, `homedepot`, `costco`, `heb`, `kroger`, `decathlon`, `specs`, `lowes`, `samsclub`, `canadiantire`, `dollargeneral`, `sephora`, `ulta`, `aldi`, `microcenter`, `walgreens`, `cvs`, `wholefoods`, `harborfreight`, `petsmart`, `petco`, `iherb`, `chewy`, `menards`, `nordstrom`, `nordstromrack`, `bestbuy`, `tcgplayer`, `vinted`, `macys`, `mercadolibre`, `tiktok-shop`, `booking`, `airbnb`,
237
237
  `tripadvisor`, `yelp`, `zillow`, `redfin`, `realtor`, `rightmove`, `indeed`, `glassdoor`,
238
238
  `appstore`, `googleplay`, `g2`, `capterra`, `trustpilot`, `googleads`, `metaads`, `sec`, `companieshouse`
239
239
 
@@ -1128,6 +1128,35 @@ matching cheap listings, so pair them with a category or price range. Live
1128
1128
  listings only: no sold-item search, shipping prices, pickup points or similar
1129
1129
  items. Seller data is limited to public buyer-relevant fields.
1130
1130
 
1131
+ ### Macy's
1132
+
1133
+ | Tool | Description |
1134
+ |------|-------------|
1135
+ | `search_macys` | Search macys.com (US), 60 organic items per page: price, regular and sale price, percent off, sale end date, deal label (Black Friday Deal, Clearance, LAST ACT, Today Only), promotions, rating, review count, colors; filter by brand, color, special offer, any price range, pickup store or any facet; sort by featured, price, top rated, best sellers or newest; plus the facets with counts |
1136
+ | `get_macys_product` | One product by id or URL, or up to 10 ids in one call: price block with sale end, rating histogram, text vs total review counts, fit slider, AI review summary, colors with prices, sizes and every variant (UPC, color, size, availability, low-stock flag, ship days) |
1137
+ | `get_macys_reviews` | Macy's own reviews, up to 100 per page, newest, highest or lowest rated or with photos first, filtered by star rating or a word, with slider ratings, photos, syndication source and the brand's response |
1138
+ | `get_macys_category` | Browse a category by id or URL, 60 per page, with the same filters and sorts as search |
1139
+ | `get_macys_brand` | Browse a brand's page by its page id (a product's `brand_page_id`) or URL, 60 per page, with the same filters and sorts as search |
1140
+ | `get_macys_deals` | Sales & Offers, Clearance, Today Only, Last Act, Limited-Time Specials or Black Friday Deals, 60 per page, with the same filters and sorts as search |
1141
+ | `get_macys_stores` | Macy's stores near a ZIP, a point or a city + state, up to 15, with hours, curbside hours and the same-day pickup cut-off |
1142
+ | `get_macys_store_availability` | Store pickup for one product: which stores near a location can hand it over, or per variant at one `store_id` whether it can be picked up and whether it is in the store |
1143
+ | `get_macys_suggestions` | The macys.com search-box autocomplete, up to 7 suggested searches |
1144
+
1145
+ Platform key `macys`. 1 credit per call, every tool. US site only, prices in
1146
+ USD. Search, category, brand and deals share one grid: 60 organic items per
1147
+ page with `total` and `total_pages`, and totals can differ between sorts, as
1148
+ they do on the site. Ad-only sponsored tiles are dropped (`sponsored_dropped`
1149
+ counts them) unless `include_sponsored`; organic items that also hold a paid
1150
+ slot stay, flagged `is_sponsored`. A keyword Macy's maps to a category returns
1151
+ `redirected_to_category`. A batch of `product_ids` (up to 10) gets Macy's
1152
+ summary view: no rating histogram, and a collection without its members'
1153
+ variants. A collection member's id answers with the collection product
1154
+ (`requested_id` echoes the id asked for). `review_count` includes ratings
1155
+ without text; reviews returns written reviews only (`text_review_count`).
1156
+ Store availability is pickup and in-store flags, never unit counts: Macy's
1157
+ publishes no quantities. A `store_id` comes from `get_macys_stores`. No coupon
1158
+ codes, Q&A text or price history: to track prices, poll and store your own.
1159
+
1131
1160
  ### Kroger
1132
1161
 
1133
1162
  | Tool | Description |
@@ -4,8 +4,8 @@ export declare const PLATFORM_KEYS: string[];
4
4
  /**
5
5
  * What registers when SCAVIO_PLATFORMS is unset.
6
6
  *
7
- * Registering everything is not an option any more. The full surface is 399
8
- * tools, which serialises to 437KB of tools/list (measured with
7
+ * Registering everything is not an option any more. The full surface is 408
8
+ * tools, which serialises to 459KB of tools/list (measured with
9
9
  * `npm run toolslist`, not estimated) — roughly 90k tokens pushed into the
10
10
  * context of EVERY session before the user has typed anything, and past the
11
11
  * hard tool-count ceiling some clients enforce. The default set below is 142
@@ -27,7 +27,7 @@ export declare const DEFAULT_PLATFORMS: string[];
27
27
  * Turn a SCAVIO_PLATFORMS value into the canonical platform keys to register.
28
28
  *
29
29
  * Accepts a comma-separated list of platform keys, plus three keywords:
30
- * all — every platform (399 tools)
30
+ * all — every platform (408 tools)
31
31
  * default — expands to DEFAULT_PLATFORMS, so `default,sec,g2` is additive
32
32
  * none — no platform tools at all, leaving only get_usage
33
33
  *
@@ -42,6 +42,7 @@ import { registerNordstromRackTools } from "./nordstromrack.js";
42
42
  import { registerBestBuyTools } from "./bestbuy.js";
43
43
  import { registerTcgplayerTools } from "./tcgplayer.js";
44
44
  import { registerVintedTools } from "./vinted.js";
45
+ import { registerMacysTools } from "./macys.js";
45
46
  import { registerMercadoLibreTools } from "./mercadolibre.js";
46
47
  import { registerTiktokShopTools } from "./tiktok-shop.js";
47
48
  import { registerBookingTools } from "./booking.js";
@@ -127,6 +128,7 @@ const PLATFORMS = {
127
128
  bestbuy: registerBestBuyTools,
128
129
  tcgplayer: registerTcgplayerTools,
129
130
  vinted: registerVintedTools,
131
+ macys: registerMacysTools,
130
132
  mercadolibre: registerMercadoLibreTools,
131
133
  "tiktok-shop": registerTiktokShopTools,
132
134
  // Travel and local
@@ -161,8 +163,8 @@ export const PLATFORM_KEYS = Object.keys(PLATFORMS);
161
163
  /**
162
164
  * What registers when SCAVIO_PLATFORMS is unset.
163
165
  *
164
- * Registering everything is not an option any more. The full surface is 399
165
- * tools, which serialises to 437KB of tools/list (measured with
166
+ * Registering everything is not an option any more. The full surface is 408
167
+ * tools, which serialises to 459KB of tools/list (measured with
166
168
  * `npm run toolslist`, not estimated) — roughly 90k tokens pushed into the
167
169
  * context of EVERY session before the user has typed anything, and past the
168
170
  * hard tool-count ceiling some clients enforce. The default set below is 142
@@ -219,7 +221,7 @@ function warnOnce(message) {
219
221
  * Turn a SCAVIO_PLATFORMS value into the canonical platform keys to register.
220
222
  *
221
223
  * Accepts a comma-separated list of platform keys, plus three keywords:
222
- * all — every platform (399 tools)
224
+ * all — every platform (408 tools)
223
225
  * default — expands to DEFAULT_PLATFORMS, so `default,sec,g2` is additive
224
226
  * none — no platform tools at all, leaving only get_usage
225
227
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,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AM,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,qBAAqB,EAAE,GAAG,oBAAoB,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;gBAC9G,OAAO,UAAU,CAAC;YACpB,CAAC,CAAC;QACJ,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAC9B,MAAiB,EACjB,SAA6B,EAC7B,eAAmC,GAAG,CAAC,gBAAgB;IAEvD,MAAM,SAAS,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;IACjD,MAAM,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IACrC,KAAK,MAAM,GAAG,IAAI,SAAS;QAAE,SAAS,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAClE,iBAAiB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IACxC,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
+ import type { ScavioClient } from "../lib/client.js";
3
+ export declare function registerMacysTools(server: McpServer, getClient: () => ScavioClient): void;
@@ -0,0 +1,141 @@
1
+ import { z } from "zod";
2
+ import { handleApiError } from "../lib/tool-error.js";
3
+ import { trimResponse } from "../lib/trim-response.js";
4
+ // Shapes mirror backend/src/routes/macys.ts (macys.com, US only, USD).
5
+ // Cross-field rules the backend enforces and zod here does not: product takes
6
+ // product_id, url or product_ids; reviews and store availability take
7
+ // product_id or url; category takes category_id or url; brand takes brand_id
8
+ // or url; stores and store availability take one location (zip, lat + lng, or
9
+ // city + state), and store availability takes store_id OR a location, not
10
+ // both. No zod `.default()`: the MCP SDK would post a defaulted field on every
11
+ // call.
12
+ const SORTS = ["featured", "price_low_to_high", "price_high_to_low", "top_rated", "best_sellers", "newest"];
13
+ const REVIEW_SORTS = ["newest", "highest_rated", "lowest_rated", "with_photos"];
14
+ const SPECIAL_OFFERS = [
15
+ "limited_time_special",
16
+ "gift_with_purchase",
17
+ "black_friday_deal",
18
+ "clearance",
19
+ "last_act",
20
+ "our_lowest_price",
21
+ "sales_and_discounts",
22
+ "special_offer",
23
+ "today_only",
24
+ ];
25
+ const DEAL_TYPES = ["sale", "clearance", "today_only", "last_act", "limited_time_special", "black_friday"];
26
+ const ITEM_FIELDS = "id, title, brand, URL, image, price (price_max when the item sells at a range), regular price, sale price, percent off, price label (Sale, Now, Only...), on-sale flag, sale end date, deal label (Black Friday Deal, Clearance, LAST ACT, Today Only...), promotions, rating, review count, colors and is_sponsored";
27
+ const GRID_SHORT = "60 organic items per page with the same item fields, facets, totals and sponsored handling as search_macys";
28
+ const GRID = `60 organic items per page, each with ${ITEM_FIELDS}. Also returns total, page, total_pages, the sort applied, the facets (name, label and values with counts; any value works in filters) and applied_filters. Ad-only sponsored tiles are dropped (sponsored_dropped counts them) unless include_sponsored; organic items that also hold a paid slot are kept and flagged is_sponsored. Totals can differ between sorts, as on the site. Prices in USD`;
29
+ const numericId = (max) => z.union([z.number().int().positive(), z.string().regex(new RegExp(`^\\d{1,${max}}$`))]);
30
+ const productId = () => numericId(10).optional()
31
+ .describe("Macy's product id: a search result's id, or the ID= number in a macys.com product URL, e.g. 25822310.");
32
+ const productUrl = () => z.string().min(1).max(600).optional()
33
+ .describe("A macys.com product URL (its ID= is used). Alternative to product_id.");
34
+ const textOrList = (description) => z.union([z.string().min(1).max(100), z.array(z.string().min(1).max(100)).max(20)]).optional().describe(description);
35
+ const specialOffer = () => z.union([z.enum(SPECIAL_OFFERS), z.array(z.enum(SPECIAL_OFFERS)).max(9)]).optional()
36
+ .describe(`Only items with this offer: ${SPECIAL_OFFERS.join(", ")}. A list matches any of them.`);
37
+ const gridFields = {
38
+ page: z.number().int().min(1).max(1000).optional()
39
+ .describe("Results page, 1-based (60 organic items per page). Defaults to 1."),
40
+ sort: z.enum(SORTS).optional()
41
+ .describe("featured (default), price_low_to_high, price_high_to_low, top_rated, best_sellers or newest."),
42
+ brand: textOrList("Only these brands, spelled as the BRAND facet lists them, e.g. \"Levi's\" or [\"Levi's\", \"Calvin Klein\"]. A list matches any of them."),
43
+ color: textOrList("Only these colors, as the COLOR_NORMAL facet lists them (Black, Blue, Red...). A list matches any of them."),
44
+ min_price: z.number().min(0).optional()
45
+ .describe("Minimum price in USD. Any bound works, not only the site's price buckets."),
46
+ max_price: z.number().min(0).optional()
47
+ .describe("Maximum price in USD."),
48
+ pickup_store_id: numericId(6).optional()
49
+ .describe("Only items available for pickup at this store (a store_id from get_macys_stores), e.g. 4592."),
50
+ filters: z.record(z.string(), z.union([z.string().min(1).max(100), z.array(z.string().min(1).max(100)).max(20)])).optional()
51
+ .describe("Any other facet from a previous response's facets: its name to one value or a list, e.g. {\"GENDER\": \"Women\", \"CUSTRATINGS\": \"4 stars & up\"}."),
52
+ include_sponsored: z.boolean().optional()
53
+ .describe("Keep ad-only sponsored tiles (flagged is_sponsored). Defaults to false: they are dropped."),
54
+ };
55
+ const locationFields = {
56
+ zip: z.string().regex(/^\d{5}(-\d{4})?$/).optional()
57
+ .describe("US ZIP code to search around, e.g. '10001'."),
58
+ lat: z.number().min(-90).max(90).optional()
59
+ .describe("Latitude (with lng), instead of zip."),
60
+ lng: z.number().min(-180).max(180).optional()
61
+ .describe("Longitude (with lat)."),
62
+ city: z.string().min(1).max(60).optional()
63
+ .describe("US city (with state), instead of zip, e.g. 'Atlanta'."),
64
+ state: z.string().length(2).optional()
65
+ .describe("2-letter US state code (with city), e.g. 'GA'."),
66
+ radius: z.number().int().min(1).max(100).optional()
67
+ .describe("Search radius in miles, 1-100. Defaults to 100."),
68
+ };
69
+ export function registerMacysTools(server, getClient) {
70
+ const post = (path) => async (params) => {
71
+ try {
72
+ const data = await getClient().post(`/api/v1/macys/${path}`, params);
73
+ return trimResponse(data);
74
+ }
75
+ catch (err) {
76
+ return handleApiError(err);
77
+ }
78
+ };
79
+ server.tool("search_macys", `Search macys.com (US) by keyword, filtered by brand, color, special offer (clearance, Last Act, Today Only, Black Friday deal...), any price range, a pickup store and any other facet, sorted by featured (default), price, top rated, best sellers or newest. ${GRID}. A keyword the site maps to a category comes back with redirected_to_category (its id works with get_macys_category). Use an item's id with get_macys_product, get_macys_reviews or get_macys_store_availability. 1 credit.`, {
80
+ query: z.string().min(1).max(200)
81
+ .describe("Search keywords, e.g. 'jeans'."),
82
+ special_offer: specialOffer(),
83
+ ...gridFields,
84
+ }, post("search"));
85
+ server.tool("get_macys_product", `One macys.com product by id or URL, or up to 10 by product_ids in one call: title, brand (with brand_page_id for get_macys_brand), type, description, bullets, category path, price, regular and sale price, percent off, on-sale flag, sale end, promotions, rating, review_count and text_review_count (ratings without text count in review_count only), rating_distribution, recommended count, fit slider, AI review summary, purchased message, question and answer counts, images, colors with their prices, sizes and every variant (UPC, color, size, available, availability message, low-stock flag, ship days). A product that belongs to a collection answers with the collection product, and requested_id echoes the id asked for. In a batch, unknown ids are listed in not_found and Macy's serves its summary view: rating and review_count but no rating histogram, and a collection without its members' variants. An unknown id is a 404. 1 credit per call.`, {
86
+ product_id: productId(),
87
+ url: productUrl(),
88
+ product_ids: z.union([z.array(numericId(10)).min(1).max(10), z.string().min(1).max(200)]).optional()
89
+ .describe("Up to 10 product ids in one call (array or comma-separated), instead of product_id / url, e.g. [25822310, 719388]."),
90
+ }, post("product"));
91
+ server.tool("get_macys_reviews", `Customer reviews of one macys.com product by id or URL, newest (default), highest rated, lowest rated or with photos first, up to 100 per page, optionally only one star rating or only reviews mentioning a word: rating, title, text, date, nickname, location as the reviewer gave it, recommended, helpful yes / no votes, incentivized and syndicated flags (and the site it came from), badges, fit and other slider ratings, photo URLs and the brand's response. Also total, total_pages and has_more. total counts written reviews only: ratings without text are not returned (get_macys_product has the full rating histogram). Reviewer = nickname only. 1 credit.`, {
92
+ product_id: productId(),
93
+ url: productUrl(),
94
+ sort: z.enum(REVIEW_SORTS).optional()
95
+ .describe("newest (default), highest_rated, lowest_rated or with_photos."),
96
+ page: z.number().int().min(1).max(500).optional()
97
+ .describe("Page, 1-based. Defaults to 1."),
98
+ limit: z.number().int().min(1).max(100).optional()
99
+ .describe("Reviews per page, 1-100. Defaults to 20."),
100
+ rating: z.number().int().min(1).max(5).optional()
101
+ .describe("Only reviews with this star rating, 1-5."),
102
+ query: z.string().min(1).max(100).optional()
103
+ .describe("Only reviews mentioning this text, e.g. 'soft'."),
104
+ }, post("reviews"));
105
+ server.tool("get_macys_category", `Browse one macys.com category by id or URL, with the same filters and sorts as search_macys. ${GRID_SHORT}. Also returns the category's id, name and URL. An unknown id is a 404. 1 credit.`, {
106
+ category_id: numericId(9).optional()
107
+ .describe("Macy's category id: the id= of a macys.com /shop/ URL, a product's categories[].id, or a search's redirected_to_category.id, e.g. 3763 (Men's Coats & Jackets)."),
108
+ url: z.string().min(1).max(600).optional()
109
+ .describe("A macys.com category URL with its id=. Filters, page and sort already in the URL are kept."),
110
+ special_offer: specialOffer(),
111
+ ...gridFields,
112
+ }, post("category"));
113
+ server.tool("get_macys_brand", `Browse one brand's macys.com page by its page id or URL (a product's brand_page_id), with the same filters and sorts as search_macys. ${GRID_SHORT}. Also returns the brand's page id, name and URL. To filter by brand name instead, use search_macys with brand. 1 credit.`, {
114
+ brand_id: numericId(9).optional()
115
+ .describe("The brand page id: a product's brand_page_id, or the id= of a macys.com /shop/brands/ URL, e.g. 337747 (Calvin Klein)."),
116
+ url: z.string().min(1).max(600).optional()
117
+ .describe("A macys.com brand page URL with its id=."),
118
+ special_offer: specialOffer(),
119
+ ...gridFields,
120
+ }, post("brand"));
121
+ server.tool("get_macys_deals", `Macy's sale listings: all Sales & Offers (default), Clearance, Today Only, Last Act (final-sale markdowns), Limited-Time Specials or Black Friday Deals, with the same filters and sorts as search_macys (except special_offer). ${GRID_SHORT}. sale_ends carries the end date when Macy's states one. 1 credit.`, {
122
+ type: z.enum(DEAL_TYPES).optional()
123
+ .describe("sale (all Sales & Offers, default), clearance, today_only, last_act, limited_time_special or black_friday."),
124
+ ...gridFields,
125
+ }, post("deals"));
126
+ server.tool("get_macys_stores", `Macy's stores near a US ZIP code, a point (lat + lng) or a city + state, nearest first (up to 15, within 100 miles by default): store_id (what get_macys_store_availability and pickup_store_id take), name, address, phone, lat / lng, distance in miles, today's and tomorrow's hours, curbside hours and the order cut-off for same-day pickup. Pass one location. 1 credit.`, {
127
+ ...locationFields,
128
+ }, post("stores"));
129
+ server.tool("get_macys_store_availability", `Can a macys.com product be picked up in store? Near a ZIP, a point or a city + state: every store with available true / false and available_items_count (how many of the product's items it has). At one store (store_id): the store's hours, pickup cut-off and pickup options, and for every variant (UPC, color, size) pickup_available and in_store_available. Macy's publishes no unit quantities, so there are no stock counts. Pass store_id or a location, not both. An unknown store_id is a 404. 1 credit.`, {
130
+ product_id: productId(),
131
+ url: productUrl(),
132
+ store_id: numericId(6).optional()
133
+ .describe("One store (a store_id from get_macys_stores) for per-variant pickup and in-store flags, instead of a location, e.g. 4592."),
134
+ ...locationFields,
135
+ }, post("store-availability"));
136
+ server.tool("get_macys_suggestions", `The macys.com search-box autocomplete for a partial query: up to 7 suggested searches. Useful for keyword research and for building queries for search_macys. 1 credit.`, {
137
+ query: z.string().min(1).max(100)
138
+ .describe("What the shopper has typed so far, e.g. 'jea'."),
139
+ }, post("suggestions"));
140
+ }
141
+ //# sourceMappingURL=macys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"macys.js","sourceRoot":"","sources":["../../src/tools/macys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,uEAAuE;AACvE,8EAA8E;AAC9E,sEAAsE;AACtE,6EAA6E;AAC7E,8EAA8E;AAC9E,0EAA0E;AAC1E,+EAA+E;AAC/E,QAAQ;AAER,MAAM,KAAK,GAAG,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,IAAI,CAAC,QAAQ,CAAC,CACf,CAAC;IAEF,MAAM,CAAC,IAAI,CACT,8BAA8B,EAC9B,sfAAsf,EACtf;QACE,UAAU,EAAE,SAAS,EAAE;QACvB,GAAG,EAAE,UAAU,EAAE;QACjB,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;aAC9B,QAAQ,CAAC,2HAA2H,CAAC;QACxI,GAAG,cAAc;KAClB,EACD,IAAI,CAAC,oBAAoB,CAAC,CAC3B,CAAC;IAEF,MAAM,CAAC,IAAI,CACT,uBAAuB,EACvB,yKAAyK,EACzK;QACE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;aAC9B,QAAQ,CAAC,gDAAgD,CAAC;KAC9D,EACD,IAAI,CAAC,aAAa,CAAC,CACpB,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@scavio/mcp-server",
3
- "version": "0.39.1",
3
+ "version": "0.40.0",
4
4
  "mcpName": "io.github.scavio-ai/scavio-mcp",
5
- "description": "MCP server connecting AI agents to Scavio: web search, page extraction, and structured e-commerce, social, travel, jobs, real-estate, app-store, ad-library and company-filing data. 399 tools across 63 platforms plus Extract, site map, crawl and batch extraction, one API key.",
5
+ "description": "MCP server connecting AI agents to Scavio: web search, page extraction, and structured e-commerce, social, travel, jobs, real-estate, app-store, ad-library and company-filing data. 408 tools across 64 platforms plus Extract, site map, crawl and batch extraction, one API key.",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "author": "Scavio",
@@ -51,6 +51,8 @@
51
51
  "vinted",
52
52
  "vinted-api",
53
53
  "second-hand",
54
+ "macys",
55
+ "macys-api",
54
56
  "mercadolibre",
55
57
  "mercado-libre",
56
58
  "tiktok",