HasData Facebook

com.hasdataPublished by hasdata.comOfficial publisherv1.0.3Updated Nov 23, 2026

Public Facebook pages and profiles with likes, followers, contact details and posts, as JSON.

The publisher's own server: HasData Airbnb

VerifiedStreamable HTTPWeb executableWeb Search & ScrapingBusiness & Commerce

Overview

AI-generated overview

A hosted HasData MCP server that lets an assistant fetch public Facebook pages or profiles, with contact details and post engagement, as structured JSON.

What you can do
Look up a public Facebook page or profile by handle, @username or numeric id and get its record: name, category, bio, likes, followers, contact details and owner, plus recent photos and the newest post with reactions, comments and shares. Walk a page's feed three posts at a time by passing the nextPageToken from each response until the token runs out. Read the accepted language codes from a resource so pages come back in one of 32 languages.
When to use it
Useful when you need public Facebook page data for research, competitor or brand comparisons, or contact and engagement checks without a Meta developer app or a scraping stack. Not suitable for groups or private personal accounts.
Requirements
A HasData API key, sent as the x-api-key header for the remote endpoint or as the HASDATA_API_KEY environment variable for the npm or PyPI stdio launcher. An MCP client; OAuth sign-in is possible for clients that support it. Network access to the hosted endpoint.
Before you install
Each successful call costs 10 credits; the free tier gives 1,000 credits a month, and paid plans start at $59 a month. A call that finds no page, or a deleted or non-public one, still returns 200 with an error and is billed. Public personal profiles are personal data, so check GDPR, CCPA and Meta terms before storing results. Image URLs are signed and expire. The service is independent of Meta.

How AI overviews are written and checked

Installation

In SourceWeft

  1. Open HasData Facebook in the dashboard and add it to a workspace.
  2. Connect x-api-key credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.hasdata%2Ffacebook/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "hasdata-facebook": {
      "type": "http",
      "url": "https://mcp.hasdata.com/mcp?apis=facebook",
      "headers": {
        "x-api-key": "<YOUR_API_KEY>"
      }
    }
  }
}

README

Facebook MCP Server

A hosted Facebook MCP server that gives Claude, Cursor, Windsurf and any other MCP client one read-only Facebook tool. Look up a public page or profile by its handle and get the page record with its exact like count, contact details and owner, plus the post feed with reactions, comments and shares, all as structured JSON, with no Meta developer app and nothing to host.

It reads public Facebook pages that a signed-out visitor can see. Groups and private personal accounts are out of scope.

1,000 free credits every month, no card required, which is 100 Facebook calls at the 10-credit rate.

https://mcp.hasdata.com/mcp?apis=facebook

[Glama score] [tool contract] [MCP] [Tools]

Contents

What you need

An MCP client and a HasData API key from the dashboard, free to create with no card, and the free tier covers about 100 calls a month at the 10-credit rate. This is a remote server, so the simplest path is a URL and an x-api-key header, with no container to run. A client that only speaks stdio reaches it through a thin launcher, published as @hasdata/facebook-mcp on npm and hasdata-facebook-mcp on PyPI, shown below.

Quick start

The server URL is the same for every client. We run it hands-on in Claude Code and Claude Desktop. The other blocks follow each client's own documented format for a remote server.

FieldValue
URLhttps://mcp.hasdata.com/mcp?apis=facebook
TransportHTTP, streamable
Auth headerx-api-key: HASDATA_API_KEY

Clients with OAuth support can add the same URL as a connector and sign in without putting a key in a config file.

Claude Code
claude mcp add --transport http facebook "https://mcp.hasdata.com/mcp?apis=facebook" \
  --header "x-api-key: HASDATA_API_KEY"
Claude Desktop

Settings, then Connectors, then Add custom connector, then paste https://mcp.hasdata.com/mcp?apis=facebook and sign in.

For the config-file route, Claude Desktop loads only local (stdio) servers, so it reaches a remote server through a stdio launcher. The @hasdata/facebook-mcp package is that launcher, and it reads the key from the environment. Add this to claude_desktop_config.json:

