Facebook Marketplace MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Facebook Marketplace MCPsearch for go kart in Phoenix under $1500"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Facebook Marketplace MCP
A focused Model Context Protocol server for searching Facebook Marketplace from AI agents.
This repo is a hardened, Facebook-only variant inspired by jlsookiki/secondhand-mcp. It keeps the useful Facebook Marketplace search and details flow, removes the eBay/Depop/Poshmark paths, and avoids browser automation entirely.
What It Does
Search Facebook Marketplace listings by query, city, and price range
Get full listing details from a returned listing ID
Return listing title, price, location, seller name when available, URL, description, delivery type, and photo URLs
Prefer exact US city matches when Facebook returns ambiguous locations
Related MCP server: Meta Ads MCP
Safety Defaults
No Facebook login
No Facebook cookies
No Chrome or headless browser automation
No browser profile access
No eBay API keys
No paid APIs
The server only calls Facebook public/internal Marketplace GraphQL endpoints. These endpoints can change, so the tool may need maintenance if Facebook updates its frontend operation IDs.
Install
Requires Node.js 20.18.1+.
npm install
npm run buildMCP Config
Claude Desktop
Add this to your Claude Desktop MCP config:
{
"mcpServers": {
"facebook-marketplace": {
"command": "node",
"args": ["/absolute/path/to/facebook-marketplace-mcp/dist/index.js"]
}
}
}OpenClaw
openclaw mcp add facebook-marketplace \
--command node \
--arg dist/index.js \
--cwd /absolute/path/to/facebook-marketplace-mcp \
--include search_marketplace,get_listing_details,list_marketplacesTools
search_marketplace
Search Facebook Marketplace.
Parameters:
queryrequired: search terms, for examplego kartlocationoptional: city or area, defaultphoenixmaxPriceoptional: maximum priceminPriceoptional: minimum pricelimitoptional: maximum results, default20, Facebook caps one request at24showSoldoptional: include sold/pending/unavailable listingsincludeImagesoptional: include image URLs in search results
Example:
{
"query": "go kart",
"location": "phoenix",
"maxPrice": 1500,
"limit": 5
}get_listing_details
Get full details for one listing.
Parameters:
listingIdrequired: ID fromsearch_marketplace
Example:
{
"listingId": "999433246010406"
}list_marketplaces
Returns the enabled adapter and auth status.
Development
npm install
npm run build
npm audit --omit=devQuick smoke test:
node dist/index.jsUse an MCP client to call search_marketplace with a small limit before increasing scan volume.
Limitations
Facebook can change its internal GraphQL
doc_idvalues without notice.Location matching depends on Facebook's location search results.
Search radius is currently fixed to the same local radius used by the upstream implementation.
Respect Facebook's terms and rate limits. Do not hammer the endpoint.
Attribution
Derived from the Facebook Marketplace implementation in:
https://github.com/jlsookiki/secondhand-mcp
Original project copyright belongs to its author. This repo keeps the MIT license.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityCmaintenanceA Model Context Protocol server enabling product searches across e-commerce platforms, price history tracking, and product specification-based searches using natural language prompts.219MIT
- AlicenseAqualityBmaintenanceA Model Context Protocol server that allows AI models to access, analyze, and manage Meta advertising campaigns, enabling LLMs to retrieve performance data, visualize ad creatives, and provide strategic insights for Facebook and Instagram platforms.371,150Business Source 1.1
- Alicense-qualityBmaintenanceA Model Context Protocol server that lets AI assistants run your Meta Ads end to end — launch campaigns, upload creatives, update budgets, and dig into performance through natural conversation. Works across Facebook, Instagram, and other Meta surfaces.Business Source 1.1
- Flicense-qualityBmaintenanceEnables AI agents like claude.ai to search online marketplaces (e.g., Facebook Marketplace) through your own logged-in browser, returning structured listings and details.
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
Live Google Maps business search, review, and photo data for AI agents over MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/maxaiassistant77/facebook-marketplace-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server