@scavio/mcp-server 0.27.0 → 0.28.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 +6 -19
- package/dist/tools/index.js +0 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/specs.js +3 -3
- package/dist/tools/specs.js.map +1 -1
- package/package.json +2 -2
- package/dist/tools/totalwine.d.ts +0 -3
- package/dist/tools/totalwine.js +0 -31
- package/dist/tools/totalwine.js.map +0 -1
package/README.md
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|

|
|
4
4
|

|
|
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.
|
|
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. 277 tools across 41 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
|
|
8
|
+
**The 22 platforms added in 0.13.0 are opt-in.** Registering all 277 tools puts ~260KB of tool definitions — roughly 65k 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
|
|
210
|
+
Scavio exposes 277 tools. Loading all of them costs ~260KB of `tools/list` —
|
|
211
211
|
roughly 64k 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 — **
|
|
221
|
+
| `all` | every platform — **277 tools, ~265KB** |
|
|
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`, `
|
|
236
|
+
`target`, `homedepot`, `costco`, `heb`, `kroger`, `decathlon`, `specs`, `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
|
|
|
@@ -739,19 +739,6 @@ not something Costco publishes, and only items Costco lists online are covered.
|
|
|
739
739
|
the store used is echoed in `data.store`, and `product_id` alone is enough with a
|
|
740
740
|
`store_id`. US only.
|
|
741
741
|
|
|
742
|
-
### Total Wine
|
|
743
|
-
|
|
744
|
-
| Tool | Description |
|
|
745
|
-
|------|-------------|
|
|
746
|
-
| `search_totalwine` | Search Total Wine at one store: that store's price (cents), units in stock, purchase limit, aisle, rating, pickup/delivery |
|
|
747
|
-
| `get_totalwine_product` | One product at one store: price, units in stock, aisle, bay, shelf, last restock date, ABV, taste profile |
|
|
748
|
-
| `get_totalwine_stores` | Stores near a ZIP or city: store_id, address, phone, coordinates, distance |
|
|
749
|
-
|
|
750
|
-
2 credits per call. Prices and stock are per store, so `store_id` (from
|
|
751
|
-
`get_totalwine_stores`, e.g. `"503"`) is required on search and product. When a
|
|
752
|
-
store carries none of the matches, `products` is empty and `searched_all_stores`
|
|
753
|
-
is true.
|
|
754
|
-
|
|
755
742
|
### Spec's
|
|
756
743
|
|
|
757
744
|
| Tool | Description |
|
|
@@ -760,7 +747,7 @@ is true.
|
|
|
760
747
|
| `get_specs_product` | Every store's price and stock for one product in `store_prices` (about 200 stores), plus the online price and details |
|
|
761
748
|
| `get_specs_stores` | Stores in a Texas region: store_id, address, phone, coordinates, hours |
|
|
762
749
|
|
|
763
|
-
|
|
750
|
+
5 credits per call. Pass the `slug` from `search_specs` to `get_specs_product`;
|
|
764
751
|
add `store_id` (from `get_specs_stores`, e.g. `"169"`) to put that store's price
|
|
765
752
|
at the top.
|
|
766
753
|
|
package/dist/tools/index.js
CHANGED
|
@@ -19,7 +19,6 @@ import { registerCostcoTools } from "./costco.js";
|
|
|
19
19
|
import { registerHebTools } from "./heb.js";
|
|
20
20
|
import { registerKrogerTools } from "./kroger.js";
|
|
21
21
|
import { registerDecathlonTools } from "./decathlon.js";
|
|
22
|
-
import { registerTotalWineTools } from "./totalwine.js";
|
|
23
22
|
import { registerSpecsTools } from "./specs.js";
|
|
24
23
|
import { registerMercadoLibreTools } from "./mercadolibre.js";
|
|
25
24
|
import { registerTiktokShopTools } from "./tiktok-shop.js";
|
|
@@ -83,7 +82,6 @@ const PLATFORMS = {
|
|
|
83
82
|
heb: registerHebTools,
|
|
84
83
|
kroger: registerKrogerTools,
|
|
85
84
|
decathlon: registerDecathlonTools,
|
|
86
|
-
totalwine: registerTotalWineTools,
|
|
87
85
|
specs: registerSpecsTools,
|
|
88
86
|
mercadolibre: registerMercadoLibreTools,
|
|
89
87
|
"tiktok-shop": registerTiktokShopTools,
|
package/dist/tools/index.js.map
CHANGED
|
@@ -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,aAAa,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC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AE,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"}
|
package/dist/tools/specs.js
CHANGED
|
@@ -12,17 +12,17 @@ export function registerSpecsTools(server, getClient) {
|
|
|
12
12
|
return handleApiError(err);
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
|
-
server.tool("search_specs", `Search Spec's Wines, Spirits & Finer Foods (Texas liquor chain). Every result has the online price (cents), case price and case quantity, on_promo and keyclub_offer flags, stock, brand, size, category, SKU, UPC and a slug. For per-store prices, pass the slug to get_specs_product.
|
|
15
|
+
server.tool("search_specs", `Search Spec's Wines, Spirits & Finer Foods (Texas liquor chain). Every result has the online price (cents), case price and case quantity, on_promo and keyclub_offer flags, stock, brand, size, category, SKU, UPC and a slug. For per-store prices, pass the slug to get_specs_product. 5 credits/call.`, {
|
|
16
16
|
query: z.string().min(1).max(200).describe("Search keywords, e.g. 'titos'."),
|
|
17
17
|
page: z.number().int().min(1).max(50).optional().describe("Page, 1-based. 24 results per page."),
|
|
18
18
|
}, post("search"));
|
|
19
|
-
server.tool("get_specs_product", `One Spec's product with every store's price and stock in store_prices (about 200 Texas stores in one call), the online price, and details: brand, size, proof, ABV, type, origin, region, vintage, tasting notes, images. Pass slug (from search_specs) or product_url. Optional store_id (from get_specs_stores) puts that store's price and stock at the top; available_at_store is false if it does not list the item.
|
|
19
|
+
server.tool("get_specs_product", `One Spec's product with every store's price and stock in store_prices (about 200 Texas stores in one call), the online price, and details: brand, size, proof, ABV, type, origin, region, vintage, tasting notes, images. Pass slug (from search_specs) or product_url. Optional store_id (from get_specs_stores) puts that store's price and stock at the top; available_at_store is false if it does not list the item. 5 credits.`, {
|
|
20
20
|
slug: z.string().min(1).max(200).optional().describe("Product slug from search_specs, e.g. 'titos-texas-vodka-5'."),
|
|
21
21
|
product_url: z.string().min(1).max(500).optional().describe("https://specsonline.com/shop/<type>/<slug>/"),
|
|
22
22
|
store_id: z.string().regex(/^\d{1,4}$/).optional()
|
|
23
23
|
.describe('Spec\'s store number, e.g. "169" (Stone Oak, San Antonio).'),
|
|
24
24
|
}, post("product"));
|
|
25
|
-
server.tool("get_specs_stores", `List Spec's stores in a Texas region: store_id, name, status, address, city, zip, phone, coordinates and opening hours per day. Use store_id with get_specs_product.
|
|
25
|
+
server.tool("get_specs_stores", `List Spec's stores in a Texas region: store_id, name, status, address, city, zip, phone, coordinates and opening hours per day. Use store_id with get_specs_product. 5 credits.`, {
|
|
26
26
|
region: z.enum(REGIONS).describe("austin, corpus-christi, dallas, el-paso, fort-worth, houston or san-antonio."),
|
|
27
27
|
}, post("stores"));
|
|
28
28
|
}
|
package/dist/tools/specs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specs.js","sourceRoot":"","sources":["../../src/tools/specs.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,MAAM,OAAO,GAAG,CAAC,QAAQ,EAAE,gBAAgB,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/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scavio/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.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.
|
|
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. 277 tools across 41 platforms plus Extract, site map, crawl and batch extraction, one API key.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": "Scavio",
|
package/dist/tools/totalwine.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { handleApiError } from "../lib/tool-error.js";
|
|
3
|
-
import { trimResponse } from "../lib/trim-response.js";
|
|
4
|
-
const storeId = z.string().regex(/^\d{1,5}$/)
|
|
5
|
-
.describe('Total Wine store number from get_totalwine_stores, e.g. "503" (San Antonio Del Norte, TX). Prices and stock are per store.');
|
|
6
|
-
export function registerTotalWineTools(server, getClient) {
|
|
7
|
-
const post = (path) => async (params) => {
|
|
8
|
-
try {
|
|
9
|
-
const data = await getClient().post(`/api/v1/totalwine/${path}`, params);
|
|
10
|
-
return trimResponse(data);
|
|
11
|
-
}
|
|
12
|
-
catch (err) {
|
|
13
|
-
return handleApiError(err);
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
server.tool("search_totalwine", `Search Total Wine & More (liquor, wine, beer) at one store. Every result has that store's price (cents), units in stock, purchase limit, aisle, size, brand, rating, review count, and pickup/delivery/shipping availability. store_id is required; get it from get_totalwine_stores. If the store carries none of the matches, products is empty and searched_all_stores is true. 2 credits/call.`, {
|
|
17
|
-
query: z.string().min(1).max(200).describe("Search keywords, e.g. 'titos'."),
|
|
18
|
-
store_id: storeId,
|
|
19
|
-
page: z.number().int().min(1).max(50).optional().describe("Page, 1-based. 24 results per page."),
|
|
20
|
-
}, post("search"));
|
|
21
|
-
server.tool("get_totalwine_product", `One Total Wine product at one store: price (cents), units in stock, aisle, bay, shelf, last restock date, ABV, size, taste profile, characteristics, breadcrumbs, images, rating, review count and pickup/delivery/shipping availability. Pass product_id (the id from search_totalwine) or product_url, plus store_id. 2 credits.`, {
|
|
22
|
-
product_id: z.string().regex(/^\d{4,12}$/).optional().describe("Numeric product id, e.g. '96260175'."),
|
|
23
|
-
product_url: z.string().min(1).max(500).optional().describe("Total Wine product URL ending in /p/<id>."),
|
|
24
|
-
store_id: storeId,
|
|
25
|
-
}, post("product"));
|
|
26
|
-
server.tool("get_totalwine_stores", `Find Total Wine stores near a ZIP code or city, nearest first: store_id, name, address, phone, coordinates, distance in miles, delivery availability. Use store_id with search_totalwine and get_totalwine_product. 2 credits.`, {
|
|
27
|
-
query: z.string().min(1).max(100).describe("ZIP code, city, or 'city, state', e.g. '78801'."),
|
|
28
|
-
radius: z.number().int().min(1).max(200).optional().describe("Radius in miles. Default 50."),
|
|
29
|
-
}, post("stores"));
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=totalwine.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"totalwine.js","sourceRoot":"","sources":["../../src/tools/totalwine.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,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;KAC1C,QAAQ,CAAC,4HAA4H,CAAC,CAAC;AAE1I,MAAM,UAAU,sBAAsB,CAAC,MAAiB,EAAE,SAA6B;IACrF,MAAM,IAAI,GAAG,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