Skip to main content

🌐 Web Browser MCP Server

smithery badge PyPI version Tests License: MIT PyPI version PyPI downloads

🤖 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

Installing via Smithery

To install Web Browser MCP Server for Claude Desktop automatically via Smithery:

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

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"
    }
)

🛠️ 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 Pearl Labs

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

Metadata

Release files for web-browser-mcp-server 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for web-browser-mcp-server 0.2.1
File Size Uploaded
web_browser_mcp_server-0.2.1.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for web-browser-mcp-server 0.2.1
File Interpreter ABI Platform
web_browser_mcp_server-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.2 kB

Release files / web_browser_mcp_server-0.2.1.tar.gz

Download URL web_browser_mcp_server-0.2.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7c2e5d7691d67f7b06bd4104b42400fdab8d139652c5c6f1f31f732e2a15151a
BLAKE2b-256 checksum
How to use checksums
59e97d9f1fbc0736d85770007ae0d937134b7fba5187df2c5b965cbd002c013f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.4

Release files / web_browser_mcp_server-0.2.1-py3-none-any.whl

Download URL web_browser_mcp_server-0.2.1-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebe3c3968a1bded05c88fc01499942440fc4d28c726b197d762a6ed512f51a36
BLAKE2b-256 checksum
How to use checksums
b51f4c1136e309d7796718ff2cd9f10ad9e291ac34a2f33bca1eba1500f73094
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.4

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page