MCP-Mirror

🌐 Web Browser MCP Server

Community MCP-Mirror
Updated

Transform your AI applications with advanced web browsing capabilities through this Model Context Protocol (MCP) server

🌐 Web Browser MCP Server

PyPI versionLicense: MITPythonCode style: black

🤖 Transform your AI applications with powerful web browsing capabilities! Let your AI read and understand the web.

✨ Features

  • 🎯 Smart Content Extraction - Target exactly what you need with CSS selectors
  • Lightning Fast - Built with async processing for optimal performance
  • 📊 Rich Metadata - Capture titles, links, and structured content
  • 🛡️ Robust & Reliable - Built-in error handling and timeout management
  • 🌍 Cross-Platform - Works everywhere Python runs

🚀 Quick Start

Installation

Choose your favorite package manager:

# Using pip
pip install web-browser-mcp-server

# Using uv (recommended)
uv pip install web-browser-mcp-server

🔌 Claude Desktop Integration

Add this to your Claude Desktop config to unlock web browsing superpowers:

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

💡 Replace /path/to/web-browser-mcp-server with your installation path

🎮 Usage Examples

Extract exactly what you need from any webpage:

# Basic webpage fetch
result = browse_webpage(url="https://example.com")

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

⚙️ Configuration

Customize behavior with environment variables:

Variable Description Default
REQUEST_TIMEOUT ⏱️ Max request time (seconds) 30
USER_AGENT 🕵️ Custom user agent string Modern Chrome UA
LOG_LEVEL 📝 Logging verbosity "info"
MAX_RETRIES 🔄 Max retry attempts 3

🛠️ Development

Set up your dev environment in seconds:

# Create and activate virtual environment
uv venv
source .venv/bin/activate

# Install dev dependencies
uv pip install -e ".[test]"

# Run tests
python -m pytest

🤝 Contributing

Contributions are welcome! Feel free to:

  • 🐛 Report bugs
  • 💡 Suggest features
  • 🔧 Submit pull requests

📜 License

MIT License - do what you want! See LICENSE for details.

🌟 Level Up Your AI with Web Browsing Powers! 🌟

Built for the Model Context Protocol | Made with ❤️ by the MCP Community

🎉 Star us on GitHub! If you find this tool useful, consider giving it a star! It helps others discover the project.

MCP Server · Populars

MCP Server · New

    Mearman

    MCP Wayback Machine Server

    MCP server and CLI tool for interacting with the Internet Archive's Wayback Machine

    Community Mearman
    markifact

    Markifact, the universal marketing MCP server

    MCP server for Google Ads, Meta Ads, GA4, TikTok Ads, and LinkedIn Ads. Manage 300+ ad operations from Claude, ChatGPT, Gemini, Cursor, or any AI client. Human-in-the-loop on every write.

    Community markifact
    BentleySystems

    OpenSTAAD MCP Server

    openstaad-mcp is an MCP Server enabling AI Agents to interact with STAAD.Pro

    Community BentleySystems
    Hyperion-GPU

    ProofFlow

    MCP Server

    Community Hyperion-GPU
    t8y2

    dbx

    20 MB lightweight cross-platform database client for 70+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 70+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP Server。

    Community t8y2