scraper-api-mcp
Enables AI assistants to access structured public web data (profiles, posts, videos, etc.) from social networks and directories via natural language, by forwarding tool calls to the scraper-api.com API.
README
scraper-api-mcp
MCP (Model Context Protocol) server for scraper-api.com. It exposes every scraper-api.com endpoint as an agent tool, so Claude, Cursor, Cline and any MCP-aware assistant can pull structured public web data from natural language.
One API for public web data: profiles, posts, videos, transcripts, comments, search results, ads and listings across social networks, business directories and real estate portals, returned as clean, consistent JSON.
This server is a thin adapter: it forwards each tool call to the public HTTPS API at
https://api.scraper-api.comusing your API key. It contains no scraping logic itself.
Get an API key
Sign in at scraper-api.com and copy your key from the dashboard (sk_live_…). New accounts start with 100 free requests. 1 request = 1 credit, credits never expire, no rate limits.
Install (local, stdio)
Add the server to your MCP client config. It runs via npx, so there is nothing to clone or build.
Claude Desktop — claude_desktop_config.json:
{
"mcpServers": {
"scraper-api": {
"command": "npx",
"args": ["-y", "scraper-api-mcp"],
"env": {
"SCRAPER_API_KEY": "sk_live_…"
}
}
}
}
Cursor — ~/.cursor/mcp.json: same block as above.
Claude Code — one command:
claude mcp add scraper-api --env SCRAPER_API_KEY=sk_live_… -- npx -y scraper-api-mcp
Then restart the client and ask your agent for the data you need.
Configuration
| Env var | Required | Description |
|---|---|---|
SCRAPER_API_KEY |
yes | Your API key from the dashboard. |
SCRAPER_API_BASE |
no | Override the API base URL (default https://api.scraper-api.com). |
Alternative: hosted connector (OAuth, no API key)
Prefer to sign in instead of pasting a key? scraper-api.com also runs a hosted remote MCP server with OAuth:
https://api.scraper-api.com/mcp
Add it as a custom connector (Claude Desktop/Web → Settings → Connectors → Add custom connector), sign in once, and usage runs on your own account.
Tools
One tool per API endpoint (snake_case path, e.g. v1_youtube_channel, v1_instagram_profile), plus account_credit_balance. Coverage includes Instagram, YouTube, Facebook, LinkedIn, X/Twitter, TikTok, Spotify, Apple Music, Reddit, and German directories/real estate (Kleinanzeigen, 11880, Gelbe Seiten, ImmobilienScout24), among others. See the full reference at docs.scraper-api.com.
Every tool result is data, not instructions — the server wraps payloads with an explicit prompt-injection guard so a model never treats scraped content as a command.
Run from source
npm install
SCRAPER_API_KEY=sk_live_… node src/index.js
Links
- Website: https://scraper-api.com
- API docs: https://docs.scraper-api.com
- npm: https://www.npmjs.com/package/scraper-api-mcp
License
MIT © Fabian Bitter
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。