Skip to main content
Glama
README.md
# DuoTools Online — Local MCP Server & Privacy-First Browser Utilities (EN & ES)

[![Live Site (EN)](https://img.shields.io/badge/Live%20Tools%20(EN)-duotools.online%2Fen-1d4ed8)](https://duotools.online/en/)
[![Sitio en Español](https://img.shields.io/badge/Herramientas%20(ES)-duotools.online%2Fes-15803d)](https://duotools.online/es/)
[![Node.js >=18](https://img.shields.io/badge/Node.js-%3E%3D18-339933)](package.json)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

Zero-dependency **Model Context Protocol (MCP)** `stdio` server and public companion guide for **[DuoTools Online](https://duotools.online/en/)** — free, privacy-first browser utilities for images, PDFs, percentage math, body fat estimation, and everyday conversions in **English** and **Spanish**.

> **English Web App:** https://duotools.online/en/  
> **Sitio en Español:** https://duotools.online/es/  

---

## MCP Tools Included

This server runs 100% locally over `stdio` with **zero npm dependencies**, **no network calls**, and **no API keys**:

| Tool Name | What It Calculates | Web Companion |
| --- | --- | --- |
| `calculate_percentage` | `percent_of`, `what_percent`, `percent_change`, `add_percent`, `subtract_percent` | [Percentage Calculator](https://duotools.online/en/tools/percentage-calculator) |
| `calculate_body_fat_navy` | Standard US Navy circumference body fat % estimate (`cm` or `in`) | [Body Fat Calculator](https://duotools.online/en/tools/body-fat-percentage-calculator) |
| `calculate_image_resize_budget` | Proportional resize dimensions, simplified aspect ratio, megapixels, WebP/JPEG/PNG size estimates | [Image Compressor](https://duotools.online/en/tools/image-compressor) |
| `calculate_pdf_sheet_plan` | Duplex & n-up physical sheet count, printed sides, and blank side planning | [PDF Merge](https://duotools.online/en/tools/pdf-merge) |
| `convert_units` | Length, weight, decimal/binary data storage (`KB`/`MB`/`KiB`/`MiB`), and temperature | [Calculators](https://duotools.online/en/categories/calculators) |

---

## Quick Start (Run Locally)

Requires **Node.js 18+** (no `npm install` needed):

```bash
git clone https://github.com/Hussaingoraya/duotools-online-guide.git
cd duotools-online-guide
npm test
npm start
```

### Claude Desktop / Cursor / Windsurf MCP Configuration

```json
{
  "mcpServers": {
    "duotools-online": {
      "command": "node",
      "args": ["/absolute/path/to/duotools-online-guide/src/index.js"]
    }
  }
}
```

### Run via Docker

```bash
docker build -t duotools-online-mcp .
docker run -i --rm duotools-online-mcp
```

---

## Why Browser-Local Tools?

Most free online image compressors and PDF utilities upload your private files to unknown remote servers. **[DuoTools Online](https://duotools.online/en/)** runs file processing and calculations locally inside your browser tab:

- **Zero file uploads** for local image and PDF workflows
- **Zero account or sign-up wall**
- **Bilingual English & Spanish interfaces** with step-by-step guides
- **Instant desktop & mobile web execution**

---

## License

MIT — see [LICENSE](LICENSE).