{
  "mcpServers": {
    "facebook": {
      "command": "npx",
      "args": ["-y", "@hasdata/facebook-mcp"],
      "env": { "HASDATA_API_KEY": "YOUR_KEY" }
    }
  }
}

For Python instead of Node, swap the launcher for the PyPI package, which uvx runs without a manual install:

{
  "mcpServers": {
    "facebook": {
      "command": "uvx",
      "args": ["hasdata-facebook-mcp"],
      "env": { "HASDATA_API_KEY": "YOUR_KEY" }
    }
  }
}
Cursor

~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:

{
  "mcpServers": {
    "facebook": {
      "url": "https://mcp.hasdata.com/mcp?apis=facebook",
      "headers": { "x-api-key": "HASDATA_API_KEY" }
    }
  }
}
Windsurf

~/.codeium/windsurf/mcp_config.json. Windsurf calls the field serverUrl, not url:

{
  "mcpServers": {
    "facebook": {
      "serverUrl": "https://mcp.hasdata.com/mcp?apis=facebook",
      "headers": { "x-api-key": "HASDATA_API_KEY" }
    }
  }
}
VS Code

.vscode/mcp.json in the workspace:

{
  "servers": {
    "facebook": {
      "type": "http",
      "url": "https://mcp.hasdata.com/mcp?apis=facebook",
      "headers": { "x-api-key": "HASDATA_API_KEY" }
    }
  }
}

Example prompts

  • How many people like the Nike page, and how many are talking about it this week?
  • Pull the contact details and the confirmed owner of this Facebook page.
  • Read the last ten posts on this page and tell me which got the most shares.
  • Compare the reaction mix on this brand's posts with its competitor's.
  • Is this Facebook page verified, and what category does it list?
  • Walk this page's feed back to the start of the month and list the posts with video.

One call returns the page record and the newest post. Walking the feed takes one more call per three posts, using the token the previous response returns.

Tools

ToolWhat it returns
hasdata_facebook_profile_getFacebookProfileFetches a public Facebook page or profile by handle (username, @username or numeric profile id) and returns page id, name, username, category, bio, exact likes and…. 10 credits a call

One tool, 10 credits per successful call.

Get Facebook profile

hasdata_facebook_profile_getFacebookProfile

A public page or profile, with its feed.

ParameterTypeRequiredNotes
handlestringyesThe username, with or without @, or the numeric id from a profile.php?id=… URL
languagestringLanguage the page is rendered in, one of 32 codes such as en, de, pt or zh-hans
nextPageTokenstringCursor from the previous response, to read the next three posts

The first call returns four blocks. profile is the page record, posts holds the newest post, photos is the strip of recent images, and pagination carries postsPerPage, nextPage and the nextPageToken to continue with.

Every call made with a token returns posts and pagination only, three posts at a time, with a fresh token until the feed ends and the token disappears.

{
  "profile": {
    "id": "100044541544829",
    "pageId": "15087023444",
    "name": "Nike",
    "username": "nike",
    "url": "https://www.facebook.com/nike",
    "category": "Sportswear Store",
    "biography": "Just Do It.",
    "talkingAboutCount": 173971,
    "checkInsCount": 18299,
    "followersCount": "39M followers",
    "followingCount": "24 following",
    "verified": true,
    "website": "nike.com",
    "websiteUrl": "http://nike.com/",
    "phone": "+48 58 881 27 61",
    "owner": { "name": "NIKE, Inc.", "isConfirmed": true },
    "profilePicUrl": "https://scontent.fmex5-1.fna.fbcdn.net/v/t39.30808-1/284964043_10159903868513445_7696353984967674128_n.jpg",
    "coverPhotoUrl": "https://scontent.fmex25-1.fna.fbcdn.net/v/t39.30808-6/285211224_10159903868008445_5477337468887983165_n.png"
  },
  "posts": [
    {
      "id": "1393461115481927",
      "url": "https://www.facebook.com/reel/2166091230582141/",
      "text": "Leave your limits at the surface. #JustDoIt",
      "hashtags": ["#JustDoIt"],
      "timestamp": "2025-09-15T16:01:59.000Z",
      "reactionsCount": 7885,
      "commentsCount": 2461,
      "sharesCount": 1124,
      "reactions": [{ "type": "Like", "count": 6491 }],
      "media": [{ "id": "2166091230582141", "type": "Video" }]
    }
  ],
  "photos": [{ "id": "1095811278580247", "type": "Photo", "image": "https://scontent.fmex22-1.fna.fbcdn.net/v/t39.30808-6/471313661_18515827156020081_2460706748949541958_n.jpg" }],
  "pagination": { "postsPerPage": 3, "nextPage": 2, "nextPageToken": "eyJjdXJzb3IiOiJDZzhPYjNKbllXNXBZMTlqZFhKemIzS…" }
}

