SocialAPIs MCP Server
OfficialProvides tools to retrieve Facebook page details, posts, reels, group information, and post comments via the SocialAPIs unified API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SocialAPIs MCP ServerGet Nike's Facebook page details"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SocialAPIs MCP Server

Unified social media API for AI agents
Website β’ Documentation β’ Discord β’ npm
π Quick Start
Installation
npm install -g @socialapis/mcpConfiguration
Add to your Claude Desktop config:
macOS:
nano ~/Library/Application\ Support/Claude/claude_desktop_config.jsonWindows:
notepad %APPDATA%\Claude\claude_desktop_config.jsonπ§ Configuration
Method 1: Command Line Argument (Recommended for Claude Desktop)
{
"mcpServers": {
"socialapis": {
"command": "npx",
"args": ["-y", "@socialapis/mcp", "YOUR_API_KEY"]
}
}
}Method 2: Environment Variable
# Set environment variable
export SOCIALAPIS_API_KEY=your_api_key_here
# Run without argument
npx @socialapis/mcpMethod 3: .env File (For Development)
# Copy example file
cp .env.example .env
# Edit with your values
nano .env.env file:
SOCIALAPIS_API_KEY=your_api_key_here
MCP_PROXY_URL=https://mcp.socialapis.ioEnvironment Variables
Variable | Description | Default |
| Your SocialAPIs API key | None (required) |
| MCP proxy server URL |
|
| HTTP server port |
|
| Backend API URL |
|
Get API Key
Sign up at socialapis.io
Go to Dashboard
Copy your API key
Replace
YOUR_API_KEYin config
Test It
Restart Claude Desktop and ask:
Get Nike's Facebook page detailsπ Features
π Unified API - One interface for multiple platforms
π€ AI-First - Built for Claude, Cursor, and AI agents
π Rich Data - Posts, comments, engagement metrics
π Advanced Filtering - Time ranges, pagination
π― Simple Auth - No OAuth complexity
β‘ Fast - Global edge network
π Secure - API keys stay local
π οΈ Available Tools
Facebook Pages
facebook_get_page_id- Extract page ID from URLfacebook_get_page_details- Get page info, followers, likesfacebook_get_page_posts- Fetch posts with time filteringfacebook_get_page_reels- Get reels/short videos
Facebook Groups
facebook_get_group_id- Extract group ID from URLfacebook_get_group_details- Get group metadatafacebook_get_group_posts- Fetch group posts
Facebook Posts
facebook_get_post_id- Extract post ID from URLfacebook_get_post_details- Get reactions, comments, sharesfacebook_get_post_attachments- Get media attachmentsfacebook_get_video_details- Get video metadatafacebook_get_post_comments- Fetch comments with pagination
More platforms coming soon: Instagram, TikTok, YouTube, Twitter
π‘ Usage Examples
Brand Monitoring
Monitor Nike's Facebook page and alert me if engagement drops below averageCompetitive Analysis
Compare engagement rates between Nike, Adidas, and Puma over the last monthContent Strategy
What types of posts get the most engagement on Coca-Cola's Facebook page?Sentiment Analysis
Analyze comments on our recent posts and identify common themesποΈ Architecture
Claude Desktop
β
@socialapis/mcp (local MCP client)
β
https://mcp.socialapis.io (global proxy)
β
https://api.socialapis.io (data API)Why this architecture?
β Low latency (global edge network)
β High reliability (99.9% uptime)
β Auto rate limiting
β Smart caching
β Your API key stays local
π§ Development
Local Setup
# Clone repository
git clone https://github.com/SocialAPIsHub/mcp-server.git
cd mcp-server
# Install dependencies
npm install
# Run MCP client
npm start YOUR_API_KEY
# Run HTTP proxy server
npm run serveProject Structure
mcp-server/
βββ src/
β βββ tools.js # Tool definitions
βββ mcp-wrapper.js # MCP client (runs locally)
βββ server.js # HTTP proxy server
βββ package.json
βββ Dockerfile
βββ README.mdTesting
# Test MCP client locally
node mcp-wrapper.js YOUR_API_KEY
# Test HTTP proxy
curl http://localhost:3001/health
curl http://localhost:3001/tools
# Test specific tool
curl -X POST http://localhost:3001/proxy \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tool":"facebook_get_page_details","arguments":{"link":"https://facebook.com/nike"}}'π Pricing
Plan | Requests/Month | Price |
Free | 200 | $0 |
Starter | 30,000 | $49 |
Pro | 120,000 | $179 |
Enterprise | Unlimited | Custom |
π€ Contributing
We welcome contributions! Please see CONTRIBUTING.md for details.
Quick Contribution Guide
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
π Documentation
π¬ Support
π§ Email: support@socialapis.io
π¬ Discord: discord.gg/socialapis
π Issues: GitHub Issues
π Docs: docs.socialapis.io
πΊοΈ Roadmap
Facebook API support
MCP server implementation
HTTP proxy server
npm package published
Instagram support
TikTok support
YouTube support
Twitter/X support
Real-time webhooks
Advanced analytics
Python SDK
LangChain integration
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
Built with Model Context Protocol
Powered by Anthropic Claude
Inspired by the AI agent community
π Star History
Made with β€οΈ by the SocialAPIs Team
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SocialAPIsHub/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server