Labsco
jlsookiki logo

Secondhand MCP

โ˜… 17

from jlsookiki

Connects AI to Facebook Marketplace, Ebay, Poshmark, and Depop to find you the best deals

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

MseeP.ai Security Assessment Badge

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 any MCP-compatible client.

[!TIP] Want to skip the setup? Try Secondhand MCP Cloud โ€” the hosted version that connects to Claude.ai and ChatGPT in 30 seconds. No install or Chrome required. Free tier included.

Supported Marketplaces

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

Tools

search_marketplace

Search for items across marketplaces.

ParameterRequiredDefaultDescription
queryYesSearch terms
marketplaceNofacebookfacebook, ebay, depop, poshmark, or all
locationNosan franciscoCity to search in (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.

How It Works

Facebook Marketplace โ€” Searches listings by location, price, and query. Resolves city names to coordinates. No login or browser needed.

eBay โ€” Uses the official eBay Browse API with OAuth 2.0 client credentials. Tokens are cached and auto-refreshed.

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