TrustRails
Search UK electronics prices, stock and specs across seven retailers from an AI assistant
TrustRails is a free MCP server for e-commerce. It runs locally on your machine and is started by your AI client.
- Pricing
- Free
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- What it can do
- Read-only
- Version
- 1.0.28
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add server --env TRUSTRAILS_API_KEY='<TRUSTRAILS_API_KEY>' -- npx -y @trustrails/mcp-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"server": {
"command": "npx",
"args": [
"-y",
"@trustrails/mcp-server"
],
"env": {
"TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"server": {
"command": "npx",
"args": [
"-y",
"@trustrails/mcp-server"
],
"env": {
"TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"server": {
"command": "npx",
"args": [
"-y",
"@trustrails/mcp-server"
],
"env": {
"TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@trustrails/mcp-server"
],
"env": {
"TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add server --env TRUSTRAILS_API_KEY='<TRUSTRAILS_API_KEY>' -- npx -y @trustrails/mcp-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.server]
command = "npx"
args = ["-y", "@trustrails/mcp-server"]
env = { TRUSTRAILS_API_KEY = "<TRUSTRAILS_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"server": {
"command": "npx",
"args": [
"-y",
"@trustrails/mcp-server"
],
"env": {
"TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "server": { "command": "npx", "args": [ "-y", "@trustrails/mcp-server" ], "env": { "TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>" } } } }Or run: gemini mcp add -s user -e TRUSTRAILS_API_KEY='<TRUSTRAILS_API_KEY>' server npx -- -y @trustrails/mcp-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "server": { "command": "npx", "args": [ "-y", "@trustrails/mcp-server" ], "env": { "TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "server": { "command": "npx", "args": [ "-y", "@trustrails/mcp-server" ], "env": { "TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "server": { "command": "npx", "args": [ "-y", "@trustrails/mcp-server" ], "env": { "TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "server": { "command": "npx", "args": [ "-y", "@trustrails/mcp-server" ], "env": { "TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "server": { "command": "npx", "args": [ "-y", "@trustrails/mcp-server" ], "env": { "TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "server": { "command": "npx", "args": [ "-y", "@trustrails/mcp-server" ], "env": { "TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "server": { "command": "npx", "args": [ "-y", "@trustrails/mcp-server" ], "env": { "TRUSTRAILS_API_KEY": "<TRUSTRAILS_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
TRUSTRAILS_API_KEYOptional TrustRails API key. If unset, the server uses the shared public key, which is rate-limited.
About TrustRails
TrustRails covers more than 26,000 UK electronics products from seven retailers, with prices in GBP and listings refreshed twice a day. The assistant is expected to split a shopping request into filters before searching: brand and category in their own arguments, price bounds as min and max, and only model lines or variants as free text.
Beyond that, search_products accepts hard spec constraints on RAM, storage, screen size, resolution, refresh rate, wattage and Wi-Fi generation, using eq, gte or lte, and checks them against each product's structured attributes. Each spec is tagged confirmed, inferred or conflicting, and constrained results report matched or unverified status so a missing spec is never treated as a match. Categories include laptops, phones, TVs, monitors, headphones, cameras and others. get_product returns the retailer's description and every retailer's offer for a final shortlist.
Purchase links go through trustrails.app redirects to the retailer using an affiliate link. The npm package runs over stdio and uses a shared rate-limited public key if you do not set TRUSTRAILS_API_KEY.
Tools this server provides (2)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, all 2 tools only read data.
From the server's own tool labels and tool names; not verified by us.
- search_productsName suggests: reads
- Search UK electronics with filters, spec constraints and sorting.
- get_productName suggests: reads
- Full details and all retailer offers for one product.
What it does
- Multi-retailer comparison
- Compare prices and stock for UK electronics across seven retailers.
- Spec constraints
- Filter on RAM, storage, screen size, resolution, refresh rate, power and Wi-Fi generation.
- Verified specs
- Each attribute is marked confirmed, inferred or conflicting, with unverified matches flagged.
- Offer details
- get_product lists all retailer offers and links for a shortlist.
- Price sorting
- Sort by relevance or by price with in-stock items first.
- Public key included
- Works without signup through a shared, rate-limited key.
Good for
- Find a gaming laptop under a set budget
- Compare headphones from one brand across retailers
- Filter monitors by size and refresh rate
- Shortlist phones with enough storage
Pricing
Free
Shared public key is rate-limited; optional API key available
TrustRails FAQ
Which country and currency does TrustRails cover?
UK products, with prices in GBP.
Do I need an API key?
No. Without TRUSTRAILS_API_KEY it uses a shared public key, which is rate-limited.
How current is the data?
The registry entry says it is refreshed twice a day.
Do the links earn commission?
Purchase links redirect through trustrails.app to the retailer using an affiliate link.
Is TrustRails free?
Yes. TrustRails is free to use.
How do I add TrustRails to Claude Code?
Run this command in your terminal: claude mcp add server --env TRUSTRAILS_API_KEY='<TRUSTRAILS_API_KEY>' -- npx -y @trustrails/mcp-server
What are the best alternatives to TrustRails?
The closest alternatives to TrustRails are ChatGPT for Amazon, O'So MCP Server for PrestaShop, Tally Hardware, Gray Cup and AntiStagFlation Shop.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.