Transform your AI applications with advanced web browsing capabilities through this Model Context Protocol (MCP) server
Project description
🌐 Web Browser MCP Server
🤖 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file web_browser_mcp_server-0.2.1.tar.gz
.
File metadata
- Download URL: web_browser_mcp_server-0.2.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c2e5d7691d67f7b06bd4104b42400fdab8d139652c5c6f1f31f732e2a15151a |
|
MD5 | 38078ba6d688d8569e38f70cefa187c4 |
|
BLAKE2b-256 | 59e97d9f1fbc0736d85770007ae0d937134b7fba5187df2c5b965cbd002c013f |
File details
Details for the file web_browser_mcp_server-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: web_browser_mcp_server-0.2.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebe3c3968a1bded05c88fc01499942440fc4d28c726b197d762a6ed512f51a36 |
|
MD5 | 05ec919f44cc2f76b8e0422c2209e2b1 |
|
BLAKE2b-256 | b51f4c1136e309d7796718ff2cd9f10ad9e291ac34a2f33bca1eba1500f73094 |