# TrustRails

> TrustRails is a free MCP server for e-commerce. Search UK electronics prices, stock and specs across seven retailers from an AI assistant. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, API, Self-hosted
- **Repository:** https://github.com/james-webdev/trustrails-mcp-server
- **MCP Registry name:** app.trustrails/server
- **Categories:** [e-commerce](https://ai-powered.com/categories/e-commerce)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add server --env TRUSTRAILS_API_KEY='<TRUSTRAILS_API_KEY>' -- npx -y @trustrails/mcp-server
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

```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.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add server --env TRUSTRAILS_API_KEY='<TRUSTRAILS_API_KEY>' -- npx -y @trustrails/mcp-server
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.server]
command = "npx"
args = ["-y", "@trustrails/mcp-server"]
env = { TRUSTRAILS_API_KEY = "<TRUSTRAILS_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```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 (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "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.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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 (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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_products` (name suggests: reads): Search UK electronics with filters, spec constraints and sorting.
- `get_product` (name suggests: reads): Full details and all retailer offers for one product.

## 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.

## Alternatives

- [ChatGPT for Amazon](https://ai-powered.com/mcp/chatgpt_for_amazon): ChatGPT for Amazon is a freemium MCP server for marketing.
- [O'So MCP Server for PrestaShop](https://ai-powered.com/mcp/o-so-mcp-server-for-prestashop): O'So MCP Server for PrestaShop is an open-source MCP server for e-commerce.
- [Tally Hardware](https://ai-powered.com/mcp/tally-hardware): Tally Hardware is a paid MCP server for manufacturing.
- [Gray Cup](https://ai-powered.com/mcp/gray-cup): Gray Cup is an MCP server for e-commerce.
- [AntiStagFlation Shop](https://ai-powered.com/mcp/antistagflation-shop): AntiStagFlation Shop is an MCP server for e-commerce.
- [Shopify store products](https://ai-powered.com/mcp/shopify-store-products): Shopify store products is a paid MCP server for e-commerce.
- [Geschenkideen-Kompass](https://ai-powered.com/mcp/geschenkideen-kompass): Geschenkideen-Kompass is a free MCP server for e-commerce.
- [Fairshop Shipping Costs](https://ai-powered.com/mcp/fairshop-shipping-costs): Fairshop Shipping Costs is an MCP server for e-commerce.

---
Source: https://ai-powered.com/mcp/trustrails
