Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Facebook MCP Server

MCP server by luminarylane Verified · npm:@luminarylane

Facebook Pages MCP Server gives AI assistants read and write access to Facebook Pages through the Graph API. It can read insights, comments and the Page feed, create and delete posts, and reply to comments. It suits people who manage Facebook Pages with Claude Desktop or other MCP clients.

  • Score 68
  • 0 stars
  • 85 a week
  • MIT
  • Updated

Install Facebook MCP Server

Built from the published package, never by AI.

claude mcp add facebook-mcp-server -- npx -y @luminarylane/facebook-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Facebook MCP Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the facebook-mcp-server block.

About

Facebook Pages MCP Server is a Model Context Protocol server for the Facebook Graph API, focused on Pages. It lets Claude Desktop and other MCP clients read Page-level and post-level insights, comments and the Page feed. It can also create text, link, photo or video posts, reply to comments, and delete posts the Page published.

The server uses stdio transport and calls Graph API v21.0. It includes a built-in token-bucket rate limiter, automatic exponential backoff on 429 errors with up to 3 retries, and input sanitization against prompt injection. Errors return structured messages with action hints for agents. It is written in TypeScript, published on npm, and released under the MIT license. It is aimed at people who manage Facebook Pages with an AI assistant.

Written from the project's README and checked against it.

Tools it gives your assistant

  • fb_get_page_insightsReturns Page-level metrics such as impressions, reach, engagements and follower count.
  • fb_get_post_insightsReturns post-level metrics such as impressions, clicks and reactions.
  • fb_get_commentsLists comments on a post with author info, likes and replies.
  • fb_get_page_feedLists published posts with permalinks, shares and timestamps.
  • fb_create_postCreates text, link, photo or video posts, with optional first-comment support for CTAs.
  • fb_reply_commentReplies to a comment on a post.
  • fb_delete_postDeletes a post the Page published.

What you need

  • Node.js 22.14 or later
  • A Facebook Page Access Token
  • A Facebook Page ID

Try asking

  • Show me the reach and engagement insights for my Facebook Page this month.
  • Get the comments on my latest post and reply to any unanswered questions.
  • Create a Facebook post with this link and a first comment with the call to action.

Good to know

  • Rate limited to 200 calls per hour globally and 25 publishes per day.
  • Retries on 429 responses are capped at 3.
  • Covers the Facebook Pages API only.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Facebook MCP Server

All alternatives →
OpenSEO every-app
100

Provides keyword research, site audits, rank tracking and AI visibility checks through an MCP server for AI assistants. It is aimed at people who find tools like Semrush and Ahrefs too expensive or bloated.

AAA Remote 30k
SEO Skill iannuttall
94

Analyzes Google Search Console, Google Analytics and keyword data so your AI agent can find SEO and AI search gaps. Built for SaaS and B2B teams using Claude Code, Codex, ChatGPT or Cursor.

AAA Local and remote 7.3k/wk
NotFairnowork-studio
93

NotFair is an open-source plugin of SEO, GEO, and marketing skills for AI agents. It also registers one hosted NotFair MCP connection that uses OAuth. It is for marketers and site owners who work with Claude Code, Codex, Cursor, Gemini CLI, and similar agents.

AAA Remote 4.4k
Elmo elmohq
92

Connects AI clients to Elmo, an open-source platform that tracks how AI answer engines mention and cite a brand. It lets assistants read visibility data and manage tracked prompts. It is aimed at marketing, SEO, and agency teams doing answer engine optimization.

AAA Remote 772
Clipwright.io seocombat
91

Clipwright.io turns a script or short brief into a short video, either a talking-actor ad or a faceless video. The assistant gets a free price quote before each render and receives a video URL back.

AAC Local and remote 2.8k/wk
New-Term Radarzhuyansen
91

Reports new AI model, product, tool and repo names as they start to surge, with the generic search terms people use for them. Built for people who make SEO pages, newsletters or directories around new AI terms.

AAA Local 2.3k

Compare with OpenSEO, SEO Skill or NotFair

Facebook MCP Server: common questions

Which Facebook data can the server read?

It reads Page-level and post-level insights, comments on posts, and the Page's published feed through the Graph API. Insights include impressions, reach, engagements, clicks and reactions.

How does the server handle rate limits?

It has a built-in token-bucket rate limiter set to 200 calls per hour globally and 25 publishes per day. It retries 429 responses with exponential backoff, up to 3 retries.

Does the server guard against prompt injection?

Yes. The source says input is sanitized against prompt injection, including zero-width characters, whitespace abuse and context flooding.

How do I install Facebook MCP Server?

In Claude Code run claude mcp add facebook-mcp-server -- npx -y @luminarylane/facebook-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Facebook MCP Server the official server?

Facebook MCP Server is published by npm:@luminarylane from its verified domain in the official MCP Registry.

Is Facebook MCP Server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Facebook MCP Server safe to use?

It scores 68 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Facebook MCP Server?

Similar MCP servers: OpenSEO, SEO Skill, NotFair, Elmo.

Does Facebook MCP Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Facebook MCP Server Install

Add to stack

Loading.