Web Browser Mcp Server
@blazickjp
A Minimum Control Program (MCP) server implementation for web browsing capabilities using BeautifulSoup4
Overview
What is Web Browser Mcp Server?
Web Browser Mcp Server enables AI assistants to browse websites, extract content, and understand web pages through the Model Context Protocol (MCP). It provides smart content extraction using CSS selectors and robust error handling, built with Python 3.11+ and async processing.
How to use Web Browser Mcp Server?
Install via Smithery using npx -y @smithery/cli install web-browser-mcp-server --client claude or manually with uv tool install web-browser-mcp-server. Add the server configuration to your MCP client config file, set the REQUEST_TIMEOUT environment variable (default 30 seconds), and use the browse_webpage tool with a URL and optional CSS selectors.
Features of Web Browser Mcp Server
- Smart content extraction using CSS selectors
- Lightning-fast async processing
- Rich metadata: titles, links, and structured content
- Robust error handling and timeout management
- Cross-platform support wherever Python runs
Use cases of Web Browser Mcp Server
- Browsing and extracting full content from any web page
- Targeting specific page sections with CSS selectors (headlines, articles, navigation)
- Providing AI assistants with structured web content for analysis
- Fetching web data for automated research or summarization workflows
FAQ from Web Browser Mcp Server
What does the browse_webpage tool do?
It fetches a web page and extracts its content, optionally filtering to specific elements defined by CSS selectors you provide.
What dependencies or runtime are required?
Python 3.11 or later and the uv package manager are required for installation and execution.
How is the server configured?
Set the REQUEST_TIMEOUT environment variable (default 30 seconds) to control how long the server waits for a webpage response.
What transport or authentication does the server use?
The server communicates via the MCP protocol using stdio transport, configured in the MCP client’s JSON configuration. No authentication mechanism is mentioned.
What license is Web Browser Mcp Server released under?
It is released under the MIT License.