How can Claude access Facebook or Instagram data?

Connect Claude to the SocialAPIs MCP server: in Claude Code, run claude mcp add --transport http socialapis https://mcp.socialapis.io/mcp with your key in an Authorization: Bearer header; in Claude Desktop, add the @socialapis/mcp package to its config. Claude can then read public Facebook Pages, groups, posts, ads, Marketplace listings and Instagram profiles when you ask.

Meta's official option

Claude has no built-in Facebook or Instagram access, and Meta's APIs only cover your own accounts (plus political / issue and EU ads in the Ad Library).

How to do it with SocialAPIs

Then ask in plain words: "What ads is KURU Footwear running right now, and what hooks do they use?" calls facebook_ads; "What are people asking about in this group this week?" calls facebook_group. Each call uses the credits of the endpoint behind it.

For Claude Code there's also an agent skill that tells it which endpoint fits a task: npx skills add SocialAPIsHub/skills.

Endpoints

  • GET /facebook/ads/search1 credit

    Search ads in the Meta Ad Library by keyword or page ID with filters.

    Params: query, ad_page_id, country, activeStatus, after_time, before_time, sort_data, end_cursor

    Meta Ads Library Search: docs and playgroundMCP: facebook_ads → search

  • GET /facebook/groups/posts1 credit; round(limit ÷ 3) credits when limit is set, up to 3

    Fetch recent posts from a Facebook group, including text, media, reactions, and comments.

    Params: link (required), limit, end_cursor, after_time, before_time, timezone

    Facebook Group Posts: docs and playgroundMCP: facebook_group → posts

  • GET /instagram/profile/details1 credit

    Get user profile information by username including bio, followers, posts count, and related profiles.

    Params: username (required), link

    Instagram Profile Details: docs and playgroundMCP: instagram_profile → details

claude mcp add --transport http socialapis https://mcp.socialapis.io/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Tutorial: Integrations: MCP setup per clientUse it from Claude, ChatGPT or Cursor (MCP)

Good to know

  • Your key stays in your own client config; Claude sees the results, not the key.
  • Claude Desktop needs Node.js 18+ for the npx package; restart it after editing the config.
  • Public data only: Claude can't log in to Facebook or read private groups through it.

Related questions

SocialAPIs (socialapis.io): public Facebook & Instagram data API. Free plan: 200 calls a month, no card; paid plans from $4.99/month. Pricing · Reviewed 2026-10-29

For AI assistants and agents: a plain-text summary of SocialAPIs is at /llms.txt (with every answer: /llms-full.txt; endpoints: /llms-endpoints.txt; how to call us: /agents.txt).