PluginBench
MCP Server
Active
MIT

io.github.jlsookiki/secondhand-mcp MCP Server

io.github.jlsookiki/secondhand-mcp

Search Facebook Marketplace, eBay, Depop, and Poshmark for secondhand items with AI.

What is the io.github.jlsookiki/secondhand-mcp MCP server?

The Secondhand MCP server is an MCP server that enables AI assistants to search four major secondhand marketplaces—Facebook Marketplace, eBay, Depop, and Poshmark—with filtering by price, condition, size, and color. It returns full listing details including photos, descriptions, and seller information, and works with Claude Desktop, Claude Code, Cursor, and other local MCP clients.

Search multiple secondhand marketplaces at once from Claude, Cursor, or other AI assistants. Filter by price, condition, size, color, and category, then fetch full listing details with all photos and seller info. Facebook Marketplace requires no setup; eBay needs free API keys; Depop and Poshmark work automatically if Chrome is installed.

How to install io.github.jlsookiki/secondhand-mcp

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • EBAY_CLIENT_ID
    secret

    eBay API client ID (only needed for eBay search)

  • EBAY_CLIENT_SECRET
    secret

    eBay API client secret (only needed for eBay search)

  • EBAY_MARKETPLACE_ID

    eBay regional marketplace, e.g. EBAY_US (default)

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "secondhand-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "secondhand-mcp"
      ],
      "env": {
        "EBAY_CLIENT_ID": "<YOUR_EBAY_CLIENT_ID>",
        "EBAY_CLIENT_SECRET": "<YOUR_EBAY_CLIENT_SECRET>",
        "EBAY_MARKETPLACE_ID": "<YOUR_EBAY_MARKETPLACE_ID>"
      }
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • search_marketplace — Search for items across one or all marketplaces with filters for price, condition, size, color, category, and sort order. Returns title, price, location, seller, and optional photos.
  • get_listing_details — Fetch complete details for a specific listing including full description, all photos, seller name, and delivery/shipping information.
  • list_marketplaces — List all enabled marketplaces and their current status.
  • search — Convenience tool following the ChatGPT Deep Research contract; searches all enabled marketplaces at once and returns results as {id, title, text, url}.
  • fetch — Convenience tool following the ChatGPT Deep Research contract; returns full listing details for a search result ID.

Use cases

  • Find used clothing and shoes on Depop and Poshmark with size and color filters
  • Search Facebook Marketplace by location and radius for local secondhand furniture or electronics
  • Compare prices across eBay, Facebook, Depop, and Poshmark for the same item
  • Research condition and shipping options for a specific listing before purchasing
  • Discover new or like-new items in a category with automatic photo retrieval

io.github.jlsookiki/secondhand-mcp MCP server FAQ

What is the Secondhand MCP server?

It's an MCP server that lets Claude, Cursor, and other AI assistants search four secondhand marketplaces—Facebook Marketplace, eBay, Depop, and Poshmark—with filtering and full listing details.

Is it free?

Yes, the local version is free forever. There's also a cloud version (secondhandmcp.com) with a free tier and optional $4.99/month paid tier for use with ChatGPT and other assistants.

How do I install it in Claude Desktop or Cursor?

Add the server to your MCP config file (claude_desktop_config.json for Claude Desktop, ~/.claude/.mcp.json for Claude Code) with the command `npx -y secondhand-mcp`. eBay API keys are optional; Depop and Poshmark work automatically if Chrome is installed.

Do I need to log in to any marketplace?

No login required for Facebook Marketplace, Depop, or Poshmark. eBay requires free API keys (Client ID and Client Secret) from developer.ebay.com, which you add to your MCP config.

Does it work with ChatGPT?

No, the local version only works with Claude Desktop, Claude Code, Cursor, and other clients that run MCP servers locally. Use the cloud version (secondhandmcp.com) for ChatGPT and other assistants.

What if I don't have Chrome installed?

Facebook Marketplace and eBay will still work. Depop and Poshmark require Chrome or Chromium and will be automatically disabled if not found.

README (reference)

Source of truth, from the repository.

MseeP.ai Security Assessment Badge Verified on MseeP

Secondhand MCP

A Model Context Protocol (MCP) server that lets AI assistants search secondhand marketplaces. Search Facebook Marketplace, eBay, Depop, and Poshmark for used and secondhand items — filter by price, category, condition, size, and color, then get full listing details with photos, descriptions, and seller info.

