
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.
概览
让助手搜索二手交易平台——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 以进行无头浏览。需要网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 Secondhand Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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.
Supported Marketplaces
Setup
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Claude Code
Add to ~/.claude/.mcp.json:
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):
Valid values: facebook, ebay, depop, poshmark
eBay API Keys
eBay uses the official Browse API. You need a free eBay developer account:
- Create an account at developer.ebay.com
- Create an application to get a Client ID and Client Secret
- Add them to your MCP config as
EBAY_CLIENT_IDandEBAY_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:
Common values:
The full list is available in the eBay API docs.
Tools
search_marketplace
Search for items across marketplaces.
Data returned per marketplace:
get_listing_details
Get full details for a specific listing using an ID from search results.
Data returned per marketplace:
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 }] }, whereidismarketplace:listingIdfetch(id)— returns full listing details for asearchresult 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
Adding a Marketplace
- Create a new file in
src/marketplaces/ - Extend
BaseMarketplaceand implementsearch()and optionallygetListingDetails() - Add the constructor to
allMarketplacesinsrc/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版本历史
1- v0.6.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分