secondhand
MCP server for searching secondhand marketplaces — Facebook Marketplace, eBay, and Depop. Works with Claude Desktop, Claude Code, and other MCP clients.
claude mcp add --transport stdio jlsookiki-secondhand-mcp npx -y secondhand-mcp \ --env EBAY_CLIENT_ID="your-ebay-client-id" \ --env EBAY_CLIENT_SECRET="your-ebay-client-secret"
How to use
Secondhand MCP is an MCP server that enables AI assistants to search multiple secondhand marketplaces (Facebook Marketplace, eBay, Depop, and Poshmark) for used items. It supports filtering by price, category, condition, size, and color, and can return listings with photos, descriptions, and seller information. The server is designed to work with Claude Desktop, Claude Code, Cursor, and any MCP-compatible client. You can selectively enable marketplaces via environment variables and provide your own eBay API credentials to unlock the official eBay Browse API. To use the server, configure it in your MCP client to point at the secondhand-mcp package and supply required credentials if you want to use eBay.
Once configured, you can issue tools like search_marketplace to query across marketplaces, get_listing_details to fetch full details for a specific listing, and list_marketplaces to inspect which marketplaces are enabled. For Depop and Poshmark, a headless Chrome/Chromium is required; if Chrome isn’t installed, those marketplaces are skipped automatically. eBay requires valid API keys, and you can limit active marketplaces with the MARKETPLACES environment variable.
How to install
Prerequisites:
- Node.js and npm (recommended LTS)
- Git
- Optional: Google Chrome/Chromium for Depop and Poshmark (headless browser support)
Installation steps:
# 1) Ensure prerequisites are installed
# - Node.js and npm: https://nodejs.org/
# - Git: https://git-scm.com/
# 2) Clone the MCP server repository (or install via npm if published)
git clone https://github.com/jlsookiki/secondhand-mcp.git
cd secondhand-mcp
# 3) Install dependencies
npm install
# 4) Build the project (if required by the project setup)
npm run build
If you prefer to run directly via npx (as shown in the configuration), ensure the package is published as secondhand-mcp on npm and then enable it in your MCP client as described in the mcp_config section.
Additional notes
Tips and notes:
- By default, all marketplaces are enabled. To limit active marketplaces, set MARKETPLACES to a comma-separated list: e.g., {"env": {"MARKETPLACES": "facebook,ebay"}}.
- eBay requires a client ID and client secret from a developer account. These should be provided as EBAY_CLIENT_ID and EBAY_CLIENT_SECRET in your MCP config.
- Depop and Poshmark require a headless browser. If Chrome/Chromium is installed, they are automatically enabled; otherwise they are skipped. On macOS, you may be prompted to allow Node.js to control Chrome the first time you search Depop or Poshmark.
- Depop/Poshmark searches may be slower due to browser automation (~several seconds per search).
- The project includes guidance on adding new marketplaces by extending BaseMarketplace and updating index files. If you need to support additional marketplaces, follow the development steps in the README.
Related MCP Servers
Pare
Dev tools, optimized for agents. Structured, token-efficient MCP servers for git, test runners, npm, Docker, and more.
mcp-libsql
Secure MCP server for libSQL databases with comprehensive tools, connection pooling, and transaction support. Built with TypeScript for Claude Desktop, Claude Code, Cursor, and other MCP clients.
openalex-research
MCP server for the OpenAlex API — search 240M+ scholarly works, analyze citations, track research trends, and map collaboration networks
web-research-assistant
MCP server for SearXNG with 13 production-ready tools for web search, package info, GitHub integration, error translation, API docs, and more
philidor
MCP server for DeFi vault risk analytics. Search 700+ vaults, compare risk scores, analyze protocols. No API key needed.
mcp-tidy
CLI tool to visualize and manage MCP server configurations in Claude Code. List servers, analyze usage statistics, and clean up unused servers