Prompts and resources

The server exposes one resource, the accepted values of the single parameter that takes a fixed list. Reading it is cheaper than learning the vocabulary from a rejected call, and it costs no credits.

ParameterValuesWhat it selects
language32Language the page is rendered in. Facebook serves a page in the language of the request, so this changes the localised strings (followersCount, followingCount, category) while the exact figures (likesCount, talkingAboutCount) stay numeric in every language.

Its URI is hasdata://facebook/language.

The list is served without an API key, so a client can read it before a user has signed up.

Errors and failure paths

Plan for these rather than assuming a happy path.

Two of the counts are numbers and two are strings, and that is not a bug. talkingAboutCount and checkInsCount are the exact figures Facebook publishes. likesCount is optional: Facebook stopped showing a page like count in November 2026, so most pages come back without the field, and when it is there it is a number. followersCount and followingCount arrive as the rounded, localised text the page shows, "39M followers" in English and "39 Mio. Follower" when language is de. Compare with the numbers, display the strings.

language changes the strings, not the numbers. category moved from Sportswear Store to Sportbekleidungsgeschäft under de, while talkingAboutCount stayed a number. Pick the language for the reader, not for the maths.

A page that does not exist, was deleted or is not public still answers 200. The response then carries error instead of profile, and the call is billed. Test for profile before you read it. Groups and private personal accounts land here too.

The first page of the feed holds one post, not three. postsPerPage says 3, and pages two onward do return three, but the opening response carries the newest post alone alongside the profile and photos. Count what you got rather than what the field promises.

Later pages drop profile and photos. A call made with nextPageToken returns posts and pagination only. Keep the profile from the first response instead of expecting it again.

The token is the only way forward. nextPage is a page number for your own bookkeeping, and there is no parameter that takes it. Pass the previous nextPageToken unchanged, and stop when a response arrives without one.

Contact details are what the page shows to the request, not a canonical record. A global brand page can surface a regional phone number, and website is the display text while websiteUrl is the link. Read owner.isConfirmed before you treat the owner name as verified.

Image URLs are Facebook CDN links with signed parameters. They expire. Fetch what you need promptly and store the file, not the URL.

Results that carry data also carry a requestMetadata.id worth quoting in support.

Pricing, free tier and limits

The Facebook tool costs 10 credits per successful call. Response size does not change the price, and a page of the feed costs the same as the opening call, so a thirty-post read is one call plus ten more.

The free tier is 1,000 credits every month with no card, which is 100 Facebook calls at the base rate. It renews with the billing cycle, so a low-volume agent runs on the free tier indefinitely.

Paid plans start at $59 a month for 200,000 credits, which is 20,000 calls. The unit price falls with volume, from $2.95 per 1,000 calls on the entry plan to $1.19 on Basic and $0.83 across the Growth tiers. Current figures live on the pricing page.

Your plan also sets concurrency. The free tier allows 5 requests at a time, Startup 5, Basic 15, and the Growth tiers run from 50 to 500. Retry on the 429 with a backoff in anything unattended, because an agent that enriches a list of pages will reach the ceiling before you do.

A request that comes back non-200 is not billed. A successful call that finds no page is still a call.

How it compares

Meta's Graph API is the official route to page data, and it is built for a different situation.

Meta Graph APIThis server
EligibilityA Meta developer app, an access token, and App Review for pages you do not manageAn API key
Pages you can readYour own pages in full, others only through reviewed permissionsAny public page or profile
SetupApp creation, permissions, token handling, reviewOne header
Post reactionsPer-type counts on pages you managePer-type counts on any public page
Language of the recordYour app's localeAny of 32, per call
CostFree within rate limitsPaid past the free tier, 10 credits a call

