WA

webscraping-ai/webscraping-ai-mcp-server

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

45 stars 15 forks 品質 76 トレンド 20

webscraping-ai/webscraping-ai-mcp-serverは[[https://github.com/webscraping-ai/webscraping-ai-mcp-server.からインポートされたMCPサーバー候補です

概要

webscraping-ai/webscraping-ai-mcp-serverは[[https://github.com/webscraping-ai/webscraping-ai-mcp-server.からインポートされたMCPサーバー候補です

概要(AI 翻訳)

ゼロセットアップの準備? ホストされているリモートMCPサーバーを使用します。 MCP クライアントに https://mcp.webscraping.ai/mcp を追加し、サインイン ウェブスクレイピング AIアカウント — OAuth は、auth、API キー、ローカルインストールを処理します。 必要な。 このリポジトリは、セルフホスト用のオープンソースのstdioバージョンであり、 カスタマイズ。

と統合するモデルコンテキストプロトコル(MCP)サーバーの実装 Webデータ抽出機能のためのWebScraping.AI — クロム JavaScript のレンダリング、回転 datacenter/residential/stealth のプロキシ、 どのページでもAIを活用した質問に答えて構造化したフィールド抽出。

サインアップして、APIキーを無料で入手できます。 トライアル、クレジットカードは必要ありません。 詳細はこちら フルパラメータ参照用の API ドキュメント。

##特徴

  • Webページのコンテンツに関する質問
  • ウェブページから構成されたデータ抽出
  • JavaScript レンダリングで HTML コンテンツ検索
  • ウェブページからテキスト抽出をプレーン
  • CSSセレクターベースのコンテンツ抽出
  • Googleの検索結果(SERP)は、選択した場所から、通話あたりの最大5ページまでのJSONを解析
  • 通常のURLから任意の公開Webページのための構造JSON
  • 国の選択と複数のプロキシタイプ(データセンター、住宅、ステルス)

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

WebScraping.AI MCP Server

Prefer zero setup? Use the hosted remote MCP server: add https://mcp.webscraping.ai/mcp to your MCP client and sign in with your WebScraping.AI account — OAuth handles auth, no API key or local install needed. This repo is the open-source stdio version for self-hosting and customization.

A Model Context Protocol (MCP) server implementation that integrates with WebScraping.AI for web data extraction capabilities — Chromium JavaScript rendering, rotating datacenter/residential/stealth proxies (or auto to try them in turn), and AI-powered question answering and structured field extraction on any page.

Sign up to get an API key — a free trial, no credit card required. See the API documentation for the full parameter reference.

Features

  • Question answering about web page content
  • Structured data extraction from web pages
  • HTML content retrieval with JavaScript rendering
  • Plain text extraction from web pages
  • CSS selector-based content extraction
  • Google search results (SERP) as parsed JSON, from a chosen location and up to 5 pages per call
  • Structured JSON for any public web page from its normal URL
  • Multiple proxy types (datacenter, residential, stealth, auto) with country selection
  • JavaScript rendering using headless Chrome/Chromium
  • Concurrent request management with rate limiting
  • Custom JavaScript execution on target pages
  • Device emulation (desktop, mobile, tablet)
  • Account usage monitoring
  • Content sandboxing option - Wraps scraped content with security boundaries to help protect against prompt injection

Installation

Running with npx

env WEBSCRAPING_AI_API_KEY=your_api_key npx -y webscraping-ai-mcp

Manual Installation

# Clone the repository
git clone https://github.com/webscraping-ai/webscraping-ai-mcp-server.git
cd webscraping-ai-mcp-server

# Install dependencies
npm install

# Run
npm start

Configuring in Cursor

Note: Requires Cursor version 0.45.6+

The WebScraping.AI MCP server can be configured in two ways in Cursor:

  1. Project-specific Configuration (recommended for team projects): Create a .cursor/mcp.json file in your project directory:
    {
      "servers": {
        "webscraping-ai": {
          "type": "command",
          "command": "npx -y webscraping-ai-mcp",
          "env": {
            "WEBSCRAPING_AI_API_KEY": "your-api-key",
            "WEBSCRAPING_AI_CONCURRENCY_LIMIT": "5",
            "WEBSCRAPING_AI_ENABLE_CONTENT_SANDBOXING": "true"
          }
        }
GitHub で README 全文を見る

インストール

npx -y webscraping-ai-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "mcp-server-webscraping-ai": { "command": "npx", "args": ["-y", "webscraping-ai-mcp"], "env": { "WEBSCRAPING_AI_API_KEY": "YOUR_API_KEY_HERE", "WEBSCRAPING_AI_CONCURRENCY_LIMIT": "5", "WEBSCRAPING_AI_ENABLE_CONTENT_SANDBOXING": "true" } } } }