
sharan-kumar-r/custom-mcp-server 是从 https://github.com/sharan-kumar-r/custom-mcp-server. 导入的 MCP 服务器候选
概览
sharan-kumar-r/custom-mcp-server 是从 https://github.com/sharan-kumar-r/custom-mcp-server. 导入的 MCP 服务器候选
概述(AI 翻译)
社交媒体抓取器 - 自定义MCP服务器
一个全面的模型上下文协议(MCP)服务器,提供针对 LinkedIn、Facebook、Instagram 和 Google 搜索功能的社交媒体抓取功能。
什么是MCP?
模型上下文协议(MCP) 是一个开放标准,使 AI 助手能够安全地连接外部数据源和工具。MCP 服务器作为 AI 模型与各种服务之间的桥梁,支持实时数据访问、API 集成和定制工具执行等增强功能。
特色
该服务器为AI助手提供了以下工具:
- LinkedIn 个人资料抓取:提取个人和公司资料数据
- Facebook个人资料抓取:获取公共资料信息
- Instagram 个人资料抓取:获取个人资料数据和基本信息
- Google 搜索:使用 Google Serper API 进行网页搜索
安装
步骤1:将MCP添加到你的Python项目中
我们建议用 UV 来管理你的 Python 项目。
如果你还没创建过UV管理项目,可以创建一个:
步骤2:安装MCP依赖
然后将MCP添加到你的项目依赖中:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Social Media Scraper - Custom MCP Server
A comprehensive Model Context Protocol (MCP) server that provides social media scraping capabilities for LinkedIn, Facebook, Instagram, and Google search functionality.
What is MCP?
Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect with external data sources and tools. MCP servers act as bridges between AI models and various services, allowing for enhanced capabilities like real-time data access, API integrations, and custom tool execution.
Features
This server exposes the following tools for an AI assistant to use:
- LinkedIn Profile Scraping: Extract personal and company profile data
- Facebook Profile Scraping: Fetch public profile information
- Instagram Profile Scraping: Get profile data and basic information
- Google Search: Perform web searches using Google Serper API
Installation
Step 1: Adding MCP to your Python project
We recommend using uv to manage your Python projects.
If you haven’t created a uv-managed project yet, create one:
uv init custom-mcp-server
cd custom-mcp-server
Step 2: Install MCP Dependencies
Then add MCP to your project dependencies:
uv add "mcp[cli]"
This will auto-generate files and folders similar to the project structure mentioned below, also create a .env file to securely store the API keys.
Step 3: Add Project Code
In the files generated look for main.py and copy paste the code given in main.py (repo).
Step 4: Install Additional Dependencies
uv add httpx python-dotenv fastmcp
Environment Configuration
Step 1: API Keys Setup
- RapidAPI Key:
- Sign up at RapidAPI
- Subscribe to the following APIs (Most Important):
- Fresh LinkedIn Profile Data
- Facebook Scraper3
- Instagram Scraper Stable API
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →