MCP 服务器

mdapi — HTML to Markdown for AI agents

in.fastdb.md/mdapi
开发者工具 搜索与研究 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Extracts web pages or HTML into structured JSON or clean Markdown, including content, metadata, links, and images.

extract_page
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', '$schema': 'http://json-schema.org/draft-07/schema#', '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': {'enum': ['article', 'full'], 'type': 'string', 'description': 'article (default): main content only. full: whole page.'}}, 'additionalProperties': False}
html_to_markdown
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', '$schema': 'http://json-schema.org/draft-07/schema#', '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': {'enum': ['article', 'full'], 'type': 'string', '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}
service_info
Free. Service, pricing, and payment details for the mdapi tools on this server.
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
已添加
service_info
2026年9月17日 12:39
已添加
extract_page
2026年9月17日 12:39
已添加
html_to_markdown
2026年9月17日 12:39