PM

pietz/mcp-web-tools

Browser automation

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

46 stars 2 forks 品質 55 トレンド 12

このパッケージは、LMS を Web アクセスに装備する強力な MCP サーバーを提供します。Nive メソッドの検索、フェッチ、コンテンツの抽出を超えて行きます.

概要

このパッケージは、LMS を Web アクセスに装備する強力な MCP サーバーを提供します。Nive メソッドの検索、フェッチ、コンテンツの抽出を超えて行きます。 このパッケージは、ほとんどのMCPサーバーがLMSへのアクセスを可能にし、私が望むだけでなく、実行しなかったという不満から作成しました。 これらの欠点のいくつかは、修正したいです。 - [x] API キーを必要としない検索結果 - [x] より複雑なJavaScriptサイトの洗練されたフェッチ - [x] PDFからコンテンツを抽出する - [x] からコンテンツを抽出するためのサポート - [x] 画像をロードして表示するためのサポート - [x] ビジュアルコンテキスト用のレンダリングされたWebページスクリーンショットをキャプチャ - [x] 生のHTMLをロードするような高度なケースのための使用法のオプション または、Brave Search API キーを設定することもできます。 パープレクシティ検索 API キーを提供して、新鮮な引用リッチなインデックスを優先します。 両方の環境変数を組み合わせて、Perplexity から Brave までシームレスにフォールバックできます.

概要(AI 翻訳)

このパッケージは、LMS を Web アクセスに装備する強力な MCP サーバーを提供します。Nive メソッドの検索、フェッチ、コンテンツの抽出を超えて行きます。

紹介

このパッケージは、ほとんどのMCPサーバーがLMSへのアクセスを可能にし、私が望むだけでなく、実行しなかったという不満から作成しました。 これらの欠点のいくつかは、修正したいです。

  • [x] API キーを必要としないで良好な検索結果
  • [x] より複雑なJavaScriptサイトの洗練されたフェッチ
  • [x] 素晴らしいフォーマットでコンテンツを抽出する Markdown
  • [x] PDFからコンテンツを抽出するサポート
  • [x] ローディングおよび表示イメージのためのサポート
  • [x] 視覚的なコンテキストのためのレンダリングされたウェブページスクリーンショットをキャプチャ
  • [x] 生のHTMLをロードするような高度なケースのための使用法のオプション

インストール

##Claudeデスクトップ

##Claudeコード

または、Brave Search API キーを設定することもできます。

パープレクシティ検索 API キーを提供して、新鮮な引用リッチなインデックスを優先します。

両方の環境変数を組み合わせて、Perplexity から Brave までシームレスにフォールバックできます。

内部

パッケージは、結果を改善するためにフードの下に強力なライブラリとサービスを使用してPythonで書かれています。

###検索

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

README

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

MCP Web Tools

This package provides a powerful MCP server to equip LLMs with web access, going beyond naive methods of searching, fetching and extracting content.

Introduction

I created this package out of the frustration that most MCP servers enabling web access to LLMs, didn’t perform as well as I hoped. Some of these shortcomings I wanted fix, include:

  • [x] Good search results without requiring an API key
  • [x] Sophisticated fetching for more complex JavaScript sites
  • [x] Extracting content in nicely formatted Markdown
  • [x] Support for extracting content from PDFs
  • [x] Support for loading and displaying images
  • [x] Capture rendered webpage screenshots for visual context
  • [x] Usage options for advanced cases like loading raw HTML

Installation

Claude Desktop

Claude Code

claude mcp add web-tools uvx mcp-web-tools

Or to also set the Brave Search API key:

claude mcp add web-tools uvx mcp-web-tools -e BRAVE_SEARCH_API_KEY=

Provide a Perplexity Search API key to prioritize their fresh, citation-rich index:

claude mcp add web-tools uvx mcp-web-tools -e PERPLEXITY_API_KEY=

You can mix both environment variables to fall back from Perplexity to Brave seamlessly.

Internals

The package is written in Python using powerful libraries and services under the hood to improve results.

Searching

We use the Perplexity Search API when a PERPLEXITY_API_KEY is configured. It delivers ranked snippets with citations from Perplexity’s continuously refreshed index. If no Perplexity key is available, we fall back to the Brave Search API (via BRAVE_SEARCH_API_KEY), then a lightweight Google workaround, and finally DuckDuckGo. While we recommend adding at least one API key, the chained fallbacks continue working for most workloads.

Fetching

The fetching of web content is based on Zendriver, a fork of nodriver for next level webscraping and performance. It should stay undetected for most anti-bot solutions and fetch content even from complex JS-based sites.

Extracting

For web extraction, we use Trafilatura which consistently outperforms other alternatives for extracting content from HTML pages. For PDFs, we use PyMuPDF4LLM which similarly extracts content in an easy-to-read format for LLMs, with advanced layout support.

Screenshots

GitHub で README 全文を見る

インストール

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

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