mcp
Cloud-based web access with real browsers and JS rendering by ScrapingAnt
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"mcp": {
"url": "https://api.scrapingant.com/mcp/"
}
}
}远程端点
https://api.scrapingant.com/mcp/streamable-http它能做什么
工具清单
工具(3)
🟢get_web_page_html(url, browser, proxy_type, proxy_country)
Fetch (scrape) a URL using ScrapingAnt and return the web page content as HTML. Args: url: The URL of the page to extract (scrape). browser: Whether to use browser rendering. Default: True. proxy_type: Type of proxy to use. Default: 'datacenter'. Use 'residential' if you encounter anti-bot detection, which improves anti-bot avoidance. proxy_country: Optional ISO-3166 country code. Default: random worldwide proxy. Use when facing geo-restrictions. Available country codes: ae, br, bz, ca, cn, cz, de, es, fr, gb, hk, id, il, in, it, jp, kr, mx, my, nh, nl, ph, pk, pl, ro, ru, sa, sc, se, sg, th, tr, tw, uk, us, vn.
输入模式
{
"type": "object",
"properties": {
"url": {
"title": "Url",
"type": "string"
},
"browser": {
"default": true,
"title": "Browser",
"type": "boolean"
},
"proxy_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Proxy Type"
},
"proxy_country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Proxy Country"
}
},
"required": [
"url"
]
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"description": "Generic wrapper for non-object return types.",
"title": "_WrappedResult",
"x-fastmcp-wrap-result": true
}🟢get_web_page_markdown(url, browser, proxy_type, proxy_country)
Fetch (scrape) a URL using ScrapingAnt and return the web page content as Markdown. Args: url: The URL of the page to extract (scrape). browser: Whether to use browser rendering. Default: True. proxy_type: Type of proxy to use. Default: 'datacenter'. Use 'residential' if you encounter anti-bot detection, which improves anti-bot avoidance. proxy_country: Optional ISO-3166 country code. Default: random worldwide proxy. Use when facing geo-restrictions. Available country codes: ae, br, bz, ca, cn, cz, de, es, fr, gb, hk, id, il, in, it, jp, kr, mx, my, nh, nl, ph, pk, pl, ro, ru, sa, sc, se, sg, th, tr, tw, uk, us, vn.
输入模式
{
"type": "object",
"properties": {
"url": {
"title": "Url",
"type": "string"
},
"browser": {
"default": true,
"title": "Browser",
"type": "boolean"
},
"proxy_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Proxy Type"
},
"proxy_country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Proxy Country"
}
},
"required": [
"url"
]
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"description": "Generic wrapper for non-object return types.",
"title": "_WrappedResult",
"x-fastmcp-wrap-result": true
}🟢get_web_page_text(url, browser, proxy_type, proxy_country)
Fetch (scrape) a URL using ScrapingAnt and return the web page content as plain text. Args: url: The URL of the page to extract (scrape). browser: Whether to use browser rendering. Default: True. proxy_type: Type of proxy to use. Default: 'datacenter'. Use 'residential' if you encounter anti-bot detection, which improves anti-bot avoidance. proxy_country: Optional ISO-3166 country code. Default: random worldwide proxy. Use when facing geo-restrictions. Available country codes: ae, br, bz, ca, cn, cz, de, es, fr, gb, hk, id, il, in, it, jp, kr, mx, my, nh, nl, ph, pk, pl, ro, ru, sa, sc, se, sg, th, tr, tw, uk, us, vn.
输入模式
{
"type": "object",
"properties": {
"url": {
"title": "Url",
"type": "string"
},
"browser": {
"default": true,
"title": "Browser",
"type": "boolean"
},
"proxy_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Proxy Type"
},
"proxy_country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Proxy Country"
}
},
"required": [
"url"
]
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"description": "Generic wrapper for non-object return types.",
"title": "_WrappedResult",
"x-fastmcp-wrap-result": true
}社区
证据