Works with Claude Desktop, Claude Code, Cursor, and other clients that run MCP servers locally.

[!TIP] Using ChatGPT? This one won't work there.

It runs on your computer, so it only works where your computer is — Claude Desktop, Claude Code, Cursor. Secondhand MCP Cloud is the same search, always on, so whichever assistant you actually use can reach it. Free tier, no card.

This repoCloud
Claude Desktop, Code, Cursor✅✅
ChatGPT, Claude, and other assistants—✅
Searching from your phone—✅
Chrome running in the backgroundneedednot needed
Pricefree, foreverfree tier, then $4.99

Supported Marketplaces

MarketplaceAuth RequiredNotes
Facebook MarketplaceNoLocation-based search
eBayYes (API keys)Official Browse API
DepopNoRequires Chrome installed
PoshmarkNoRequires Chrome installed

Setup

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "secondhand": {
      "command": "npx",
      "args": ["-y", "secondhand-mcp"],
      "env": {
        "EBAY_CLIENT_ID": "your-ebay-client-id",
        "EBAY_CLIENT_SECRET": "your-ebay-client-secret",
        "EBAY_MARKETPLACE_ID": "EBAY_US"
      }
    }
  }
}

Claude Code

Add to ~/.claude/.mcp.json:

{
  "mcpServers": {
    "secondhand": {
      "command": "npx",
      "args": ["-y", "secondhand-mcp"],
      "env": {
        "EBAY_CLIENT_ID": "your-ebay-client-id",
        "EBAY_CLIENT_SECRET": "your-ebay-client-secret",
        "EBAY_MARKETPLACE_ID": "EBAY_US"
      }
    }
  }
}

eBay, Depop, and Poshmark are all optional — if eBay API keys are missing or Chrome isn't installed, those marketplaces are automatically disabled and the rest still work.

Depop & Poshmark / Chrome Requirement

Depop and Poshmark require a headless browser. If Google Chrome or Chromium is installed on your system, both are automatically enabled — no config needed. If Chrome isn't found, they are silently skipped.

On macOS, the first time you search Depop or Poshmark, you may see a system prompt asking to allow Node.js to control Chrome. This is expected — puppeteer needs to launch Chrome in headless mode. Allow it once and it won't ask again.

The browser runs invisibly in the background and only launches when you actually search Depop or Poshmark.

Configuration

Choosing Marketplaces

By default all marketplaces are enabled. To limit which are active, set the MARKETPLACES env var (comma-separated):

{
  "env": {
    "MARKETPLACES": "facebook,ebay"
  }
}

Valid values: facebook, ebay, depop, poshmark

eBay API Keys

eBay uses the official Browse API. You need a free eBay developer account:

  1. Create an account at developer.ebay.com
  2. Create an application to get a Client ID and Client Secret
  3. Add them to your MCP config as EBAY_CLIENT_ID and EBAY_CLIENT_SECRET

eBay Marketplace / Region

By default the server targets the US eBay site. To search a different regional marketplace, set the EBAY_MARKETPLACE_ID environment variable:

{
  "env": {
    "EBAY_MARKETPLACE_ID": "EBAY_DE"
  }
}

Common values:

ValueSite
EBAY_USebay.com (default)
EBAY_DEebay.de
EBAY_GBebay.co.uk
EBAY_AUebay.com.au
EBAY_FRebay.fr
EBAY_ITebay.it
EBAY_ESebay.es
EBAY_CAebay.ca

The full list is available in the eBay API docs.

Tools

search_marketplace

Search for items across marketplaces.

