Website To Json

io.github.DataLeadsPRO由 GitHub 账号 DataLeadsPRO 发布v1.0.0更新于 Oct 24, 2026

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

已验证Streamable HTTP可网页运行网页搜索与抓取数据与分析

概览

AI 生成的概览

一个远程 MCP 服务器,用 CSS 选择器 schema 把任意网页转成结构化 JSON,内置浏览器渲染和反爬处理。

可以做什么
通过把 CSS 选择器映射到字段,从网页提取结构化 JSON,字符串可选择文本、属性或 HTML。在真实浏览器中抓取并渲染页面,内置反爬与受保护页面处理,无需自行管理代理或基础设施。
适用场景
适合需要从网页获得可重复、符合 schema 的数据而非原始 HTML 的场景,例如把标题或列表抓取成固定 JSON 结构以便后续处理。
运行要求
远程 Streamable HTTP 端点;请求需要 DataLeads 客户端密钥(在请求体中作为 clientKey 传入,Docker stdio 版本使用 DATALEADS_API_KEY)。提供每月 500 次请求的免费额度,付费方案自每月 9 美元起。
安装前请注意
请求会消耗与客户端密钥绑定的计量额度,付费方案需要花钱。服务会代你抓取第三方页面,因此你提交的网址会发送给 DataLeads。请妥善保管客户端密钥。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Website To Json,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.DataLeadsPRO%2Fwebsite-to-json/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "website-to-json": {
      "type": "http",
      "url": "https://data.dataleads.pro/mcp/website-to-json"
    }
  }
}

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

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

来源:README.md,提交 9dee4f7

工具

1

website_to_json

V1 Website To Json

输入参数urlschemamaxTimeout

版本历史

1
  1. v1.0.0最新Sep 17, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。