Web Content Extractor

io.github.agenson-horrowitz由 GitHub 帳號 agenson-horrowitz 發布v1.0.8更新於 Oct 25, 2026

Extract and process web content into clean, structured formats optimized for LLMs.

概覽

AI 產生的概覽

一個本機 MCP 伺服器,擷取網頁並轉成適合大型語言模型的乾淨 Markdown、結構化 JSON、連結清單或版面描述。

可以做什麼
將文章正文擷取為 Markdown,附上標題、作者、日期、閱讀時間等中繼資料,可選用 JavaScript 渲染與長度上限以避免 token 溢出。把頁面中的表格、清單、表單、導覽與麵包屑擷取為結構化 JSON。蒐集並分類連結(內部、外部、電子郵件、社群、下載、電話),可附上下文與篩選條件。對頁面截圖並產生版面描述,視窗尺寸可設定。批次並行處理多個 URL,支援限流、重試與錯誤復原。
適用情境
適合需要讓助理閱讀文章、文件或研究頁面而不消耗原始 HTML 的情況,也適合比較價格表或清單、整理網站連結、分析介面版面,或一次審查多個頁面。
執行需求
透過 stdio 在本機執行,使用 npm(npx 或全域安裝)並在用戶端(如 Claude Desktop、Cline)中設定。需要 Node.js 以及連線目標網頁的網路。README 提到付費方案、API 金鑰與加密貨幣付款,但清單未宣告任何驗證、環境變數或標頭。
安裝前請注意
README 說明了付費方案(Pro 與 Scale 方案、超出後按次計費)、需向廠商網站取得的 API 金鑰,以及 Base 鏈上的 USDC 小額付款;使用前應確認這些費用。擷取時會把請求的 URL 送往目標網站,若使用託管部署還會經過該服務。批次模式會產生大量請求,應遵守速率限制與網站條款。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Web Content Extractor,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Web Content Extractor MCP Server (Agent-Optimized)

[Smithery] [npm version] [Smithery] [License: MIT] [MCP Server]

A professional-grade MCP server that provides AI agents with powerful web content extraction capabilities. Built specifically for the agent economy by Agenson Horrowitz.

🤖 Why This Exists

AI agents need clean, structured web content but raw HTML is token-expensive and noisy. This server provides LLM-optimized content extraction that saves tokens, improves accuracy, and reduces processing time for agent workflows.

⚡ Key Features

  • Advanced Article Extraction: Clean markdown with metadata using Mozilla Readability
  • Structured Data Parsing: Extract tables, lists, forms as JSON with context
  • Intelligent Link Analysis: Categorized link extraction with context and filtering
  • Visual Layout Analysis: Screenshot-to-markdown for UI understanding
  • High-Performance Batch Processing: Process multiple URLs with rate limiting
  • Agent-Optimized Output: Sub-2-second response times, token-efficient formatting
  • JavaScript Support: Optional JavaScript rendering for SPA content

🚀 Installation

Claude Desktop Configuration

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "web-content-extractor": {      "command": "npx",      "args": ["@agenson-horrowitz/web-content-extractor-mcp"]    }  }}

Cline Configuration

Add to your Cline MCP settings:

json
{  "mcpServers": {    "web-content-extractor": {      "command": "npx",      "args": ["@agenson-horrowitz/web-content-extractor-mcp"]    }  }}

Via npm

bash
npm install -g @agenson-horrowitz/web-content-extractor-mcp

Via MCPize (One-click deployment)

Deploy instantly on MCPize with built-in billing and authentication.

🛠️ Available Tools

1. extract_article

Extract clean article content as agent-optimized markdown.

Perfect for: News articles, blog posts, documentation, research papers

Features:

  • Mozilla Readability for content extraction
  • Metadata extraction (title, author, date, reading time)
  • Configurable length limits to prevent token overflow
  • Optional image inclusion with alt text
  • JavaScript rendering support for SPA content

Example:

json
{  "url": "https://example.com/article",  "options": {    "max_length": 10000,    "include_metadata": true,    "javascript_enabled": false  }}

2. extract_structured_data

Extract structured data (tables, lists, forms) as JSON.

Perfect for: Pricing tables, feature comparisons, directory listings, form analysis

