Unified social media API for AI agents. Access Facebook, Instagram, TikTok, and more.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Unified social media API for AI agents
Website β’ Documentation β’ Discord β’ npm
Official SDKs: Python β’ JavaScript / TypeScript β’ Go
Add to your Claude Desktop config:
macOS:
Windows:
.env file:
| Variable | Description | Default |
|---|---|---|
SOCIALAPIS_API_KEY | Your SocialAPIs API key | None (required) |
MCP_PROXY_URL | MCP proxy server URL | https://mcp.socialapis.io |
PORT | HTTP server port | 3001 |
API_BASE_URL | Backend API URL | https://api.socialapis.io |
YOUR_API_KEY in configRestart Claude Desktop and ask:
47 tools across Facebook and Instagram. Every tool maps 1:1 to a REST endpoint on api.socialapis.io β pricing notes in each tool description indicate per-call credit cost.
facebook_get_page_id β Extract page ID from URLfacebook_get_page_details β Page info, followers, likes, category. Set exact_followers_count=true for the exact integer (charges 5 credits instead of 1)facebook_get_page_posts β Fetch posts with after_time / before_time for date filtering. limit 3-9, charges scale per ceil(returned / 3)facebook_get_page_videos β Page videos, limit 6-12facebook_get_page_reels β Reels / short videosfacebook_get_group_id β Extract group ID from URLfacebook_get_group_details β Full details (members, description, rules)facebook_get_group_posts β Group posts, same limit + date filtering as page postsfacebook_get_group_videos β Group videos with paginationfacebook_get_post_id β Extract post ID from URLfacebook_get_post_details β Reactions, comments count, shares, mediafacebook_get_post_details_extended β Extended fields: view counts (essential for reels / video posts), video URLs, music/audio metadata, author verificationfacebook_get_post_attachments β Full media attachments (5 credits per call)facebook_get_video_details β Video post metadata + statsfacebook_get_post_comments β Top-level comments, limit up to 30facebook_get_comment_replies β Replies to a specific commentfacebook_search_pages β Search pages by keyword + optional location filterfacebook_search_people β Search public profiles by keywordfacebook_search_locations β Look up Facebook location UIDs (for use in other endpoints)facebook_search_posts β Search posts by keyword, recency, locationfacebook_search_videos β Search Facebook Watch videosfacebook_ads_search β Search ads by keyword, country, statusfacebook_ads_page_details β All ads from a specific pagefacebook_ads_archive_details β Full ad archive detailsfacebook_ads_keywords β Search ads by keywordfacebook_ads_countries β List of supported country codesfacebook_marketplace_search β Item search with location, price, category, condition filtersfacebook_marketplace_listing β Single listing detailsfacebook_marketplace_seller β Seller profile + their listingsfacebook_marketplace_categories β Browse category hierarchyfacebook_marketplace_city_coordinates β Lat/long for a city (for radius search)facebook_marketplace_vehicles β Vehicle-specific listing searchfacebook_marketplace_rentals β Rental property listingsfacebook_download_media β Direct download URL for FB media (images, videos)instagram_get_user_id β Resolve username β numeric IDinstagram_get_profile_details β Profile info, follower count, bio, post countinstagram_get_profile_posts β Recent posts from a profileinstagram_get_profile_reels β Reels from a profileinstagram_get_profile_highlights β Story highlights listinstagram_get_highlight_details β Full content of a specific highlightinstagram_get_post_id β Resolve post URL β IDinstagram_get_post_details β Likes, comments, media, captioninstagram_get_reels_feed β Reels feed for a profileinstagram_get_reels_by_audio β Reels using a specific audio/music IDinstagram_popular_search β Trending queries / suggestionsinstagram_get_location_posts β Posts tagged at a specific locationinstagram_get_nearby_locations β Nearby location IDs (for use in location-posts)Track the platform roadmap at socialapis.io/api-sources.
Each prompt below is a real Claude Desktop session. Some of these are single-tool-call patterns ("get me X"); some require Claude to chain multiple calls + aggregate the results (noted where).
Some queries look natural in a chat ("compare engagement over the last month") but require aggregations the API doesn't expose as a single tool yet. Claude can still answer them, but it'll fan out into many tool calls β which is slow + expensive.
| Query shape | Why it's hard |
|---|---|
| "Engagement rate over the last 30 days" for a page | Requires fetching every post in the date range (paginated, limit capped at 9 per call) and computing engagement per post. Hits the LLM tool-call budget on busy pages. |
| "Compare engagement rates between Brand A, B, C over the last month" | Same problem, 3Γ β one paginated fetch per brand, then comparison math. Works for small windows; slow for "last month" on high-volume pages. |
| Historical archive older than what Facebook itself serves | We surface what Facebook makes publicly visible. Posts that scrolled off Facebook's visible feed aren't retrievable. |
| Server-side time-series (daily engagement, weekly growth) | Not yet β on the roadmap as a future engagement-stats endpoint with built-in aggregation. |
If your use case maps to one of these patterns and you want the aggregation pre-computed instead of LLM-orchestrated, contact support with the specific query β we're prioritizing the aggregation endpoint based on customer demand.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/social-media-api)<a href="https://allmcps.com/mcp/social-media-api"><img src="https://allmcps.com/api/badge/social-media-api?style=directory" alt="Social Media API on AllMCPs" /></a>