
Trustrails
app.trustrails由 trustrails.app 发布v1.0.28更新于 Oct 24, 2026
Search UK electronics products across retailers: prices, stock and specs, refreshed twice a day.
概览
Trustrails 让 AI 助手搜索并比较多家零售商的英国电子产品价格、库存和规格。
- 可以做什么
- 按品牌、类别、价格区间和硬性规格条件(内存、存储、屏幕尺寸、分辨率、刷新率、功率、Wi-Fi 代际)搜索 26,000 多款英国电子产品,可按相关度或价格排序,并选择精简或完整结果。依据标记为已确认、推断或冲突的结构化属性比较规格,查看库存状态、最优报价价格和购买链接。按 ID 获取单个产品的完整详情,包括零售商描述、配送时间以及各零售商的报价和购买链接。
- 适用场景
- 适合在英国购买电子产品时,让助手查找产品、比较各零售商的价格和库存,或按预算和硬件规格筛选。主要面向英国买家,价格以英镑计。
- 运行要求
- 通过 npx 以 stdio 在本地运行,需要 Node.js 和 npx。可选设置 TRUSTRAILS_API_KEY;未设置时使用共享公共密钥,按 IP 地址限制为每小时 50 次请求。需要能访问 Trustrails API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Trustrails,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
TrustRails MCP Server
Search UK electronics products - compare prices, find deals, and discover products across multiple retailers.
Built for the Model Context Protocol (MCP) - works with Claude Desktop, Claude Code, and other MCP-compatible AI assistants.
Quick Start
No installation needed — just add TrustRails to your Claude config.
Configuration
For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
For Claude Code (~/.config/claude/config.json):
That's it! Restart Claude and start searching.
What You Can Do
Natural Language Product Search
Just ask Claude naturally — it will decompose your request into the right query and filters:
Claude will search across multiple UK retailers and show you:
- Real-time prices & availability
- Purchase links (trustrails.app/go/ redirects to the retailer, through an affiliate link)
- Every known structured spec (
attributes), so products can be compared from the search alone - Then
get_productfor your final 1-3 picks, only when you need what search lacks: the retailer's description, or every retailer's offer and buy link (search carries only the best offer'spurchase_url, cheapest in stock)
Available Tools
search_products
Search 26,000+ UK electronics products across 7 retailers with price comparison. Prices are in GBP. The tool text tells the assistant to split the request into filters first: brand, category and price go in their own arguments, RAM, storage, screen size, resolution, refresh rate, wattage and Wi-Fi generation go in constraints, and only what is left over goes in query.
Parameters:
query(string, optional) - Refinement terms ONLY: model lines, series, variants, model numbers (e.g. 'neo', 'ultra', 'oled', 'WH-1000XM5', 's25 ultra'). Never a category name (BAD query='tablet', query='smartwatch', query='laptop': set the category filter instead), never a brand name (BAD query='Sony': set the brand filter instead), never a price. Omit entirely when browsing a category or brand: 'show me tablets' = category='Tablets', no query. Query words must appear in the title, except words naming the category ('router' in Networking) and bare numbers or specs ('4070', '16GB'), which are ignored when finding products and only rank them. Put a model number with its prefix ('RTX 4070', not '4070') and check each title for it. Leave out use-case words like gaming, cheap or best.min_price(number, optional) - Minimum price in GBP.max_price(number, optional) - Maximum price in GBP.brand(string, optional) - Filter by brand name (exact match, case-insensitive). Examples: Apple, Samsung, Sony, HP, Dell, Lenovo, Anker, Bose, LGcategory(string, optional) - Filter by product category. Use ONLY these exact values: Laptops, Desktops, Tablets, Phones, TVs, Monitors, Headphones, Speakers, Cameras, Keyboards, Mice, Printers, Networking, Storage, Gaming, Wearables, Drones, Audio, Cables & Chargers. 'Smartphones' is not valid (use 'Phones'), nor is 'Televisions' (use 'TVs'). Gaming headsets are category='Headphones', query='gaming headset': the Gaming category is consoles, controllers and accessories only.constraints(object, optional) - Hard spec requirements, checked per product against itsattributes. Shape{name: {op: number}}with opeq,gteorlte; a range is{gte, lte}. On every operator, storage matches within 3% and screen size within 0.5 inch; a whole-number screen size N also covers up to N+1 oneqandlte(gteis unchanged); other specs exactly:gte 1024accepts a 1TB drive,eq 22a 21.5" screen,eq 13a 13.6" one,lte 15a 15.6" one. Example:{"memory_gb": {"gte": 24}, "storage_gb": {"gte": 1000}, "screen_in": {"eq": 15}}. Names and units:memory_gb(RAM, GB),storage_gb(GB, 1TB = 1000),screen_in(inches),resolution_p(pixels high: 4K = 2160, QHD = 1440, Full HD = 1080),refresh_hz(Hz),power_w(W),wifi_gen(Wi-Fi generation: 6, 6E = 6.5, 7). A spec written inquerycounts only when it says what it is ('24GB RAM', '1TB', '144Hz', '55"') and means at least, except screen size (that size); a bare '24GB' stays a search word. Explicit constraints win over it. A plain16GBor65Wisgte; useeqonly when the user says exactly, and for screen size. Always setcategory(and brand if known) with constraints: a search of only specs is rejected, as is a bad request (unknown name or operator, negative value, a combination nothing can meet such asgteabovelte); the error lists the valid ones. See Structured specs.lite(boolean, optional) - Return trimmed product objects with only essential fields (id, title, brand, price, currency, availability, image_url, purchase_url, offer_count, attributes (every known spec as {status, value}, without sources) and, with constraints, constraint_status). Always set to true; it still carries attributes. Use false only for ean, category, provenance or all sources at once.limit(number, optional) - Maximum number of products to return (default 50, max 100)sort(string, optional) - Sort order: 'relevance' (default), 'price_asc' (in stock first, then cheapest), 'price_desc' (in stock first, then most expensive). With constraints, matched products still come first.
Returns: products and a total. Each product carries every known attributes spec (a product with no attributes key has none of these seven specs known: say so only if the user asked about one): compare specs from these. State the value of a confirmed or inferred spec; only conflicting (retailers disagree) or a missing name (unknown) needs a caveat. With constraints, each product has constraint_status per name (matched: a retailer's title states a value that meets it; unverified: not known to meet it, so never treat it as a match), total counts the products that match every constraint, unverified_total the unverified ones that passed the other filters, and excluded_by_constraints the products whose stated value fails. candidates_truncated: true means the first 2,000 candidates in the chosen sort order were checked and more exist: add a brand or category, or a narrower query, and search again. availability is in_stock, low_stock, out_of_stock or unknown (the retailer gave no stock signal), and with purchase_url and price it comes from the product's best offer: in stock first, then cheapest. If offer_count is above 1, call get_product for your final 1-3 picks to compare retailers. Before claiming a saving, read offers[].title (from get_product): they must name the same model; if they differ, don't claim one. Before recommending any pick, check its title is the product type asked for (not a cable, accessory or adapter).
get_product
Get full details for a single product by ID. Returns structured attributes (see Structured specs), specs.description (the retailer's own prose, for processor, GPU, ports, weight, battery and features that attributes does not cover), pricing, availability, delivery time, and all retailer offers with per-retailer pricing (offers[].stock is a unit count only when the retailer supplies one, otherwise null). Accepts both canonical product IDs and original retailer offer IDs. Use after search_products only for your final 1-3 picks, and only when you need what search lacks: details only the description has (if it doesn't give a detail, tell the user it isn't listed), or every retailer's offer and buy link (search carries only the best offer's purchase_url, cheapest in stock). Search results already carry attributes to compare specs. A pick with offer_count 1 needs no call unless the user asked for a description-only detail.
Parameters:
product_id(string) - The unique product ID from search results
Returns: Complete product with structured attributes, specs (including the retailer's specs.description), offers sorted in stock first then cheapest, and provenance information
Structured specs
Search results and get_product return attributes: structured specs (RAM, storage, screen size, resolution, refresh rate, power, Wi-Fi generation) read from retailer titles when the catalogue is imported. Each has a status, and a spec nobody states is absent (unknown); a product with no attributes key has none of these seven specs known (say so only if the user asked about one). What each call returns:
Names and units are as in constraints. State the value for confirmed and inferred; only conflicting or a missing name needs a caveat. The statuses:
confirmed: two or more retailers state the same value.inferred: one retailer's title states it.conflicting: retailers state different values. None is picked; the values are listed with their retailers, and a retailer can appear under two values (checkoffers[].title).
specs.description is the retailer's prose. It can describe another configuration or a maximum ("up to 32GB"), so it never overrides or fills in an attribute: a spec missing from attributes is unknown.
For one Galaxy S26 Ultra, where only JoyBuy states the RAM (12GB) and two retailers disagree about the storage:
Searches with constraints return the constraints applied, excluded_by_constraints, unverified_total, and a constraint_status on each product: matched (a retailer's title states a value that meets the constraint) or unverified (not known to meet it: never treat as a match, tell the user it is unconfirmed; check attributes[name], where conflicting means retailers disagree and missing means unknown). Products whose stated value fails a constraint are left out. A lite result carries the status and value of every known spec, without sources, so a 64GB laptop is told apart from a 16GB one and disagreeing from unknown.
- Tolerance: storage within 3% (1TB = 1000–1024GB) and screen size within 0.5 inch, on every operator. Retailers round sizes down, so a whole-number screen size N also covers up to N+1 on
eqandlte(eq 13accepts 13.6",lte 15accepts 15.6",gteis unchanged). Other specs, memory included, are exact. - Specs in
query: only a spec that says what it is counts ("24GB RAM", "1TB", "512GB SSD", "144Hz",55"). A bare "24GB" stays a search word. Memory, storage, resolution, refresh rate, power and Wi-Fi mean at least; screen size means that size. - With only specs: a search with no category, brand or search words is rejected rather than checking an arbitrary 2,000 products. If a requirement is ambiguous (a bare "16GB" could be RAM or storage), ask the user or search without that constraint.
total: with constraints it counts the products that match every constraint, andunverified_totalthe unverified products that passed the other filters (only some may be inproducts). Without constraintstotalis every product matching the filters.- Candidate window: constraints are checked on the first 2,000 candidates in the chosen sort order. If more exist, the response has
candidates_truncated: true: add abrandorcategory, or a narrowerquery, and search again before concluding that nothing matches. If the search was already narrowed, the results may be incomplete.
Supported Retailers
Search across 26,000+ electronics products from major UK retailers including AO, with new retailers added regularly.
Example Usage
Budget shopping:
Brand search:
Category browsing:
Spec requirements:
Detailed specs:
Price range:
Rate Limits
- 50 requests per hour per IP address
- Rate limit info included in response headers
- Limits reset every hour
Environment Variables
TRUSTRAILS_API_KEY- API key (usemcp-public-2026for shared public access)TRUSTRAILS_BASE_URL- API endpoint (optional, defaults tohttps://trustrails.app)
Why TrustRails?
- ✅ Real-time data - Product feeds updated twice daily
- ✅ Multiple retailers - Compare prices in one search
- ✅ Stock information - See what's actually available to buy
- ✅ Purchase links - Click through to the retailer to buy (affiliate links)
- ✅ Zero setup - Works out of the box with shared public key
- ✅ UK-focused - Optimized for UK electronics shopping
Troubleshooting
"Command not found" or server not starting
- Make sure Node.js is installed and
npxis available:npx --version - Try running manually:
npx -y @trustrails/mcp-server - Using nvm? Claude Desktop doesn't inherit your shell PATH. Use the full path to node instead:
First run
npm install -g @trustrails/mcp-server, then find your node path withwhich node.
"Rate limit exceeded"
- Wait an hour for limits to reset
- Check
X-RateLimit-Resetheader for exact reset time - 50 requests/hour is plenty for normal usage
"No results found"
- Try broader search terms (e.g., "laptop" instead of specific model)
- Check spelling of brand names
- Try searching without filters first
Development
Local Setup
Testing
Support & Links
- Website: trustrails.app
- Issues: GitHub Issues
- NPM: @trustrails/mcp-server
- MCP Registry: modelcontextprotocol.io/servers
License
MIT © TrustRails
About MCP
This server implements the Model Context Protocol, a standard for connecting AI assistants to external tools and data sources. Learn more about building MCP servers at modelcontextprotocol.io.
来源:README.md,提交 fd973fc
工具
0版本历史
5- v1.0.28最新Oct 9, 2026
- v1.0.27Oct 7, 2026
- v1.0.26Oct 6, 2026
- v1.0.25Oct 1, 2026
- v1.0.7Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分