# website-to-json

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/DataLeadsPRO/website-to-json  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/website-to-json

## Description
Turn any webpage into structured JSON with CSS-selector schemas - strings select text, attributes

## Claude Desktop Quick Installation
Heuristic fallback — verify the package name and runner against the repository README before running it. Uses `npx` (confidence: low):

```json
"mcpServers": {
  "website-to-json": {
    "command": "npx",
    "args": ["-y","website-to-json"]
  }
}
```

## Documentation & README

# Website to JSON API (Schema Extraction)

> Turn any webpage into structured JSON with CSS-selector schemas - strings select text, attributes, or HTML.

Part of the **DataLeads** API suite (Data category). Requests render in a real browser with anti-bot handling and protected-page support built in - no proxies to manage, no infrastructure to run.

## Endpoints

| Method | Path | Description |
|---|---|---|
| POST | `/website-to-json` | V1 Website To Json |

## Quick start

```bash
curl -X POST https://data.dataleads.pro/v1/website-to-json \
  -H 'Content-Type: application/json' \
  -d '{"clientKey": "YOUR_CLIENT_KEY", "url": "https://news.ycombinator.com", "schema": {"titles": ".titleline"}}'
```

Replace `YOUR_CLIENT_KEY` with your key. Get one at [https://data.dataleads.pro](https://data.dataleads.pro) - free tier included.

## MCP server

- **Remote (Streamable HTTP):** `https://data.dataleads.pro/mcp/website-to-json`
- **Stdio (Docker):** `docker run -e DATALEADS_API_KEY=yourkey ghcr.io/dataleads/website-to-json-mcp:latest`

## Pricing

| Tier | Price | Requests |
|---|---|---|
| Free | $0 | 500/mo |
| Starter | $9/mo | 5,000 |
| Pro | $29/mo | 25,000 |
| Business | $99/mo | 100,000 |
| Enterprise | custom | custom |

Full plan details at [https://data.dataleads.pro](https://data.dataleads.pro).

## License

MIT - see [LICENSE](https://github.com/DataLeadsPRO/website-to-json/blob/HEAD/LICENSE).

