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

    PraneshASP

    Foundry MCP Server

    An experimental MCP Server for foundry built for Solidity devs

    Community PraneshASP
    karakeep-app

    Karakeep MCP Server

    A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

    Community karakeep-app
    karakeep-app

    karakeep

    A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

    Community karakeep-app
    prisma

    Prisma

    Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

    Community prisma
    iannuttall

    Flux UI MCP Server

    MCP Server

    Community iannuttall