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

    anysiteio

    AnySite MCP Server

    A Model Context Protocol (MCP) server that provides comprehensive access to LinkedIn data and functionalities using the AnySite API, enabling not only data retrieval but also robust management of user accounts.

    Community anysiteio
    kontext-dev

    browser-use-mcp-server

    Browse the web, directly from Cursor etc.

    Community kontext-dev
    WordPress

    MCP Adapter

    An MCP adapter that bridges the Abilities API to the Model Context Protocol, enabling MCP clients to discover and invoke WordPress plugin, theme, and core abilities programmatically.

    Community WordPress
    HzaCode

    OneCite

    ๐Ÿ“š An intelligent toolkit to automatically parse, complete, and format academic references, with Model Context Protocol (MCP) support.

    Community HzaCode
    cexll

    Codex MCP Tool

    Codex Mcp Server

    Community cexll