app.trustrails/server

平台与服务

by james-webdev

Search UK electronics products across retailers. Real-time prices, stock, and specs.

什么是 app.trustrails/server

Search UK electronics products across retailers. Real-time prices, stock, and specs.

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.

npm version License: MIT


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):

json
{
  "mcpServers": {
    "trustrails": {
      "command": "npx",
      "args": ["-y", "@trustrails/mcp-server"],
      "env": {
        "TRUSTRAILS_API_KEY": "mcp-public-2026"
      }
    }
  }
}

For Claude Code (~/.config/claude/config.json):

json
{
  "mcpServers": {
    "trustrails": {
      "command": "npx",
      "args": ["-y", "@trustrails/mcp-server"],
      "env": {
        "TRUSTRAILS_API_KEY": "mcp-public-2026"
      }
    }
  }
}

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:

code
"Find me a gaming laptop under £1000"
"I need Sony noise cancelling headphones"
"What HP laptops are available between £500-£700?"
"Show me Anker chargers"

Claude will search across multiple UK retailers and show you:

  • Real-time prices & availability
  • Direct purchase links
  • Then call get_product for full specs when you need details

Available Tools

search_products

Search 26,000+ UK electronics products. Returns summary data (title, price, availability, category). For full technical specs, use get_product.

Parameters:

  • query (string) - Refinement terms after brand and category are extracted: model lines, series, variants, technology descriptors, or model numbers (e.g., "neo", "ultra", "oled", "WH-1000XM5"). Omit entirely if brand + category alone describe what's needed. Never put brand names, product family names, or prices here — use filters.
  • min_price (number, optional) - Minimum price in GBP
  • max_price (number, optional) - Maximum price in GBP
  • brand (string, optional) - Filter by brand, exact match (e.g., "Sony", "HP", "Apple")
  • 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.
  • lite (boolean, optional) - Return trimmed product objects (reduces payload by ~80%). Always use for LLM integrations.
  • limit (number, optional) - Maximum products to return (default 50, max 100)
  • sort (string, optional) - Sort order: relevance (default), price_asc (cheapest first), price_desc (most expensive first). Use price_asc when comparing prices.

Returns: Up to 50 products with summary data. With lite: true, returns only essential fields (id, title, brand, price, availability, image_url, purchase_url).

get_product

Get full details for a single product. Returns complete technical specifications including specs.description (full prose spec text with processor, RAM, storage, display, ports, etc.), stock level, delivery time, and all retailer offers with per-retailer pricing. Use after search_products for detailed comparison or recommendations.

Parameters:

  • product_id (string) - The product ID from search results

Returns: Complete product with full specs (including specs.description), pricing across all retailers, and provenance information


Supported Retailers

Search across 26,000+ electronics products from major UK retailers including AO, with new retailers added regularly.


Example Usage

Budget shopping:

code
"Find gaming laptops under £800"
→ category='Laptops', query='gaming', max_price=800, sort='price_asc', lite=true

Brand search:

code
"I need Sony headphones under £200"
→ brand='Sony', category='Headphones', max_price=200, sort='price_asc', lite=true

Category browsing:

code
"Show me cheap monitors"
→ category='Monitors', max_price=200, lite=true

Detailed specs:

code
"Tell me the full specs of this laptop"
→ get_product(product_id) — returns full technical specifications

Price range:

code
"Apple products between £500 and £1000"
→ brand='Apple', min_price=500, max_price=1000, lite=true

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 (use mcp-public-2026 for shared public access)
  • TRUSTRAILS_BASE_URL - API endpoint (optional, defaults to https://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
  • Direct purchase links - Click through to buy immediately
  • 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 npx is 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:
    json
    {
      "command": "/Users/YOUR_USERNAME/.nvm/versions/node/vX.X.X/bin/node",
      "args": ["/Users/YOUR_USERNAME/.nvm/versions/node/vX.X.X/lib/node_modules/@trustrails/mcp-server/dist/index.js"]
    }
    
    First run npm install -g @trustrails/mcp-server, then find your node path with which node.

"Rate limit exceeded"

  • Wait an hour for limits to reset
  • Check X-RateLimit-Reset header 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

bash
# Clone the repo
git clone https://github.com/james-webdev/trustrails-mcp-server
cd trustrails-mcp-server

# Install dependencies
npm install

# Run locally
npm run dev

Testing

bash
# Run the MCP inspector to test tools
npx @modelcontextprotocol/inspector npm run dev

Support & Links


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.

常见问题

app.trustrails/server 是什么?

Search UK electronics products across retailers. Real-time prices, stock, and specs.

相关 Skills

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描123.0k

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描123.0k

邮件模板

by alirezarezvani

Universal
热门

快速搭建生产可用的事务邮件系统:生成 React Email/MJML 模板,接入 Resend、Postmark、SendGrid 或 AWS SES,并支持本地预览、i18n、暗色模式、反垃圾优化与追踪埋点。

面向营销与服务场景,快速搭建高质量邮件模板,省去反复设计与切图成本,成熟度和社区认可都很高。

平台与服务
未扫描12.5k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
84.2k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.5k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
38.1k

评论