Skip to main content
Glama

fb-marketplace-mcp

MCP server. Lets Claude search Facebook Marketplace, vet sellers, flag scams, check prices, and prep listings.

Status: work in progress. Only a ping tool works today. Do not install expecting features yet.

Read this first

Facebook has no public API for Marketplace search or personal listings. This server talks to Facebook the way a browser does. Automated access is against Meta's Terms of Service. Use it at your own risk.

  • Search runs logged out. No account involved.

  • Seller detail and listing prefill use your own logged-in browser. That can trigger checkpoints or restrictions on your account.

  • The server never clicks Publish. You do.

  • The server never sees or stores your password. You log in yourself in a real browser window.

  • Facebook changes its internals often. Expect breakage.

Related MCP server: Facebook Marketplace MCP

Planned tools

Tool

Does

Needs login

search_listings

Multi-phrasing search, strict filters, risk score per result

no

get_listing

Full listing detail plus risk flags with reasons

no

get_seller

Seller profile, trust summary, other listings

maybe

check_price

Comparable listings: median, range, confidence

no

validate_listing_draft

Check draft against Marketplace commerce policies

no

prefill_listing

Fill the Create Listing form, stop before Publish

yes

login

Open a browser window for manual login

n/a

Design

  • Local only. Runs over stdio on your machine. Cookies never leave it.

  • Fixed rate limit, about 1 request per 2-3 s. Not configurable on purpose.

  • Listing text from sellers is untrusted. Returned as labeled data, never as instructions.

  • Diagrams: open docs/diagrams.html in a browser.

Develop

Needs Node 22.12+.

npm install
npm test          # unit + contract tests, never hits Facebook
npm run lint
npm run inspect   # build, then open MCP Inspector

Add to Claude Code:

npm run build
claude mcp add fbm -- node "$PWD/dist/index.js"

Credit

Facebook endpoint research draws on secondhand-mcp (MIT).

License

MIT

Available Tools

1 tool
pingPingA
Read-only

Health check. Echoes the message back so you can confirm the server is reachable.

Inputs: message.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only a single tool, there is no possibility of overlap or confusion between tools. The lone 'ping' tool has an unambiguous health-check purpose.

    Naming Consistency4/5

    A single tool named 'ping' is trivially consistent since there is no set to be inconsistent with. It is a bare verb rather than a verb_noun pattern, but no convention violation occurs.

    Tool Count1/5

    One trivial health-check tool is an extreme mismatch for a server purporting to serve Facebook Marketplace. There is essentially no functional surface beyond a reachability check.

    Completeness1/5

    The domain (Marketplace listings, search, messaging, etc.) is entirely uncovered; the only operation is a ping. An agent could not perform or even probe any marketplace task with this tool set.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers