mcpField
W
website-to-json

website-to-json

Remote
github.com/DataLeadsPROBrowser Automation0Updated 6w ago
Repository

About website-to-json

A DataLeads webpage-to-JSON API for developers extracting data with CSS selectors. A schema selects text, attributes, or HTML, and the API returns structured JSON.

Key features

  1. 01Extract with CSS selectors
  2. 02Select text, attributes, or HTML
  3. 03Return schema-based JSON
  4. 04Render pages in a real browser

Use cases

  1. 01Extract fields such as page titles
  2. 02Organize page data with a defined schema

MCP support

Available as a remote Streamable HTTP MCP server or through Docker over Stdio. MCP clients can call its webpage-to-JSON endpoint.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://data.dataleads.pro/mcp/website-to-json
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

1
ParameterTypeRequiredDescription
urlstringNo
schemaarrayNo
maxTimeoutintegerNo

Details

From the project 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

MethodPathDescription
POST/website-to-jsonV1 Website To Json

Quick start

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 - 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

TierPriceRequests
Free$0500/mo
Starter$9/mo5,000
Pro$29/mo25,000
Business$99/mo100,000
Enterprisecustomcustom

Full plan details at https://data.dataleads.pro.

License

MIT - see LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.