ParameterRequiredDefaultDescription
queryYesSearch terms
marketplaceNofacebookfacebook, ebay, depop, poshmark, or all
locationNosan franciscoCity to search in (Facebook only)
radiusMilesNo25Search radius in miles, up to 500 (Facebook only)
maxPriceNoMaximum price
minPriceNoMinimum price
limitNo20Max results
showSoldNofalseInclude sold items (Facebook only)
includeImagesNofalseInclude image URLs in output
sortNorelevanceSort order (Depop, Poshmark): relevance, newest, most_popular, price_low_to_high, price_high_to_low
conditionNoItem condition. eBay: new, like_new, good, fair. Depop: new, like_new, excellent, good, fair, used. Poshmark: new (NWT), like_new (NWOT), good, fair
categoryNoProduct category. Depop: tops, bottoms, dresses, coats-jackets, footwear, accessories, bags, jewellery, activewear, swimwear. Poshmark: Jackets_&_Coats, Dresses, Shoes, Accessories, etc.
brandNoBrand filter (Poshmark only): e.g. "Nike", "Levi's", "Gucci"
departmentNoDepartment filter (Poshmark only): Women, Men, Kids
sizesNoSize filter (Depop, Poshmark): e.g. ["S", "M", "L"] or ["US 9", "US 10"]
colorsNoColor filter (Depop, Poshmark): black, white, red, blue, green, yellow, orange, pink, purple, brown, grey, cream, multi, silver, gold

Data returned per marketplace:

FieldFacebookeBayDepopPoshmark
TitleYesYesYesYes
PriceYesYesYesYes
LocationCityCity, State——
Condition—Yes——
Photo count1 thumbnail1 thumbnail1 thumbnail1 thumbnail
SellerYesYes——

get_listing_details

Get full details for a specific listing using an ID from search results.

ParameterRequiredDefaultDescription
listingIdYesListing ID from search results
marketplaceNofacebookfacebook, ebay, depop, or poshmark

Data returned per marketplace:

FieldFacebookeBayDepopPoshmark
DescriptionYesYesYesYes
All photosYesYesYesYes
LocationCityCity, State, Country——
SellerNameUsernameUsernameUsername
Delivery typesYes———
ShippingYes/NoService codesYes/NoAlways included

list_marketplaces

List all enabled marketplaces and their status.

search / fetch (deep research)

Convenience pair following the ChatGPT Deep Research tool contract — exact names, a single string argument each:

  • search(query) — searches every enabled marketplace at once and returns { results: [{ id, title, text, url }] }, where id is marketplace:listingId
  • fetch(id) — returns full listing details for a search result ID as { id, title, text, url, metadata }

Useful for research-style clients that expect these standard tool names; for filtered searches use search_marketplace.

How It Works

Facebook Marketplace — Searches listings by location, radius, price, and query. Resolves city names to coordinates. No login or browser needed. Facebook serves non-browser callers a gated version of its search API from time to time (a single result with more pages behind it, or stubs with no listing inside); when that happens the server reads the logged-out search page instead, which still carries a full first page of results.

eBay — Uses the official eBay Browse API with OAuth 2.0 client credentials. Tokens are cached and auto-refreshed. The target regional marketplace is controlled by EBAY_MARKETPLACE_ID (default: EBAY_US).

Depop — Uses a headless browser to search listings with support for category, condition, size, and color filters. The browser instance is shared across requests.

Poshmark — Uses a headless browser to search listings with support for condition, size, color, sort, and price filters. Poshmark is not location-based — all items ship nationally.

Development

git clone https://github.com/jlsookiki/secondhand-mcp.git
cd secondhand-mcp
npm install
npm run build

Adding a Marketplace

  1. Create a new file in src/marketplaces/
  2. Extend BaseMarketplace and implement search() and optionally getListingDetails()
  3. Add the constructor to allMarketplaces in src/marketplaces/index.ts

Limitations

  • Facebook: May break if Facebook changes their frontend
  • eBay: Requires developer API keys (free tier available)
  • Depop: Requires Chrome/Chromium installed; slower than Facebook/eBay (~5s per search)
  • Poshmark: Requires Chrome/Chromium installed; no official API so relies on page scraping
  • Rate limiting: Don't make too many requests too quickly

License

MIT

Related MCP servers

40 Apify public-data tools for leads, news, SEO, jobs, SEC, procurement, and registries.

0
Python
MIT
View repository →

Webinar analytics for Zoom Meeting-based webinars: Funnels, transcripts, email engagement

KIKindex logo

Kindex

Active

Persistent knowledge graph MCP server for multi-agent coordination with git-tracked project context.

32
Python
MIT
View repository →
SIsignet-eval logo

Deterministic policy enforcement and MCP management for AI agent tool calls.

3
Rust
MIT
View repository →

Chat with your Ableton Live session in real-time using natural language through Claude or Cursor.

24
TypeScript
View repository →

Privacy-safe synthetic financial data for LatAm fintech, AI agents, testing and ML.

0
Python
View repository →