抓網頁為 Markdown
twtools-fetch_url_as_markdown
通用MIT6,149 近 30 天呼叫
抓取網頁主內容並轉成 Markdown(trafilatura,去 nav/footer/廣告)。
Args:
url: 完整 URL。
include_links: 保留 [text](url),預設 True。
include_images: 保留 ,預設 False。
對「文章型」頁面(部落格/新聞/文件)效果好;列表型頁面可能抽不到主內容。輸入 schema
{
"properties": {
"url": {
"title": "Url",
"type": "string"
},
"include_links": {
"default": true,
"title": "Include Links",
"type": "boolean"
},
"include_images": {
"default": false,
"title": "Include Images",
"type": "boolean"
}
},
"required": [
"url"
],
"title": "fetch_url_as_markdownArguments",
"type": "object"
}怎麼呼叫
配置好 Twinkle Hub 的 MCP client 後,agent 會看到 twtools-fetch_url_as_markdown。直接讓它呼叫即可,例如:
# Ask Claude / any MCP client: 請用 twtools-fetch_url_as_markdown 處理 "…"。 # It will call: twtools-fetch_url_as_markdown(input="…")
還沒設好 client?
Claude Desktop 各 3 分鐘可接好 — 下載 .mcpb 雙擊即可,或看 docs 各 client 安裝步驟。
看 user 設定文件