ScrapingDog MCP Server

ScrapingDog MCP Server

A Model Context Protocol (MCP) server for ScrapingDog API that provides comprehensive web scraping, search engine data extraction, social media scraping, and e-commerce data collection capabilities.

Category
访问服务器

README

ScrapingDog MCP Server

npm version License: MIT

A Model Context Protocol (MCP) server for ScrapingDog API that provides comprehensive web scraping, search engine data extraction, social media scraping, and e-commerce data collection capabilities.

Features

🌐 General Web Scraping

  • HTML Extraction: Scrape any webpage with automatic proxy rotation and CAPTCHA solving
  • JavaScript Rendering: Support for dynamic content with headless Chrome browsers
  • Premium Proxies: Access to 40+ million rotating residential proxies
  • Geo-targeting: Country-specific scraping for localized content

🔍 Search Engine APIs

  • Google Search: Organic results, ads, and related search data
  • Google AI Search: AI-powered search with overview and insights
  • Bing Search: Comprehensive Bing search results
  • Google Maps: Business listings and location data
  • Google News: Real-time news articles and updates

🛒 E-commerce Data Extraction

  • Amazon Products: Product search, details, pricing, and availability
  • Amazon Reviews: Customer reviews and ratings extraction
  • Walmart Products: Product information and pricing data

📱 Social Media Scraping

  • LinkedIn: Profile and company information extraction
  • LinkedIn Jobs: Job listings by location and keywords
  • Twitter/X: Posts, likes, and bookmarks extraction
  • Instagram: Profile and posts data
  • Facebook: Page and profile information

💼 Job Board Integration

  • Indeed: Job listings with advanced filtering options

Installation

Prerequisites

Install from npm

npm install -g scrapingdog-mcp-server

Install from source

git clone https://github.com/nvrunx/scrapingdog-mcp-server.git
cd scrapingdog-mcp-server
npm install
npm run build

Usage

With Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "scrapingdog": {
      "command": "npx",
      "args": ["scrapingdog-mcp-server"]
    }
  }
}

With MCP Client

import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';

const transport = new StdioClientTransport({
  command: 'scrapingdog-mcp-server',
});

const client = new Client({
  name: 'scrapingdog-client',
  version: '1.0.0',
}, {
  capabilities: {},
});

await client.connect(transport);

Available Tools

General Web Scraping

scrape_webpage

Scrape any webpage with advanced features.

{
  "url": "https://example.com",
  "api_key": "your-api-key",
  "dynamic": true,
  "premium": false,
  "country": "US",
  "wait": 3,
  "format": "html"
}

Parameters:

  • url (required): Target URL to scrape
  • api_key (required): Your ScrapingDog API key
  • dynamic: Enable JavaScript rendering (5 credits)
  • premium: Use premium residential proxies (25 credits with dynamic)
  • country: Country code for geo-targeting (US, UK, CA, etc.)
  • wait: Wait time in seconds (1-10)
  • format: Response format (html, json)

Search Engine Tools

google_search

Search Google and get comprehensive results (5 credits).

{
  "query": "artificial intelligence trends 2024",
  "api_key": "your-api-key",
  "country": "US",
  "language": "en",
  "page": 1,
  "num": 10
}

google_ai_search

Get AI-powered search insights (10 credits).

{
  "query": "machine learning applications",
  "api_key": "your-api-key",
  "country": "US",
  "language": "en"
}

bing_search

Search Bing for organic results (5 credits).

{
  "query": "web scraping best practices",
  "api_key": "your-api-key",
  "country": "US",
  "page": 1
}

google_maps_search

Find business listings and locations (5 credits).

{
  "query": "restaurants in New York",
  "api_key": "your-api-key",
  "country": "US",
  "language": "en"
}

google_news_search

Get latest news articles (5 credits).

{
  "query": "technology news",
  "api_key": "your-api-key",
  "country": "US",
  "language": "en",
  "time_range": "d"
}

E-commerce Tools

amazon_product_search

Search Amazon products (1 credit).

{
  "query": "wireless headphones",
  "api_key": "your-api-key",
  "country": "US",
  "page": 1
}

amazon_reviews

Get product reviews (100 credits).

{
  "asin": "B08N5WRWNW",
  "api_key": "your-api-key",
  "country": "US",
  "page": 1
}

walmart_product_search

Search Walmart products (5 credits).

{
  "query": "laptop computers",
  "api_key": "your-api-key",
  "page": 1
}

Social Media Tools

linkedin_profile_scraper

Extract LinkedIn profile data (50-100 credits).

{
  "profile_url": "https://www.linkedin.com/in/username",
  "api_key": "your-api-key"
}

linkedin_company_scraper

Extract LinkedIn company information (50-100 credits).

{
  "company_url": "https://www.linkedin.com/company/company-name",
  "api_key": "your-api-key"
}

linkedin_jobs_search

Search LinkedIn job listings (5 credits).

{
  "query": "software engineer",
  "location": "San Francisco, CA",
  "api_key": "your-api-key",
  "page": 1
}

twitter_post_scraper

Extract Twitter/X posts (5 credits).

{
  "username": "elonmusk",
  "api_key": "your-api-key",
  "count": 20
}

instagram_profile_scraper

Get Instagram profile information (15 credits).

{
  "username": "instagram",
  "api_key": "your-api-key"
}

instagram_posts_scraper

Extract Instagram posts (15 credits).

{
  "username": "natgeo",
  "api_key": "your-api-key",
  "count": 10
}

facebook_scraper

Extract Facebook page data (5 credits).

{
  "url": "https://www.facebook.com/page-name",
  "api_key": "your-api-key"
}

Job Board Tools

indeed_jobs_search

Search Indeed job listings.

{
  "query": "data scientist",
  "location": "Remote",
  "api_key": "your-api-key",
  "country": "US",
  "page": 1
}

Credit System

ScrapingDog uses a credit-based pricing system:

Tool Credits Description
General Web Scraping 1 Basic HTML extraction
JavaScript Rendering +5 Dynamic content rendering
Premium Proxies +20 With JavaScript rendering
Search APIs 5-10 Google, Bing, Maps, News
Amazon Products 1 Product information
Amazon Reviews 100 Customer reviews
Social Media 5-100 Varies by platform and data

Error Handling

The server includes comprehensive error handling:

  • Validation Errors: Input parameter validation using Zod schemas
  • API Errors: ScrapingDog API error responses with status codes
  • Network Errors: Timeout and connection error handling
  • Rate Limiting: Automatic retry logic for rate-limited requests

Development

Setup Development Environment

git clone https://github.com/nvrunx/scrapingdog-mcp-server.git
cd scrapingdog-mcp-server
npm install

Build and Run

# Build TypeScript
npm run build

# Run in development mode
npm run dev

# Run production build
npm start

Testing

# Install MCP Inspector for testing
npx @modelcontextprotocol/inspector scrapingdog-mcp-server

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

Development Guidelines

  1. Follow TypeScript best practices
  2. Add proper error handling for new tools
  3. Include JSDoc comments for all functions
  4. Update README for new features
  5. Test with MCP Inspector before submitting

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Disclaimer

This is an unofficial MCP server for ScrapingDog API. Please ensure you comply with the terms of service of both ScrapingDog and the websites you're scraping. Always respect robots.txt and rate limiting guidelines.


Built with ❤️ by Guddu Kumar

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选