Skip to main content
Glama

web-browser-mcp-server

by blazickjp

✨ 特徴

🌐 AI アシスタントがシンプルな MCP インターフェースを介して Web からコンテンツを閲覧および抽出できるようにします。

WebブラウザMCPサーバーは、メッセージ制御プロトコル(MCP)を介してAIモデルにウェブサイトの閲覧、コンテンツの抽出、ウェブページの理解機能を提供します。CSSセレクターによるスマートなコンテンツ抽出と堅牢なエラー処理を実現します。

🤝**貢献する• 📝バグを報告する**

✨ コア機能

  • 🎯スマートコンテンツ抽出: CSSセレクターで必要なものを正確にターゲットします
  • 超高速: 非同期処理で最適なパフォーマンスを実現
  • 📊豊富なメタデータ: タイトル、リンク、構造化コンテンツをキャプチャします
  • 🛡️堅牢性と信頼性: エラー処理とタイムアウト管理が組み込まれています
  • 🌍クロスプラットフォーム: Pythonが動作する場所ならどこでも動作します

🚀 クイックスタート

Smithery経由でインストール

Smithery経由で Claude Desktop の Web ブラウザ サーバーを自動的にインストールするには:

npx -y @smithery/cli install web-browser-mcp-server --client claude

手動でインストールする

uv を使用してインストールします。

uv tool install web-browser-mcp-server

開発の場合:

# Clone and set up development environment git clone https://github.com/blazickjp/web-browser-mcp-server.git cd web-browser-mcp-server # Create and activate virtual environment uv venv source .venv/bin/activate # Install with test dependencies uv pip install -e ".[test]"

🔌 MCP統合

この構成を MCP クライアント構成ファイルに追加します。

{ "mcpServers": { "web-browser-mcp-server": { "command": "uv", "args": [ "tool", "run", "web-browser-mcp-server" ], "env": { "REQUEST_TIMEOUT": "30" } } } }

開発の場合:

{ "mcpServers": { "web-browser-mcp-server": { "command": "uv", "args": [ "--directory", "path/to/cloned/web-browser-mcp-server", "run", "web-browser-mcp-server" ], "env": { "REQUEST_TIMEOUT": "30" } } } }

💡 利用可能なツール

サーバーは強力な Web 閲覧ツールを提供します。

ウェブページを参照

オプションの CSS セレクターを使用して Web ページからコンテンツを参照および抽出します。

# Basic webpage fetch result = await call_tool("browse_webpage", { "url": "https://example.com" }) # Target specific content with CSS selectors result = await call_tool("browse_webpage", { "url": "https://example.com", "selectors": { "headlines": "h1, h2", "main_content": "article.content", "navigation": "nav a" } })

⚙️ 構成

環境変数を使用して設定します。

変数目的デフォルト
REQUEST_TIMEOUTウェブページリクエストのタイムアウト(秒)30

🧪 テスト

テスト スイートを実行します。

python -m pytest

📄 ライセンス

MITライセンスに基づいてリリースされています。詳細はLICENSEファイルをご覧ください。


Pear Labsチームが心を込めて作りました

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

BeautifulSoup4を使用してWebブラウジング機能を有効にします

  1. ✨ コア機能
    1. 🚀 クイックスタート
      1. Smithery経由でインストール
      2. 手動でインストールする
      3. 🔌 MCP統合
    2. 💡 利用可能なツール
      1. ウェブページを参照
    3. ⚙️ 構成
      1. 🧪 テスト
        1. 📄 ライセンス

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An advanced web browsing server enabling headless browser interactions via a secure API, providing features like navigation, content extraction, element interaction, and screenshot capture.
            Last updated -
            6
            9
            Python
            MIT License
          • A
            security
            A
            license
            A
            quality
            Provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.
            Last updated -
            4
            125,855
            353
            TypeScript
            MIT License
          • A
            security
            F
            license
            A
            quality
            Enables browser automation using Python scripts, offering operations like taking webpage screenshots, retrieving HTML content, and executing JavaScript.
            Last updated -
            4
            18
            Python
            • Linux
          • A
            security
            A
            license
            A
            quality
            Enables browser automation with Puppeteer, supporting navigation, form interactions, and connection to active Chrome instances for comprehensive web page interaction.
            Last updated -
            8
            470
            8
            TypeScript
            MIT License
            • Apple
            • Linux

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/blazickjp/web-browser-mcp-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server