# Reasonkit Web

> High-performance MCP server for browser automation, web capture, and content extraction. Rust-powered CDP client for AI agents.

- **Type:** MCP server
- **Install:** `agentstack add mcp-reasonkit-reasonkit-web`
- **Verified:** Pending review
- **Seller:** [reasonkit](https://agentstack.voostack.com/s/reasonkit)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [reasonkit](https://github.com/reasonkit)
- **Source:** https://github.com/reasonkit/reasonkit-web
- **Website:** https://reasonkit.sh

## Install

```sh
agentstack add mcp-reasonkit-reasonkit-web
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# ReasonKit Web (Rust Edition)

**High-Performance Web Sensing & Browser Automation Layer**
**Rust-Native Implementation**

[](https://github.com/reasonkit/reasonkit-web/actions/workflows/ci.yml)
[](https://github.com/reasonkit/reasonkit-web/actions/workflows/security.yml)
[](https://crates.io/crates/reasonkit-web)
[](https://docs.rs/reasonkit-web)
[](https://crates.io/crates/reasonkit-web)
[](LICENSE)
[](https://www.rust-lang.org/)
[](https://modelcontextprotocol.io)

_The Eyes and Ears of AI Reasoning - Now Blazingly Fast_

[Documentation](https://docs.rs/reasonkit-web) | [Crates.io](https://crates.io/crates/reasonkit-web) | [ReasonKit Core](https://github.com/ReasonKit/reasonkit-core) | [Website](https://reasonkit.sh)

---

> **Note:** This is the **Rust implementation** of the ReasonKit Web Sensing layer. It supersedes the legacy Python prototype for performance-critical deployments.

Web sensing and browser automation layer for ReasonKit. Implements the Model Context Protocol (MCP) for seamless web interactions with AI reasoning systems, powered by Rust and ChromiumOxide.

## Features

## Use Cases

## Performance

## Installation

### Universal Installer (Recommended)

**Installs all 4 ReasonKit projects together:**

```bash
curl -fsSL https://get.reasonkit.sh | bash -s -- --with-web
```

**Platform & Shell Support:**

- ✅ All platforms (Linux/macOS/Windows/WSL)
- ✅ All shells (Bash/Zsh/Fish/Nu/PowerShell/Elvish)
- ✅ Auto-detects shell and configures PATH
- ✅ Beautiful progress visualization

### Cargo (Rust Library)

Add to your `Cargo.toml`:

```toml
[dependencies]
reasonkit-web = "0.1"
tokio = { version = "1", features = ["full"] }
```

## Quick Start

### As a Library

```rust,ignore
use reasonkit_web::BrowserController;

#[tokio::main]
async fn main() -> Result> {
    // Create browser controller
    let controller = BrowserController::new().await?;

    // Navigate to a page
    let page = controller.navigate("https://example.com").await?;

    // Extract content
    let content = page.content().await?;
    println!("Page content: {}", content);

    Ok(())
}
```

### As an MCP Server

```bash
# Build the MCP server binary
cargo build --release

# Run the MCP server
./target/release/reasonkit-web

# Or with cargo
cargo run --release
```

### Content Extraction

```rust,ignore
use reasonkit_web::{ContentExtractor, MetadataExtractor};

// Extract structured content from HTML
let html = "TitleContent";
let extractor = ContentExtractor::new();
let content = extractor.extract(html)?;

// Extract metadata
let meta_extractor = MetadataExtractor::new();
let metadata = meta_extractor.extract(html)?;
```

### API Workflow

## Architecture

The ReasonKit Web layer implements a high-performance web sensing architecture designed for AI reasoning systems:

### System Topology

### Core Architecture

### The Rust Engine

### Key Design Principles

**Performance-First**: Built in Rust with async/await for maximum throughput
**Protocol-Driven**: Implements Model Context Protocol (MCP) for AI integration
**Modular Design**: Separates capture, extraction, and memory for flexibility
**Security-Focused**: Headless browser isolation and content sanitization

### Integration Flow

## Security & Privacy

ReasonKit Web is built with a "GDPR by Default" philosophy, ensuring that AI reasoning systems can interact with the web safely and compliantly.

### Key Security Features

- **PII Redaction Engine**: Automatically detects and redacts sensitive information (emails, phone numbers, secrets) before it leaves the secure runtime.
- **Headless Isolation**: Browser sessions run in isolated containers with no persistent state.
- **Content Sanitization**: Malicious scripts and trackers are stripped at the DOM level.

For detailed technical specifications, see [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md).

## Technology Stack

## Version & Maturity

| Component              | Status    | Notes                                      |
| ---------------------- | --------- | ------------------------------------------ |
| **MCP Server**         | ✅ Stable | Model Context Protocol integration         |
| **CDP Client**         | ✅ Stable | Chrome DevTools Protocol via chromiumoxide |
| **Content Extraction** | ✅ Stable | HTML parsing, metadata extraction          |
| **PII Redaction**      | ✅ Stable | GDPR-compliant data handling               |
| **WASM Support**       | 🔶 Beta   | Browser-native execution                   |

**Current Version:** v0.1.3 | [CHANGELOG](CHANGELOG.md) | [Releases](https://github.com/reasonkit/reasonkit-web/releases)

### Verify Installation

```bash
# Build and run MCP server
cargo build --release
./target/release/reasonkit-web --help

# Or test as a library
cargo test
```

## License

Apache License 2.0 - see [LICENSE](LICENSE)

---

**Part of the ReasonKit Ecosystem**

[ReasonKit Core](https://github.com/reasonkit/reasonkit-core) • [ReasonKit Mem](https://github.com/reasonkit/reasonkit-mem) • [Website](https://reasonkit.sh)

_"See How Your AI Thinks"_

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [reasonkit](https://github.com/reasonkit)
- **Source:** [reasonkit/reasonkit-web](https://github.com/reasonkit/reasonkit-web)
- **License:** Apache-2.0
- **Homepage:** https://reasonkit.sh

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: flagged — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-reasonkit-reasonkit-web
- Seller: https://agentstack.voostack.com/s/reasonkit
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
