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#"
}社区
证据