# Fairshop Return Reasons

> Fairshop Return Reasons is an open-source MCP server for e-commerce. Reads your exported store files to flag return reasons by SKU and by customer. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Website:** https://fair-agents.com/fairshop.html
- **Repository:** https://github.com/fpavia111-creator/fairshop-agents/tree/HEAD/packages/fairshop-return-reasons
- **MCP Registry name:** io.github.fpavia111-creator/fairshop-return-reasons
- **Categories:** [e-commerce](https://ai-powered.com/categories/e-commerce)
- **Listing updated:** 2026-11-29

## About

This MCP server reads return reasons from a store export and reports them by product SKU and by customer. It is one of several small checks from the Fairshop back-office suite, published as a standalone package on npm.

It works on files you already have rather than connecting to a live store, so no store login or customer data needs to be shared with the server. Results are returned to an MCP-compatible AI client over stdio, which lets an assistant answer questions about which products come back most often.

The package suits e-commerce operators and bookkeepers who want to spot return patterns, and developers who want an MCP tool for return analysis in their own assistant setup.

## Features

- **Return reasons by SKU:** Groups returned items by stock keeping unit so high-return products stand out.
- **Return reasons by customer:** Shows which customers return most of what they buy, with names masked in the output.
- **Runs over stdio:** Installs as a local stdio MCP server that an AI client can launch directly.
- **Reads exported files:** Works from files you export rather than logging in to your store.

## Good for

- Find which SKUs are returned at the highest rate
- Spot customers who cancel or return most of their orders
- Give an AI assistant read access to return reason data for analysis

## Install

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

```sh
claude mcp add fairshop-return-reasons -- npx -y fairshop-return-reasons
```

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": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

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

```json
{
  "mcpServers": {
    "fairshop-return-reasons": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

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 fairshop-return-reasons -- npx -y fairshop-return-reasons
```

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

```toml
[mcp_servers.fairshop-return-reasons]
command = "npx"
args = ["-y", "fairshop-return-reasons"]
```

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

```json
{
  "mcpServers": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user fairshop-return-reasons npx -- -y fairshop-return-reasons

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

```json
{
  "mcpServers": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

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": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

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": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

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": {
    "fairshop-return-reasons": {
      "command": "npx",
      "args": [
        "-y",
        "fairshop-return-reasons"
      ]
    }
  }
}
```

## FAQ

### Does Fairshop Return Reasons connect to my store directly?

No. It reads the files you export on your own computer and does not log in to your store.

### How is Fairshop Return Reasons installed?

It is published on npm as fairshop-return-reasons and runs as a local stdio server.

### Is Fairshop Return Reasons free?

Yes. Fairshop Return Reasons is open source, so you can use and self-host it for free.

### How do I add Fairshop Return Reasons to Claude Code?

Run this command in your terminal: claude mcp add fairshop-return-reasons -- npx -y fairshop-return-reasons

### What are the best alternatives to Fairshop Return Reasons?

The closest alternatives to Fairshop Return Reasons are Fairshop Stockouts, Fairshop Store Shrink, Fairshop SKU Margins, Fairshop Ad Spend and Returnloop.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Fairshop Stockouts](https://ai-powered.com/mcp/fairshop-stockouts): Fairshop Stockouts is an MCP server for e-commerce.
- [Fairshop Store Shrink](https://ai-powered.com/mcp/fairshop-store-shrink): Fairshop Store Shrink is an MCP server for e-commerce.
- [Fairshop SKU Margins](https://ai-powered.com/mcp/fairshop-sku-margins): Fairshop SKU Margins is an open-source MCP server for e-commerce.
- [Fairshop Ad Spend](https://ai-powered.com/mcp/fairshop-ad-spend): Fairshop Ad Spend is a paid MCP server for marketing and seo.
- [Returnloop](https://ai-powered.com/mcp/returnloop): Returnloop is a freemium MCP server for e-commerce.
- [Fairshop Gift Cards](https://ai-powered.com/mcp/fairshop-gift-cards): Fairshop Gift Cards is a paid 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.
- [Fairshop Retailer Deductions](https://ai-powered.com/mcp/fairshop-retailer-deductions): Fairshop Retailer Deductions is a paid MCP server for e-commerce.

---
Source: https://ai-powered.com/mcp/fairshop-return-reasons
