
Social Media Api
- 1 repo stars
- Updated June 29, 2026
- SocialAPIsHub/mcp-server
SocialAPIs social-media-api is a MCP server that connects AI agents to a unified Facebook, Instagram, TikTok, and multi-network API behind one API key.
About
SocialAPIs social-media-api MCP gives developers a single integration path to major social platforms so coding agents can draft campaigns, pull metrics, or trigger actions without bespoke OAuth code per network. You configure the @socialapis/mcp npm server with a secret SOCIALAPIS_API_KEY from https://socialapis.io/dashboard and optionally point MCP_PROXY_URL at the hosted proxy. The server is phase-specific to Grow content work: it assumes you are shipping or already live and need distribution muscle, not early idea validation. Compatible with Claude Code, Cursor, and other MCP hosts via stdio. Treat it as a communication integration MCP rather than an SEO or analytics suite—pair it with your own content strategy and compliance review before auto-posting.
- Unified SocialAPIs surface for Facebook, Instagram, TikTok, and additional networks
- stdio npm package @socialapis/mcp with optional MCP_PROXY_URL defaulting to mcp.socialapis.io
- Required SOCIALAPIS_API_KEY from socialapis.io dashboard
- Built for AI agents that automate social workflows from the IDE
- Version 1.0.1 registry entry with GitHub source at SocialAPIsHub/mcp-server
Social Media Api by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
claude mcp add --env SOCIALAPIS_API_KEY=YOUR_SOCIALAPIS_API_KEY --env MCP_PROXY_URL=YOUR_MCP_PROXY_URL social-media-api -- npx -y @socialapis/mcpAdd your badge
Show developers this MCP server is listed on Skillselion. Paste this into your README.
| repo stars | ★ 1 |
|---|---|
| Package | @socialapis/mcp |
| Transport | STDIO |
| Auth | Required |
| Last updated | June 29, 2026 |
| Repository | SocialAPIsHub/mcp-server ↗ |
What it does
Let your agent read and act on Facebook, Instagram, TikTok, and other networks through one SocialAPIs key instead of wiring each platform SDK by hand.
Who is it for?
Best when you're running multi-channel content, community tools, or growth automation and already use SocialAPIs and want MCP access from Claude Code or Cursor.
Skip if: Skip if you're in pure research phase with no accounts, or teams that refuse third-party social API proxies and need only official single-platform APIs.
What you get
After you set SOCIALAPIS_API_KEY and register @socialapis/mcp, your agent can call SocialAPIs-backed tools for cross-platform social workflows from your dev environment.
- Agent-invokable unified social media API operations across supported networks
- Configurable proxy routing via MCP_PROXY_URL (default https://mcp.socialapis.io)
- Stdio MCP wiring ready for local agent sessions
By the numbers
- Registry version 1.0.1 for package @socialapis/mcp
- Required secret environment variable SOCIALAPIS_API_KEY
- Documented platforms include Facebook, Instagram, and TikTok with more via unified API
README.md
SocialAPIs MCP Server
🚀 Quick Start
Installation
npm install -g @socialapis/mcp
Configuration
Add to your Claude Desktop config:
macOS:
nano ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows:
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/mcp
Method 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.io
Environment Variables
| 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 |
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 average
Competitive Analysis
Compare engagement rates between Nike, Adidas, and Puma over the last month
Content 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 serve
Project Structure
mcp-server/
├── src/
│ └── tools.js # Tool definitions
├── mcp-wrapper.js # MCP client (runs locally)
├── server.js # HTTP proxy server
├── package.json
├── Dockerfile
└── README.md
Testing
# 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
Recommended MCP Servers
How it compares
Unified social API MCP bridge, not a copywriting skill or SEO audit checklist.
FAQ
Who is SocialAPIs social-media-api for?
Developers and small teams automating Facebook, Instagram, TikTok, and related networks through AI agents with a single SocialAPIs subscription.
When should I use SocialAPIs MCP?
Use it in Grow when you are executing content, engagement, or lifecycle flows and want your coding agent to call social endpoints without hand-rolling each platform integration.
How do I add SocialAPIs to my agent?
Create an API key at socialapis.io/dashboard, set SOCIALAPIS_API_KEY (and optional MCP_PROXY_URL), then add the @socialapis/mcp stdio server to your MCP client config.