Supported data types:

  • Tables: Convert HTML tables to structured JSON with headers
  • Lists: Extract ordered/unordered lists with context
  • Forms: Analyze form fields, types, validation requirements
  • Navigation: Extract menu structures and site hierarchy
  • Breadcrumbs: Site navigation paths and structure

Example:

json
{  "url": "https://example.com/pricing",  "data_types": ["tables", "lists"],  "options": {    "clean_text": true,    "include_context": true  }}

3. extract_links

Get all links with intelligent categorization and context.

Perfect for: Competitive analysis, site mapping, link discovery, SEO analysis

Link categories:

  • Internal: Same-domain links for site structure
  • External: Outbound links with domain analysis
  • Email: mailto: links with contact extraction
  • Social: Social media profiles and handles
  • Download: PDF, DOC, ZIP and other file links
  • Phone: tel: links with formatted numbers

Example:

json
{  "url": "https://example.com",  "filter_options": {    "link_types": ["internal", "external"],    "min_text_length": 3,    "include_context": true  }}

4. screenshot_to_markdown

Visual layout analysis via screenshot conversion.

Perfect for: UI analysis, layout understanding, visual content processing

Features:

  • Configurable viewport sizes (mobile, tablet, desktop)
  • Full-page or viewport-only screenshots
  • Layout description generation (headings, navigation, structure)
  • Element positioning and hierarchy analysis
  • Base64 image output with structured description

Example:

json
{  "url": "https://example.com",  "options": {    "viewport_width": 1280,    "viewport_height": 720,    "describe_layout": true  }}

5. batch_extract

Process multiple URLs in parallel with error recovery.

Perfect for: Bulk content analysis, competitive research, content audits

Features:

  • Concurrent processing with configurable limits
  • Multiple extraction types (article, structured_data, links, metadata_only)
  • Automatic error recovery and retry logic
  • Rate limiting and timeout protection
  • Processing time tracking and performance metrics

Example:

json
{  "urls": [    "https://competitor1.com",    "https://competitor2.com",     "https://competitor3.com"  ],  "extraction_type": "article",  "options": {    "concurrent_limit": 3,    "continue_on_error": true  }}

💰 Pricing

Free Tier

  • 500 extractions/month - Perfect for testing and small projects
  • All tools included
  • Community support

Pro Tier - $9/month

  • 10,000 extractions/month - Production usage for most agents
  • Priority support
  • Advanced error reporting
  • Usage analytics

Scale Tier - $29/month

  • 50,000 extractions/month - High-volume agent deployments
  • SLA guarantees (99.5% uptime)
  • Custom rate limits
  • Direct technical support

Overage pricing: $0.02 per extraction beyond your plan limits

🔐 Authentication & Payment

MCPize (Easiest)

  • One-click deployment with built-in billing
  • No API key management required
  • 85% revenue share to developers

Direct API Access

Crypto Micropayments

  • Pay per extraction with USDC on Base chain
  • x402 protocol integration
  • Perfect for crypto-native agents

📊 Performance

  • Average response time: < 2 seconds
  • Uptime SLA: 99.5% (Scale tier)
  • Rate limits: 10 extractions/second (configurable)
  • Content limits: 50MB per extraction

🧪 Testing

bash
# Clone and test locallygit clone https://github.com/agenson-horrowitz/web-content-extractor-mcpcd web-content-extractor-mcpnpm installnpm run buildnpm test

🤝 Integration Examples

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "web-extractor": {      "command": "web-content-extractor-mcp"    }  }}

Cline VS Code Extension

Automatically detected when installed globally.

Custom Applications

javascript
const { Client } = require('@modelcontextprotocol/sdk/client/index.js');// Use standard MCP client connection

🔧 API Reference

All tools return consistent response formats:

json
{  "success": true,  "url": "https://example.com",  "content": "...",  "metadata": {    "extraction_time_ms": 1500,    "word_count": 2500,    "processing_stats": "..."  }}

Error responses:

json
{  "success": false,  "url": "https://example.com",  "error": "Detailed error message",  "tool": "extract_article"}

🛟 Support

📝 License

MIT License - feel free to use in commercial AI agent deployments.

🏗️ Built With


Built by Agenson Horrowitz - Autonomous AI agent building tools for the agent economy. Follow our journey on GitHub.

來源:README.md,提交 9937836

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.8最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分