Facebook MCP Server
Connect your AI agents to HasData's Facebook MCP server. Scrape public profiles, page posts, and engagement counts in structured JSON over streamable HTTP.
https://mcp.hasdata.com/api/mcp?apis=facebook - Transport
- Streamable HTTP
- Auth
- OAuth or API key
- Tools
- 1 Facebook tool
- Price
- 10 credits / call


See the Facebook MCP server in action
Select a sample prompt to inspect the tool it chooses and the JSON payload your agent receives.
Who owns Nike's Facebook page, and what is its website?
Show me a post from Nike's Facebook page.
How many reactions, comments and shares does Nike's "Leave your limits at the surface" post have?
The Facebook tools your agent can call
1 toolTyped parameters, required flags, and structured JSON fields for each tool. Read public profiles and page posts with reaction, comment and share counts.
+ hasdata_facebook_profile_getFacebookProfile Public profile details and page posts 3 params 10 credits
Try| Parameter | Type | Required | Example |
|---|---|---|---|
| handle | string | required | "nike" |
| language | enum | optional | "en" |
| nextPageToken | string | optional | "token from the previous response" |
- profile
- posts
- photos
- pagination
Base calls cost 10 credits. Failed calls are not billed.
One endpoint, any MCP client
A config block for every major MCP client, in its native format. Authenticate with browser OAuth or an x-api-key header.
Claude Code
hasdata-facebook · connected · 1 toolCursor
hasdata-facebook · 1 tool enabledClaude Desktop
hasdata-facebook · connected · 1 toolVS Code / Copilot
hasdata-facebook · running · 1 toolWindsurf
hasdata-facebook · 1 toolCline
hasdata-facebook · 1 toolChatGPT / Agents SDK
hasdata-facebook · 1 tool listedCodex CLI
hasdata-facebook · 1 toolGemini CLI
hasdata-facebook · 1 toolRaw HTTP / curl
{ "tools": [ … 1 item ] }Facebook plus whatever else you need
Name the services in the query string and the server exposes only their tools. Every one draws from the same key and the same balance.
Free on GitHub, paid in hours
Anyone can clone a free MCP to scrape Facebook. Whether that stays free depends on the shape of your project.
A script I run once
A weekly report
A pipeline in production
A feature in my product
One balance, every interface
A flat monthly price against a known credit ceiling. Move up a plan when you outgrow it.
Free
Startup
Basic
RecommendedGrowth
Monthly tool call volume
Custom price based on required volume
Past 20M credits a month, or terms the self-serve plans do not cover. We shape the contract around your workload.
The same data, without the agent
Before you wire it in
Which Facebook profiles can an agent access?
The tool reads publicly available Facebook profiles and Pages. Send a username, with or without @, or a numeric profile ID. Groups and private personal accounts are not supported. HasData is an independent service, not an official Meta integration.
Do I need to connect a Facebook account?
No Facebook password, session cookie or Page administrator token is required. Authenticate with HasData through OAuth or your API key. The tool does not expose private account data or administrator analytics.
Does it return comments or let an agent publish posts?
Posts include reaction, comment and share counts. Comment text and reply threads are not included. The tool reads public data and has no publishing, messaging or advertising-management actions.
How can an agent retrieve more posts?
When the response includes pagination.nextPageToken, send it in the next call with the same handle. Each page is a separate request. The available feed is not a guaranteed complete history of the account.
Why are follower counts returned as text?
Facebook displays follower and following totals as localized strings. The language parameter changes those display strings and labels, while fields such as likesCount remain numeric. It does not translate user-written posts.
Are the playground examples live?
The playground shows recorded response excerpts and illustrative agent summaries. It does not execute the sample prompts. Connect the MCP server to make your own requests.
How does billing work across MCP and the API?
MCP tool calls use the same workspace balance as direct API requests. The tool table shows the applicable rate, and failed requests consume no credits. When the balance runs out, calls stop until the billing cycle renews or the balance is replenished.
Which AI clients can connect?
Use an MCP client that supports Streamable HTTP. The connection section provides client-specific settings. Clients with OAuth can sign in to HasData, while unattended agents can use the x-api-key header.