Skip to main content
Glama
clone-any-saas

clone-any-saas

by pjrpjr
README.md
# clone-any-saas

Audit **any SaaS URL or brand** (HTTP headers, pricing signals, tech stack, GEO/AI readiness) and emit a clean **open-source replacement blueprint**, **1-year & 3-year TCO savings report**, and **static HTML alternative comparison landing page** in one command.

- **Zero runtime dependencies** — pure Python 3 standard library only (`urllib`, `re`, `json`, `html`, `ipaddress`).
- **Live + offline dual mode** — probes live headers, `/pricing`, `/robots.txt`, and `/llms.txt` with strict SSRF protection, or runs 100% offline using built-in reference benchmarks (`datadog`, `apollo`, `clay`, `ahrefs`, `firecrawl`, `builtwith`, `hunter`, `clearbit`, `semrush`, `treg`) or any custom SaaS domain.
- **Ready-to-publish SEO/GEO landing page** — emits a standalone dark-mode HTML comparison page with `SoftwareApplication` + `FAQPage` JSON-LD structured data and an interactive seat-count TCO calculator.
- **Optional cloud acceleration** — integrates with [clonesaas.fastmesh.dev](https://clonesaas.fastmesh.dev) and [super.fastmesh.dev](https://super.fastmesh.dev).

## Quickstart

```bash
git clone https://github.com/pjrpjr/clone-any-saas.git
cd clone-any-saas

# Verify installation offline
python3 clone_any_saas.py --self-check

# Audit a SaaS target and emit blueprint + TCO + HTML comparison page
python3 clone_any_saas.py datadog --seats 40 -o ./out-datadog --offline

# Live header, pricing, tech-stack & GEO audit on any SaaS URL
python3 clone_any_saas.py https://ahrefs.com --seats 25 -o ./out-ahrefs

# Quick TCO report with custom monthly spend
python3 clone_any_saas.py tco clay --seats 30 --monthly-spend 4200

# Enable live FastMesh cloud acceleration
python3 clone_any_saas.py apollo --seats 50 -o ./out-apollo --cloud
```

## Output Artifacts (`-o <dir>`)

| File | Description |
| :--- | :--- |
| `blueprint.json` | Complete audit payload: headers, tech stack, pricing signals, GEO score, TCO, and architecture blueprint |
| `tco_report.json` | 1-year and 3-year SaaS vs self-hosted cost breakdown, break-even days, and vendor lock-in score |
| `BLUEPRINT.md` | Developer-ready open-source replacement plan, feature parity matrix, API/MCP routes, and migration checklist |
| `alternative-<slug>.html` | Self-contained dark-mode comparison page with JSON-LD schema and interactive TCO slider |

## MCP Client Configuration (Claude Desktop / Cursor / Windsurf)

```json
{
  "mcpServers": {
    "clone-any-saas": {
      "command": "python3",
      "args": ["/path/to/clone-any-saas/clone_any_saas.py", "--stdio"],
      "env": {
        "FASTMESH_API_KEY": ""
      }
    }
  }
}
```

### Exposed MCP Tools

- `clone_saas_audit` — Full SaaS header/pricing/tech-stack/GEO audit + replacement blueprint + TCO report.
- `calculate_saas_tco` — 1-year and 3-year SaaS vs self-hosted TCO savings and break-even window.
- `generate_comparison_page` — Generate a standalone SEO/GEO HTML alternative comparison page.

## Hosted Cloud Acceleration & FastMesh Prepaid Wallets

Skip self-hosting glue with pay-per-verified-hit APIs (`$0` charge on empty or miss results) across 40+ developer capabilities:

- **Live Super-Catalog & Meta-Router**: [https://super.fastmesh.dev](https://super.fastmesh.dev)
- **Live SaaS Demolition Cloud**: [https://clonesaas.fastmesh.dev](https://clonesaas.fastmesh.dev)
- **Prepaid Creem Wallet Packs** (one balance across every FastMesh endpoint, zero recurring subscription lock-in):
  - **Starter ($19)**: [Buy Starter Pack](https://www.creem.io/product/prod_5YTmBS1AJVStf0nTYjKaP2)
  - **Pro ($79)**: [Buy Pro Pack](https://www.creem.io/product/prod_4TXd1wGn4p1yOlHy9YEfqe)
  - **Scale ($249)**: [Buy Scale Pack](https://www.creem.io/product/prod_3eyoWKwE8jQm6LHceGFjKn)

## Development & Tests

```bash
python3 -m unittest discover -s tests -v
```

## License

MIT — see [LICENSE](./LICENSE).

TDQS

B3.4/5.0

Scored across 3 tools

Disambiguation4/5

Each tool targets a distinct stage: audit, TCO calculation, and comparison page generation. However, the audit tool also mentions a TCO savings report, which overlaps somewhat with calculate_saas_tco.

Naming Consistency5/5

All three tool names use consistent snake_case and follow a verb-first pattern: clone_saas_audit, calculate_saas_tco, generate_comparison_page.

Tool Count4/5

Three tools form a focused audit-to-report pipeline, which is reasonable for a narrow workflow. The count is slightly thin for a server named clone-any-saas, but each tool has a clear role.

Completeness2/5

The surface covers auditing, TCO estimation, and comparison-page generation, but it lacks any actual cloning, scaffolding, feature extraction, or open-source replacement-generation operation. For a server named clone-any-saas, this is a significant gap.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues