MCP server for searching Facebook Marketplace via Chrome session cookies
MCPpedia last refreshed this data
Facebook Marketplace MCP is an MCP server that MCP server for searching Facebook Marketplace via Chrome session cookies. Its tool list has not been published yet over stdio, requires no API key, and scores 63/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"facebook-marketplace": {
"env": {
"CHROME_PROFILE": "Default"
},
"args": [
"/path/to/facebook-marketplace-mcp/dist/index.js"
],
"command": "node"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
An MCP server that provides access to Facebook Marketplace via direct GraphQL API calls. No browser automation at runtime — speaks Facebook's internal protocol directly.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ecommerce
Which credit card earns the most at a merchant, from your cards or every card, and why.
Read-only MCP servers for Russian marketplaces: prices, stock, ratings, reviews, seller identity
Dutch construction facts with measured accuracy + NL coordination. Never holds third-party funds.
MCP server for EPLAN Electric P8: ~200 tools to drive EPLAN from Claude Code, Codex, Cursor or any MCP client (actions, scripts, live DataModel, exports). Includes the eplan-tools plugin marketplace.
MCP Security Weekly
Get CVE alerts and security updates for Facebook Marketplace MCP and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An MCP server that provides access to Facebook Marketplace via direct GraphQL API calls. No browser automation at runtime — speaks Facebook's internal protocol directly.
Facebook's web client makes all Marketplace requests as POST /api/graphql/ with a doc_id (query hash) and variables. This server replays those requests using your existing Facebook session cookies from Chrome.
Think of it like pypush for iMessage — direct protocol, no browser.
git clone <this-repo>
cd facebook-marketplace-mcp
npm install
npm run build
claude mcp add facebook-marketplace -- node /path/to/facebook-marketplace-mcp/dist/index.js
Or add to your Claude Code config manually:
{
"mcpServers": {
"facebook-marketplace": {
"command": "node",
"args": ["/path/to/facebook-marketplace-mcp/dist/index.js"],
"env": {
"CHROME_PROFILE": "Default"
}
}
}
}
search_listingsSearch Marketplace by query, location, and filters.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | yes | Search term |
latitude | number | yes | Latitude of search center |
longitude | number | yes | Longitude of search center |
radius_km | number | no | Search radius (default: 50) |
min_price | number | no | Min price in dollars |
max_price | number | no | Max price in dollars |
category | string | no | Category ID |
limit | number | no | Max results (default: 20) |
get_listingGet full details for a specific listing.
| Parameter | Type | Required | Description |
|---|---|---|---|
listing_id | string | yes | Marketplace listing ID |
monitor_searchSave a search as a monitor to track new listings over time.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Monitor name |
query | string | yes | Search term |
latitude | number | yes | Search center lat |
longitude | number | yes | Search center lng |
radius_km | number | no | Radius (default: 50) |
min_price | number | no | Min price |
max_price | number | no | Max price |
check_monitorsCheck monitors for new listings since last check.
| Parameter | Type | Required | Description |
|---|---|---|---|
monitor_name | string | no | Check specific monitor, or omit for all |
list_monitorsList all saved monitors.
delete_monitorDelete a saved monitor.
| Env Variable | Default | Description |
|---|---|---|
CHROME_PROFILE | Default | Chrome profile directory name |
Facebook rotates their doc_id values on deploys. If searches stop working:
npm install -D playwright
npx playwright install chromium
npm run capture-queries
This opens a browser, navigates Marketplace, and captures current query IDs. Update src/facebook/queries.ts with the new values.
The server self-rate-limits to 3 requests/minute with random jitter to avoid detection. This means searches take a few seconds.
doc_id values change on Facebook deploys