by jlsookiki
Facebook Marketplace MCP server that also searches eBay, Depop and Poshmark. Works with Claude Desktop, Claude Code and other MCP clients.
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/jlsookiki/secondhand-mcpGuides for using mcp servers skills like 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 repo | Cloud | |
|---|---|---|
| Claude Desktop, Code, Cursor | ✅ | ✅ |
| ChatGPT, Claude, and other assistants | — | ✅ |
| Searching from your phone | — | ✅ |
| Chrome running in the background | needed | not needed |
| Price | free, forever | free tier, then $4.99 |
| Marketplace | Auth Required | Notes |
|---|---|---|
| Facebook Marketplace | No | Location-based search |
| eBay | Yes (API keys) | Official Browse API |
| Depop | No | Requires Chrome installed |
| Poshmark | No | No browser needed |
| SidelineSwap | No | Used sporting gear; opt-in via MARKETPLACES |
| Play It Again Sports | No | New and used sporting goods from store inventory; opt-in via MARKETPLACES |
| Geartrade | No | Used outdoor and ski gear; opt-in via MARKETPLACES |
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"
}
}
}
}
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 and Depop are optional — if eBay API keys are missing or Chrome isn't installed, that marketplace is automatically disabled and the rest still work.
Depop requires a headless browser. If Google Chrome or Chromium is installed on your system, it is automatically enabled — no config needed. If Chrome isn't found, it is silently skipped.
On macOS, the first time you search Depop, 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.
By default Facebook, eBay, Depop and Poshmark are enabled. To choose which are active, set the MARKETPLACES env var (comma-separated):
{
"env": {
"MARKETPLACES": "facebook,ebay"
}
}
Valid values: facebook, ebay, depop, poshmark, sidelineswap, playitagain, geartrade
SidelineSwap, Play It Again Sports and Geartrade are only enabled when listed here.
eBay uses the official Browse API. You need a free eBay developer account:
EBAY_CLIENT_ID and EBAY_CLIENT_SECRETBy 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:
| Value | Site |
|---|---|
EBAY_US |
ebay.com (default) |
EBAY_DE |
ebay.de |
EBAY_GB |
ebay.co.uk |
EBAY_AU |
ebay.com.au |
EBAY_FR |
ebay.fr |
EBAY_IT |
ebay.it |
EBAY_ES |
ebay.es |
EBAY_CA |
ebay.ca |
The full list is available in the eBay API docs.
search_marketplaceSearch for items across marketplaces.
| Parameter | Required | Default | Description |
|---|---|---|---|
query |
Yes | Search terms | |
marketplace |
No | facebook |
facebook, ebay, depop, poshmark, sidelineswap, playitagain, geartrade, or all |
location |
No | san francisco |
City to search in (Facebook only) |
radiusMiles |
No | 25 |
Search radius in miles, up to 500 (Facebook only) |
maxPrice |
No | Maximum price (Play It Again Sports: US stores only) | |
minPrice |
No | Minimum price (Play It Again Sports: US stores only) | |
limit |
No | 20 |
Max results |
showSold |
No | false |
Include sold items (Facebook, SidelineSwap) |
includeImages |
No | false |
Include image URLs in output |
sort |
No | relevance |
Sort order (Poshmark, SidelineSwap, Play It Again Sports; Depop: price sorts only; Geartrade: relevance and price only): relevance, newest, most_popular, price_low_to_high, price_high_to_low |
condition |
No | Item condition. eBay: new or used only; a finer grade counts as used. Poshmark: new (with tags), like_new, good, fair. SidelineSwap and Play It Again Sports: new, used. Geartrade: new, excellent, good, fair, used |
|
category |
No | Product category. SidelineSwap: numeric ID, e.g. 110030 (goalie masks). Geartrade: exact product type, e.g. Alpine Skis w/ Bindings. Poshmark: Jackets_&_Coats, Dresses, Shoes, Accessories, etc. |
|
brand |
No | Brand filter (Poshmark, Geartrade): e.g. "Nike", "Levi's", "Gucci" |
|
department |
No | Department (Poshmark only, added to the search words): Women, Men, Kids |
|
sizes |
No | Size filter (Poshmark, Geartrade): e.g. ["S", "M", "L"] or ["US 9", "US 10"] |
|
colors |
No | Color filter (Poshmark only): black, white, red, blue, green, yellow, orange, pink, purple, brown, grey, cream, multi, silver, gold |
Data returned per marketplace:
| Field | eBay | Depop | Poshmark | |
|---|---|---|---|---|
| Title | Yes | Yes | Yes | Yes |
| Price | Yes | Yes | Yes | Yes |
| Location | City | City, State | — | — |
| Condition | — | Yes | — | Yes |
| Photo count | 1 thumbnail | 1 thumbnail | 1 thumbnail | 1 thumbnail |
| Seller | Yes | Yes | — | Yes |
| Shipping cost | — | Cheapest, with delivered total | — | — |
get_listing_detailsGet full details for a specific listing using an ID from search results.
| Parameter | Required | Default | Description |
|---|---|---|---|
listingId |
Yes | Listing ID from search results; for eBay also a listing link or a Share link (ebay.us, ebay.io) |
|
marketplace |
No | facebook |
facebook, ebay, depop, poshmark, sidelineswap, playitagain, or geartrade; not needed for an eBay link or an id like ebay:123 |
options |
No | eBay only: the options wanted from a listing sold in several, e.g. {"Size": ["L"]} |
Data returned per marketplace:
| Field | eBay | Depop | Poshmark | |
|---|---|---|---|---|
| Title and price | Yes, with the price before a drop | — | — | — |
| Condition | Yes | — | — | — |
| Date listed | Yes | — | — | — |
| Sold or pending | Yes | — | — | — |
| Description | Yes | Yes | Yes | Yes |
| All photos | Yes | Yes | Yes | Yes |
| Location | City | City, State, Country | — | — |
| Seller | Name | Username | Username | Username |
| Brand | — | — | Yes | — |
| Delivery types | Yes | — | — | — |
| Shipping | Yes/No | Cost per service | Yes/No | Always included |
An eBay listing sold in several options (sizes, colours) also shows what the options differ by, every value they come in, the price range and a few options with their own price and link.
list_marketplacesList 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:listingIdfetch(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.
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_MARK
secondhand-mcp is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by jlsookiki. Facebook Marketplace MCP server that also searches eBay, Depop and Poshmark. Works with Claude Desktop, Claude Code and other MCP clients. It has 111 GitHub stars.
secondhand-mcp's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/jlsookiki/secondhand-mcp" and add it to your Claude Code skills directory (see the Installation section above).
secondhand-mcp is primarily written in TypeScript. It is open-source under jlsookiki on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh secondhand-mcp against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars