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.

ParametersJSON Schema
NameRequiredDescriptionDefault
messageNopong

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the key behavioral fact beyond the annotations: the response echoes the input message, which is important given there is no output schema. It does not discuss limits or error behavior, but for a trivial ping this is adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero waste, with the core behavior stated first and the rationale second. Nothing is padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-argument, non-destructive tool with an output schema absent but the return behavior explained in prose, this is nearly complete. The only omission is the parameter's default and length constraint, which are minor for a health-check tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter has no schema description, but the description implies the 'message' argument is what gets echoed. It does not mention the default value ('pong') or the 200-character cap, so it only partially compensates for the gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('health check') plus the concrete behavior ('echoes the message back'), and even gives the reason it exists (confirming the server is reachable). There are no siblings, so no differentiation is needed, and an agent knows exactly what this tool does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description supplies the usage context explicitly: use it 'to confirm the server is reachable.' There are no alternative tools to name, so no exclusions are possible; this is clear context without alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 1 tool updatev0.1.0
    • First observedping

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 issues

Related MCP Connectors

Related MCP Servers