# secondhand-mcp

Search Facebook Marketplace, eBay, Depop, and Poshmark for secondhand goods, then narrow results by price, condition, size, or other filters.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 94
- Author: jlsookiki
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/jlsookiki/secondhand-mcp
- Updated: 2026-10-05
- HTML: https://affpapa.org/en/nevibecode/mcp/secondhand-mcp

## What it does

This MCP server searches Facebook Marketplace, eBay, Depop, and Poshmark. Filter listings by price, category, condition, size, or color, then request more information about a result using its listing ID. Facebook searches can also use a city and radius.

eBay searches need API credentials. Depop and Poshmark rely on Chrome or Chromium; if neither browser is available, those two sources are skipped while the others can still run. That matters if either marketplace is central to your search. Use the `MARKETPLACES` environment variable to choose which sources are active.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `EBAY_CLIENT_ID`, `EBAY_CLIENT_SECRET`, `EBAY_MARKETPLACE_ID` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env EBAY_CLIENT_ID=<EBAY_CLIENT_ID> --env EBAY_CLIENT_SECRET=<EBAY_CLIENT_SECRET> --env EBAY_MARKETPLACE_ID=<EBAY_MARKETPLACE_ID> --transport stdio secondhand-mcp -- npx -y secondhand-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add secondhand-mcp --env EBAY_CLIENT_ID=<EBAY_CLIENT_ID> --env EBAY_CLIENT_SECRET=<EBAY_CLIENT_SECRET> --env EBAY_MARKETPLACE_ID=<EBAY_MARKETPLACE_ID> -- npx -y secondhand-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "secondhand-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "secondhand-mcp"
            ],
            "env": {
                "EBAY_CLIENT_ID": "<EBAY_CLIENT_ID>",
                "EBAY_CLIENT_SECRET": "<EBAY_CLIENT_SECRET>",
                "EBAY_MARKETPLACE_ID": "<EBAY_MARKETPLACE_ID>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "secondhand-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "secondhand-mcp"
            ],
            "env": {
                "EBAY_CLIENT_ID": "<EBAY_CLIENT_ID>",
                "EBAY_CLIENT_SECRET": "<EBAY_CLIENT_SECRET>",
                "EBAY_MARKETPLACE_ID": "<EBAY_MARKETPLACE_ID>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e EBAY_CLIENT_ID=<EBAY_CLIENT_ID> -e EBAY_CLIENT_SECRET=<EBAY_CLIENT_SECRET> -e EBAY_MARKETPLACE_ID=<EBAY_MARKETPLACE_ID> secondhand-mcp npx -y secondhand-mcp
```
Replace <…> with your own values

## When to use it
- search for secondhand goods across several marketplaces
- filter listings by price and condition
- narrow Facebook results by city and radius
- retrieve more information using a listing ID

## Example prompts
- Find used bicycles under 200 dollars across the available marketplaces.
- Search Depop and Poshmark for jackets in size M.
- Look for items on Facebook Marketplace near San Francisco within 25 miles.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74559
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
