mdapi — HTML to Markdown for AI agents
Web page or HTML to clean LLM-ready Markdown or JSON. x402 pay-per-call, $0.005, no API key.
我該用這個嗎
品質與安全性
發現項目(1)
- LOW在 service_info 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"mdapi": {
"url": "https://md.fastdb.in/mcp"
}
}
}遠端端點
https://md.fastdb.in/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟡html_to_markdown(url, html, mode, render)
Convert a web page (by URL) or raw HTML into clean, LLM-ready Markdown. Readability article extraction; nav/scripts/footers stripped; tables preserved. Set render=true to execute the page in a real headless browser first — required for JS-rendered SPAs (React/Next/Vue) that return empty HTML to a plain fetch. Paid tool: $0.005 per call via x402 (USDC on Base).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public http(s) URL of the page to fetch and convert"
},
"html": {
"type": "string",
"description": "Raw HTML to convert instead of fetching a URL"
},
"mode": {
"type": "string",
"enum": [
"article",
"full"
],
"description": "article (default): main content only via Readability. full: whole page."
},
"render": {
"type": "boolean",
"description": "true: execute the page in a headless browser before converting (JS-rendered SPAs)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢extract_page(url, html, mode)
Extract structured JSON from a web page (by URL) or raw HTML: title, byline, excerpt, siteName, publishedTime, language, plain text, links, images, and meta tags. Paid tool: $0.005 per call via x402 (USDC on Base).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public http(s) URL of the page to fetch and convert"
},
"html": {
"type": "string",
"description": "Raw HTML to convert instead of fetching a URL"
},
"mode": {
"type": "string",
"enum": [
"article",
"full"
],
"description": "article (default): main content only. full: whole page."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪service_info
Free. Service, pricing, and payment details for the mdapi tools on this server.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據