@trustrails/mcp-server 1.0.13 → 1.0.14

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/README.md +24 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -57,18 +57,19 @@ That's it! Restart Claude and start searching.
57
57
 
58
58
  ### Natural Language Product Search
59
59
 
60
+ Just ask Claude naturally — it will decompose your request into the right query and filters:
61
+
60
62
  ```
61
63
  "Find me a gaming laptop under £1000"
62
- "Compare prices for gaming laptops across retailers"
63
- "Show me the cheapest 4K monitors over 27 inches"
64
- "What HP laptops are in stock right now between £500-£700?"
64
+ "I need Sony noise cancelling headphones"
65
+ "What HP laptops are available between £500-£700?"
66
+ "Show me Anker chargers"
65
67
  ```
66
68
 
67
69
  Claude will search across multiple UK retailers and show you:
68
70
  - Real-time prices & availability
69
- - Product specs & descriptions
70
- - Stock status
71
71
  - Direct purchase links
72
+ - Then call `get_product` for full specs when you need details
72
73
 
73
74
  ---
74
75
 
@@ -79,12 +80,12 @@ Claude will search across multiple UK retailers and show you:
79
80
  Search 26,000+ UK electronics products. Returns summary data (title, price, availability, category). For full technical specs, use `get_product`.
80
81
 
81
82
  **Parameters:**
82
- - `query` (string) - Search term (e.g., "laptop", "Sony headphones")
83
+ - `query` (string) - 1-3 words describing the product type (e.g., "laptop", "headphones", "gaming monitor"). Do not include brand names, prices, or model numbers — use filters instead.
83
84
  - `min_price` (number, optional) - Minimum price in GBP
84
85
  - `max_price` (number, optional) - Maximum price in GBP
85
86
  - `brand` (string, optional) - Filter by brand, exact match (e.g., "Sony", "HP", "Apple")
86
- - `category` (string, optional) - Filter by category: Laptops, Desktops, Tablets, Phones, TVs, Monitors, Headphones, Speakers, Cameras, Keyboards, Mice, Printers, Networking, Storage, Gaming, Wearables, Drones, Audio, Cables & Chargers. Synonyms accepted (e.g., Smartphones, Earbuds, Notebooks).
87
- - `lite` (boolean, optional) - Return trimmed product objects (reduces payload by ~80%). Recommended for LLMs.
87
+ - `category` (string, optional) - Filter by category: Laptops, Desktops, Tablets, Phones, TVs, Monitors, Headphones, Speakers, Cameras, Keyboards, Mice, Printers, Networking, Storage, Gaming, Wearables, Drones, Audio, Cables & Chargers.
88
+ - `lite` (boolean, optional) - Return trimmed product objects (reduces payload by ~80%). Always use for LLM integrations.
88
89
  - `limit` (number, optional) - Maximum products to return (default 20, max 100)
89
90
 
90
91
  **Returns:** Up to 20 products with summary data. With `lite: true`, returns only essential fields (id, title, brand, price, availability, image_url, purchase_url).
@@ -108,29 +109,34 @@ Search across **26,000+ electronics products** from major UK retailers including
108
109
 
109
110
  ## Example Usage
110
111
 
111
- **Price comparison:**
112
+ **Budget shopping:**
112
113
  ```
113
- "Compare prices for gaming laptops across all retailers"
114
+ "Find gaming laptops under £800"
115
+ → query='gaming laptop', category='Laptops', max_price=800, lite=true
114
116
  ```
115
117
 
116
- **Budget shopping:**
118
+ **Brand search:**
117
119
  ```
118
- "Find the cheapest gaming laptops with at least 16GB RAM under £800"
120
+ "I need Sony headphones under £200"
121
+ → query='headphones', brand='Sony', max_price=200, lite=true
119
122
  ```
120
123
 
121
- **Brand research:**
124
+ **Category browsing:**
122
125
  ```
123
- "Show me all Apple products between £500 and £1000 currently in stock"
126
+ "Show me cheap monitors"
127
+ → query='monitor', category='Monitors', max_price=200, lite=true
124
128
  ```
125
129
 
126
- **Stock checking:**
130
+ **Detailed specs:**
127
131
  ```
128
- "Which retailers have the HP Envy x360 in stock right now?"
132
+ "Tell me the full specs of this laptop"
133
+ → get_product(product_id) — returns full technical specifications
129
134
  ```
130
135
 
131
- **Deal finding:**
136
+ **Price range:**
132
137
  ```
133
- "What are the best laptop deals under £600 from any retailer?"
138
+ "Apple products between £500 and £1000"
139
+ → brand='Apple', min_price=500, max_price=1000, lite=true
134
140
  ```
135
141
 
136
142
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustrails/mcp-server",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "mcpName": "app.trustrails/server",
5
5
  "description": "MCP server for searching UK electronics products across multiple retailers",
6
6
  "type": "module",