The row that decides it is which pages you can read. The Graph API is the right tool for pages you administer, and its Page Public Content Access permission for everything else needs a business verification and a review with a stated use case. When the page is yours, use the Graph API, it is free and complete.

FAQ

Is there an official Facebook MCP server?

Meta does not publish one for reading public pages. This one is maintained by HasData and reads public Facebook pages.

What is a Facebook MCP server?

An MCP server exposes tools an AI client can call. This one turns a public Facebook page and its feed into JSON an agent can reason over, without a browser or a scraping library in your stack.

Do I need a Facebook account or a Meta developer app?

No. The only credential is your HasData key.

Can I read a personal profile or a group?

A public personal profile works the same way as a page. Private accounts and groups are not supported and come back with the not-available error.

Can I pass a numeric id instead of a username?

Yes. Both the id and the pageId a response returns resolve as handle, so a page reached once by name can be tracked by id afterwards.

How do I read the whole feed?

Call once with the handle, then keep calling with the nextPageToken from each response until a response arrives without one. Three posts come back per token.

Why is followersCount text while talkingAboutCount is a number?

Because that is how Facebook publishes them. The talking-about count and the check-ins count are exact on the page, and the follower count is shown rounded and localised. The response passes both through as they are. The page like count is a different story: Facebook stopped showing it in November 2026, so likesCount is absent on most pages now and arrives as a number only where the page still carries one. Per-post Like reactions are unaffected and sit in each post's reactions array.

Can I use this together with other HasData APIs?

Yes. One key covers everything, and one endpoint serves them all through the apis parameter. Point a client at ?apis=facebook,instagram to get both tool sets in one connection, or at mcp.hasdata.com/mcp for the full catalogue.

Is HasData affiliated with Meta or Facebook?

No. HasData is an independent service and is not affiliated with, endorsed by, or sponsored by Meta. Facebook is a trademark of its respective owner. The tools work with publicly available data only, and you are responsible for using the results in line with Meta's terms and the law that applies to you.

Compliance and personal data

A page record for a business is a business record, and a public personal profile is personal data in the plainest sense, with a name, a photo, a bio and a public feed. The tool does not tell the two apart, so your purpose has to. Keep to what your use case needs, do not build profiles of individuals you have no business with, and check your obligations under the GDPR, the CCPA and Meta's terms before storing anything. Contact details on a page are published for customers, and marketing to them is regulated separately again.

HasData links

Other HasData MCP servers: Instagram, TikTok, YouTube, Google Search, Google Images, Google Scholar, Google Maps, Google Trends, Google Flights, Bing, DuckDuckGo, Amazon, Walmart, Shopify, Yelp, Yellow Pages, Zillow, Redfin, Airbnb, Booking.com, Indeed, Glassdoor, Web Scraping.

Development

The launcher is a thin stdio bridge to the remote server, so there is nothing to build.

npm install
HASDATA_API_KEY=your_key_here npm test

The tests in test/ assert the tool contract, the part that can break without a commit here. They check that ?apis=facebook returns the one expected tool, that its name has not changed, that it still requires handle and carries a description, that language still offers the codes this README names, and that the key in use is actually accepted.

One test reads a live page and asserts the two things this README leans on: that talkingAboutCount is a number rather than display text (and likesCount too, whenever the page still carries one), and that pagination.nextPageToken arrives, because without the token the feed walk this README documents does not exist. That call costs 10 credits, which is the price of a canary that can fail for the right reason.

The contract suite also runs weekly on a schedule, because the upstream tool list can change without anyone touching this repository.

Contributing

A tool table, a response sample or a documented behaviour that does not match reality is worth an issue. There is a template for exactly that. Pull requests are welcome for the same, and for anything in the launcher.

License

MIT, see LICENSE.

Source: README.md at commit 23cd5f5

Tools

0
SourceWeft has not read this server's tools yet.

Version history

3
  1. v1.0.3LatestSep 24, 2026
  2. v1.0.2Sep 22, 2026
  3. v1.0.1Sep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

How this score is calculated

Other Hasdata integrations