JsonLink

io.github.mauriblint由 GitHub 账号 mauriblint 发布v0.2.0更新于 Oct 24, 2026

Web access for AI agents: URL to Markdown, link metadata, screenshots, links and images of any URL.

概览

AI 生成的概览

JsonLink 是一个本地 MCP 服务器,为助手提供网页访问能力:把页面转为 Markdown、提取元数据、链接和图片,并截图。

可以做什么
将网页正文读取为干净的 Markdown,必要时用真实浏览器加载 JavaScript 较重的页面,被拦截时通过代理重试。提取网址的标题、描述、预览图、网站图标和站点名称。按桌面、手机、平板、整页或单个元素模式截图,自动隐藏广告、追踪器和 Cookie 横幅,可选深色模式。列出页面上的所有链接,含锚文本、follow/nofollow 和内部/外部标记。列出页面上的所有图片,含格式、尺寸和文件大小。
适用场景
适合需要把文章、文档或博客读成文本,批量获取并整理多个链接的元数据,审查页面的链接或图片,或在不同视口下目视检查页面或某个区块的场景。
运行要求
通过 npx 以 stdio 在本地运行(需要 Node.js),也可作为远程 HTTP 服务器运行。需要 JsonLink 账号和 API 密钥,通过环境变量 JSONLINK_API_KEY 提供(HTTP 模式使用 Bearer 令牌)。需要访问 JsonLink API 的网络;可用 JSONLINK_API_URL 覆盖基础地址。
安装前请注意
每次工具调用都会消耗 JsonLink 套餐中的额度(每页 1 点,每次截图 2 点);免费套餐每月 100 点,付费套餐每月 15 美元起。API 密钥是机密,通过 JSONLINK_API_KEY 传入。页面网址和内容会发送给第三方 JsonLink 服务,由其浏览器和代理抓取。

安装

在 SourceWeft 中

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

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

JsonLink MCP Server

Give your AI agent the web. The JsonLink MCP server lets Claude, Cursor, VS Code and any MCP client read web pages as Markdown, get link metadata, take screenshots and list the links and images on any URL.

  • Reads JavaScript-heavy pages — pages are loaded in a real browser when needed.
  • Gets past blocks — requests are retried through a proxy when a site blocks them.
  • Failed requests are free — timeouts and pages that can't load cost no credits.

Tools

ToolWhat it doesCredits
url_to_markdownMain content of a page as clean Markdown, for reading articles, docs and blog posts1
extract_metadataTitle, description, preview images, favicon and site name of a URL1
screenshotScreenshot of a page (desktop, mobile, tablet, full page or one element), returned as an image. Ads, trackers, chat widgets and cookie banners hidden; optional dark mode2
extract_linksEvery link on a page with anchor text, follow/nofollow and internal/external1
extract_imagesEvery image on a page with format, dimensions and file size1

Get an API key

Create a free account — the free plan includes 100 credits every month, no credit card. Copy your key from the dashboard.

Setup

Replace YOUR_API_KEY with your JsonLink key.

Claude Code

bash
claude mcp add jsonlink -e JSONLINK_API_KEY=YOUR_API_KEY -- npx -y jsonlink-mcp

Claude Desktop

Add this to claude_desktop_config.json (Settings → Developer → Edit Config):

json
{  "mcpServers": {    "jsonlink": {      "command": "npx",      "args": ["-y", "jsonlink-mcp"],      "env": { "JSONLINK_API_KEY": "YOUR_API_KEY" }    }  }}

Cursor

Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):

json
{  "mcpServers": {    "jsonlink": {      "command": "npx",      "args": ["-y", "jsonlink-mcp"],      "env": { "JSONLINK_API_KEY": "YOUR_API_KEY" }    }  }}

VS Code

Add this to .vscode/mcp.json:

json
{  "servers": {    "jsonlink": {      "command": "npx",      "args": ["-y", "jsonlink-mcp"],      "env": { "JSONLINK_API_KEY": "YOUR_API_KEY" }    }  }}

Windsurf and other clients

Any client that runs stdio MCP servers works the same way: command npx, arguments -y jsonlink-mcp, environment variable JSONLINK_API_KEY.

Example prompts

  • "Read https://example.com/blog/post and summarize it in five bullet points."
  • "Take a mobile screenshot of my landing page and tell me what looks broken."
  • "Screenshot just the pricing section of stripe.com in dark mode."
  • "Get the title and description of these 10 links and make a table."
  • "List the external links on this page that are nofollow."

Configuration

VariableDescription
JSONLINK_API_KEYYour JsonLink API key (required).
JSONLINK_API_URLAPI base URL. Defaults to https://jsonlink.io.

Pricing

Every tool call uses credits from your JsonLink plan: 1 credit per page, 2 per screenshot. Plans start at $15/month for 50,000 credits — see pricing. Credits and rate limits are the same as the REST API.

Development

bash
npm installnpm run buildJSONLINK_API_KEY=YOUR_API_KEY node dist/index.js

Run it as a remote (Streamable HTTP) server with node dist/index.js --http --port 3100; clients send their key as Authorization: Bearer YOUR_API_KEY.

License

MIT

来源:README.md,提交 9eea050

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.2.0最新Oct 17, 2026
  2. v0.1.0Oct 15, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分