SocialAnalytics -rapidapi
MCP server that provides comprehensive social media analytics and scraping capabilities for LinkedIn, Facebook, Instagram, and web search through RapidAPI integrations
claude mcp add --transport stdio lama-assaf-socialanalytics-mcp-rapidapi uvx run mcp install main.py \ --env RAPIDAPI_KEY="your_rapidapi_key_here" \ --env ENV_CREDS_NOTE="Optional: additional environment variables as needed by the server" \ --env SERPER_API_KEY="your_serper_api_key_here"
How to use
SocialAnalytics is an MCP server that aggregates and exposes social media analytics capabilities across LinkedIn, Facebook, Instagram, and Google search via RapidAPI and Serper APIs. The server provides a collection of analytic tools for each platform, including profile and content analytics, engagement metrics, audience insights, and cross-platform web intelligence. To use it, first install the server in your environment, then start it with the MCP runtime. Once running, you can prompt your AI agent to query the exposed endpoints and tools, such as retrieving profile analytics for a LinkedIn company page, analyzing engagement metrics for an Instagram profile, or performing a Google search that surfaces competitive intelligence data. The server is designed to be invoked through the MCP tooling and responds with structured data streams suitable for AI assistants to synthesize insights.
How to install
Prerequisites:
- Python 3.9+ installed on your system
- Access to RapidAPI and Serper APIs with valid keys
- Git (optional, for cloning the repo)
- MCP runtime tooling (uv) installed
Step-by-step installation:
-
Clone the repository (if applicable) git clone <repository-url> cd SocialAnalytics-MCP-rapidapi
-
Create and activate a Python virtual environment (optional but recommended) python -m venv venv source venv/bin/activate # macOS/Linux .\venv\Scripts\activate # Windows
-
Install MCP dependencies via uv (per project docs) uv sync
This installs: fastmcp, httpx, mcp[cli], python-dotenv, etc.
-
Create and populate environment variables
- Create a .env file in the project root
- Add your API keys: RAPIDAPI_KEY=your_rapidapi_key_here SERPER_API_KEY=your_serper_api_key_here
-
Run the MCP server installation and startup uv run mcp install main.py uv run mcp dev main.py # for development/debugging
-
Verify the server is running and accessible via your MCP tooling
- Use MCP inspector or client tools to call available endpoints and tools
Note: Do not commit the .env file to version control. It should be kept secret.
Additional notes
Tips and common issues:
- Ensure your RapidAPI and Serper API keys are valid and not rate-limited; set them in .env as RAPIDAPI_KEY and SERPER_API_KEY.
- If you encounter MCP installation or runtime issues, restart the MCP runtime and re-run uv run mcp install main.py, then uv run mcp dev main.py for development mode.
- Rate limits: spread requests across the different APIs and consider upgrading RapidAPI subscriptions if you plan to perform high-volume scraping.
- Some data may require public access or specific account permissions on LinkedIn, Facebook, or Instagram; ensure the target profiles/pages are accessible.
- Keep .env out of version control and back it up securely.
Related MCP Servers
jupyter
🪐 🔧 Model Context Protocol (MCP) Server for Jupyter.
mcp -odoo
A Model Context Protocol (MCP) server that enables AI assistants to securely interact with Odoo ERP systems through standardized resources and tools for data retrieval and manipulation.
falcon
Connect AI agents to CrowdStrike Falcon for automated security analysis and threat hunting
beemcp
BeeMCP: an unofficial Model Context Protocol (MCP) server that connects your Bee wearable lifelogger to AI via the Model Context Protocol
MCP-MultiServer-Interoperable-Agent2Agent-LangGraph-AI-System
This project demonstrates a decoupled real-time agent architecture that connects LangGraph agents to remote tools served by custom MCP (Modular Command Protocol) servers. The architecture enables a flexible and scalable multi-agent system where each tool can be hosted independently (via SSE or STDIO), offering modularity and cloud-deployable execut
Helios
An AI IDE secure coding MCP service