MP

mldsveda/pyscrappy

Developer tools

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

265 stars 81 forks 品質 86 トレンド 8MIT

mldsveda/pyscrappyは、https://github.com/mldsveda/pyscrappy.からインポートされたMCPサーバー候補です。

概要

mldsveda/pyscrappyは、https://github.com/mldsveda/pyscrappy.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

適応型Pythonウェブスクレイピングツールキット(自己修復、ステルス)+AIエージェント用のMCPサーバー

PyScrappyは、ウェブサイトを構造化されたLLM対応のデータに変換するAIネイティブのウェブスクレイピングツールキットです。Pythonライブラリとして使うか、AIエージェント向けのMCPサーバーとして公開してください。

📖 ドキュメント: pyscrappy.vercel.app

主な特徴

  • 汎用スクレイパー — 任意のURLを付与すると、構造化テキスト、リンク、画像、表、メタデータを返す
  • LLM対応出力 — .to_markdown()は結果をクリーンなMarkdownに変換します;また.to_json()および.to_dataframe()も含まれます。
  • MCPサーバー — スクレイパーをAIエージェント(Claude、カーソル、ローカルLLMなど)のツールとして公開する
  • JSレンダリング — JavaScript多用サイト向けのオプションPlaywrightバックエンド
  • カスタムセレクター — 必要なものを正確に抽出するためにCSSセレクターをパスします
  • チェイン可能なSelector — CSS/XPath、find_all、find_by_text、find_similar(Scrapy/BeautifulSoupスタイル)でHTMLを直接ナビゲートできます。
  • 適応型(自己修復)セレクター — サイトがマークアップを変更する際に要素を覚え、類似性で再配置することで、スクレイパーが静かに壊れないようにします
  • 同時スクレイピング — scrape_many / scrape_all スクレイプを並列に実行

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

README

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

Adaptive Python web scraping toolkit (self-healing, stealth)+ MCP server for AI agents

PyScrappy is an AI-native web scraping toolkit that turns websites into structured, LLM-ready data. Use it as a Python library or expose it as an MCP server for AI agents.

📖 Documentation: pyscrappy.vercel.app

Key features

  • Generic scraper — give it any URL, get back structured text, links, images, tables, and metadata
  • LLM-ready output — .to_markdown() turns any result into clean Markdown; also .to_json() and .to_dataframe()
  • MCP server — expose the scrapers as tools for AI agents (Claude, Cursor, local LLMs, …)
  • JS rendering — optional Playwright backend for JavaScript-heavy sites
  • Custom selectors — pass CSS selectors to extract exactly what you need
  • Chainable Selector — navigate HTML directly with CSS/XPath, find_all, find_by_text, and find_similar (Scrapy/BeautifulSoup-style)
  • Adaptive (self-healing) selectors — remember an element and relocate it by similarity when a site changes its markup, so scrapers don’t silently break
  • Concurrent scraping — scrape_many / scrape_all run scrapes in parallel
  • Sitemap crawling — enumerate and scrape a whole site from its sitemap.xml (index + gzip aware)
  • Proxy & scraping-API support — route through a proxy or ScraperAPI/ScrapeOps for blocked sites
  • TLS-fingerprint impersonation — impersonate="chrome" gets past anti-bot filters that block plain clients (optional curl_cffi backend)
  • Command-line extract — pyscrappy extract out.md scrapes a URL straight to a file, no code
  • Retry & rate-limiting — built-in exponential backoff and per-domain rate limiting
  • Type-safe — full type hints, py.typed marker
  • 20+ built-in scrapers — Wikipedia, IMDB, stocks, news, GitHub, Amazon/IKEA, YouTube, and more

Installation

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "pyscrappy": { "command": "pyscrappy-mcp" } } }