# Fairshop Stockouts

> Fairshop Stockouts is an MCP server for e-commerce. Reads exported store files to flag stockouts and reorder risks for online sellers. It runs locally on your machine and is started by your AI client.

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

## About

Fairshop Stockouts is an MCP server that reads daily stock snapshots and order records for each SKU, so an assistant can answer questions about what is running low and what has already sold out. It works from files you already export and does not connect to a store, marketplace or inventory system.

The server is installed from npm and exposes its readings to an MCP-compatible AI client. Results cover stock levels by date and the orders placed against each SKU, which makes it possible to spot stockouts and plan reorders from the same data.

It suits operators and bookkeepers at online or multichannel shops who want an assistant to review inventory from their own exports. The package is part of a wider set of store-audit checks described on the vendor's site, which sells paid setup and support around them.

## Features

- **Daily stock snapshots:** Reads per-SKU stock levels recorded on each day from your own export files.
- **Per-SKU order history:** Pulls the orders placed against each SKU so stock and demand can be compared.
- **Stockout detection:** Identifies SKUs that ran out of stock while orders were still coming in.
- **MCP tool access:** Exposes these readings to any MCP-compatible AI client over stdio.
- **Local file reading:** Works from exported files on your computer rather than logging in to a store.

## Good for

- Finding SKUs that sold out while orders were still being taken
- Planning reorders before popular products run out of stock
- Asking an AI assistant to summarise daily stock movement for a shop
- Reviewing per-SKU order volume against stock on hand

## Install

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

```sh
claude mcp add fairshop-stockouts -- npx -y fairshop-stockouts
```

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

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

### Zed (Zed settings.json)

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

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

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

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

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

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

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

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

## FAQ

### How is the server installed?

It is published on npm as fairshop-stockouts, version 0.1.0, and runs over stdio.

### Does Fairshop Stockouts connect to my store directly?

No. It reads the files you export and does not log in to your store, marketplace or carrier.

### Does Fairshop Stockouts require environment variables?

The registry entry lists no environment variables.

### How do I add Fairshop Stockouts to Claude Code?

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

### What are the best alternatives to Fairshop Stockouts?

The closest alternatives to Fairshop Stockouts are Fairshop Return Reasons, Fairshop Inventory Listings, Fairshop Ad Spend, Shop MCP and Fairshop Store Shrink.

## 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 Return Reasons](https://ai-powered.com/mcp/fairshop-return-reasons): Fairshop Return Reasons is an open-source MCP server for e-commerce.
- [Fairshop Inventory Listings](https://ai-powered.com/mcp/fairshop-inventory-listings): Fairshop Inventory Listings is a paid MCP server for finance and payments.
- [Fairshop Ad Spend](https://ai-powered.com/mcp/fairshop-ad-spend): Fairshop Ad Spend is a paid MCP server for marketing and seo.
- [Shop MCP](https://ai-powered.com/mcp/shop-mcp): Shop MCP is an open-source 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.
- [Runwaystock](https://ai-powered.com/mcp/runwaystock): Runwaystock is an open-source MCP server for e-commerce.
- [ReplenishRadar](https://ai-powered.com/mcp/replenishradar): ReplenishRadar is a paid MCP server for e-commerce.
- [Shopops MCP](https://ai-powered.com/mcp/shopops-mcp): Shopops MCP is a freemium MCP server for e-commerce.

---
Source: https://ai-powered.com/mcp/fairshop-stockouts
