Secondhand Mcp

io.github.jlsookiki由 GitHub 帳號 jlsookiki 發布v0.6.0更新於 Oct 24, 2026

Search Facebook Marketplace, eBay, Depop, and Poshmark from AI — filters, photos, full listings.

概覽

AI 產生的概覽

讓助理搜尋二手交易平台——Facebook Marketplace、eBay、Depop 和 Poshmark——支援篩選並回傳完整商品詳情。

可以做什麼
提供 search_marketplace 工具,可依價格、類別、狀況、尺寸、顏色、品牌和部門等條件搜尋單一或全部已啟用的平台,Facebook 還支援地點和半徑。get_listing_details 工具會依商品 ID 回傳描述、全部照片、地點、賣家和配送資訊。list_marketplaces 顯示目前啟用的平台,另有一組 search/fetch 工具遵循深度研究工具契約。
適用情境
適合讓助理在多個二手轉賣網站上尋找二手商品並比較結果,而不必自己逐一瀏覽網站。主要用於桌面端 MCP 用戶端(例如 Claude Desktop、Claude Code、Cursor)上的購物與比價研究。
執行需求
透過 npx 在本機執行(需要 Node.js)。eBay 搜尋需要免費的 eBay 開發者帳號,並設定 EBAY_CLIENT_ID 和 EBAY_CLIENT_SECRET 環境變數;EBAY_MARKETPLACE_ID 用來選擇地區網站。Depop 和 Poshmark 需要安裝 Google Chrome 或 Chromium 以進行無頭瀏覽。需要網路連線。
安裝前請注意
EBAY_CLIENT_ID 和 EBAY_CLIENT_SECRET 是存放在用戶端設定中的密鑰。Depop 和 Poshmark 依賴無頭 Chrome 與頁面擷取,可能失效或受到速率限制;Facebook 也可能因其前端變更而失效。搜尋會把查詢傳送給第三方交易平台。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Secondhand Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[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:

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:

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):

json
{  "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:

json
{  "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

bash
git clone https://github.com/jlsookiki/secondhand-mcp.gitcd secondhand-mcpnpm installnpm 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

來源:README.md,提交 411c05a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.6.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分