Skip to main content

Transform your AI applications with advanced web browsing capabilities through this Model Context Protocol (MCP) server

Project description

Web Intelligence MCP Server

Transform your AI applications with advanced web browsing capabilities. This Model Context Protocol (MCP) server empowers AI systems to intelligently navigate, extract, and analyze web content with precision and reliability.

Overview

The Web Intelligence MCP server bridges the gap between AI systems and web content, enabling sophisticated web browsing capabilities through a robust, production-ready API. By leveraging the power of BeautifulSoup4 and modern async processing, it provides AI applications with the ability to understand and extract structured information from any webpage.

Key Features

The server provides enterprise-grade capabilities for web content processing:

  • Intelligent content extraction with customizable CSS selectors
  • High-performance asynchronous processing
  • Comprehensive metadata capture including titles, links, and structured content
  • Robust error handling and timeout management
  • Production-ready security features
  • Cross-platform compatibility

Integration with Claude and AI Applications

Seamlessly integrate web browsing capabilities into your AI workflows by adding this configuration to your claude_desktop_config.json:

{
  "mcpServers": {
    "web-intelligence": {
      "module": "web-browser-mcp",
      "env": {
        "REQUEST_TIMEOUT": "30"
      }
    }
  }
}

Enterprise-Ready Features

Our implementation focuses on reliability and security:

  • Configurable timeout and retry mechanisms
  • Comprehensive error handling
  • Rate limiting and resource protection
  • Detailed logging and monitoring capabilities
  • Production-grade async processing
  • Cross-origin request security

API Example

Extract structured content from web pages with precision:

response = requests.post(
    "http://localhost:8000/parse",
    json={
        "url": "https://example.com",
        "selectors": {
            "article_content": "article.main-content",
            "headlines": "h1.headline",
            "metadata": ".meta-tags"
        }
    }
)

structured_content = response.json()

Development and Testing

We maintain high standards for code quality and testing:

# Set up development environment
uv venv
source .venv/bin/activate
uv pip install -e ".[test]"

# Run comprehensive test suite
python -m pytest

Security Considerations

The server implements industry-standard security practices:

  • Input validation and sanitization
  • Secure request handling
  • Timeout controls
  • Rate limiting
  • Error handling without information exposure

Production Deployment

Deploy with confidence using our production-ready configuration:

python -m mcp_web_browser.cli --workers 4 --log-level warning

Contributing

We welcome contributions that enhance the server's capabilities. Please review our contributing guidelines and code of conduct.

License

This project is licensed under the MIT License, providing flexibility for both personal and commercial use.


Empower your AI applications with intelligent web browsing capabilities. Start integrating today.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

web_browser_mcp-0.1.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

web_browser_mcp-0.1.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file web_browser_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: web_browser_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for web_browser_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 49723ab06fa06bebe14b9a425451c122b6f946e008e104ac92cf09bf3e5e3869
MD5 2b395791b20e9ecba4633ea26db19ea1
BLAKE2b-256 526bae8939c9410972c3c08dbf55aa8cc58427207732cf2bdc88a3363956253d

See more details on using hashes here.

File details

Details for the file web_browser_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for web_browser_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 778b2b94590727ea275b4836bf71a1e43a3924c5f5db2a380d32d9e8b00833b6
MD5 52ccb10a55ef1e84712301225539aa95
BLAKE2b-256 130d1160d071bba5b94048a7bfb6820b9a42dd4004badbde181f885769307617

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page