Skip to main content
Glama
html-to-markdown-x402

html-to-markdown-x402

by Br0ski777

HTML to Markdown API

MCP Server x402 ![License: MIT](https://img.shields.io/badge/license-MIT-green

HTML をクリーンな Markdown に変換します。スクリプト/スタイルを除去し、見出し、リンク、リスト、画像を保持します。x402 による従量課金制(Base L2 上での USDC)で、API キーもサインアップも、レート制限の壁もありません。

klymax402 マーケットプレイスの一部です。AI エージェント向けの 100 の x402 マイクロペイメント API -- ウォレット 1 つ、Base 上での USDC です。

クィックスタート -- MCP

お使いの MCP クライアントの設定(Claude Desktop、Cursor、エリーザOS など)に追加してください:

{
  "mcpServers": {
    "html-to-markdown": {
      "url": "https://html-to-markdown.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: web-scraper

クィックスタート -- HTTP(x402)

curl -X POST "https://html-to-markdown.api.klymax402.com/api/convert" \
  -H "Content-Type: application/json" \
  -d '{"html":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

x402 対応のクライアント(@x402/fetch、x402-agent-tool、ATXP など)は、402 → 署名 → 再試行のサイクルを自動的に処理します。

ツール

ツール

メーソッド

パス

価格

説明

text_convert_html_to_markdown

POST

/api/convert

$0.003

HTML を Markdown に変換します

text_convert_html_to_markdown

HTML をクリーンな Markdown テキストに変換する必要がある場合に使用します。変換された Markdown を JSON で返します。

パラメータ

名前

型

必須

説明

html

string

は

Markdown に変換する HTML コンテンツツ

レスポンス例:

{"markdown":"# Hello World\n\nThis is **bold** and *italic*.\n\n[Link](https://example.com)","inputLength":156,"outputLength":68,"strippedElements":["script","style"]}

使用する場面: Web コンテンツツを LLM 向けの形式に変換する、CMS コンテンツツを移行、HTML メールをクリーニング、Markdown ベースのシステム向けコンテンツツを準備する。

不向きな用途: Markdown から HTML への変換(text_convert_markdown_to_default を使用)、ウェブスクレイピング(取得 + 変換)(web_scrape_to_markdown を使用)、PDF 生成(document_generate_pdf を使用)。

エージェントプロンプト例

  • "HTML をクリーンな Markdown テキストに変換して"

支払い

  • プロトコル: x402 -- HTTP ネイティブの従量コール、サインアップ不要、API キー不要

  • ネットワーク: Base L2(eip155:8453)

  • アセット: USDC

  • ファシリテーター: Coibase CDP (ライマリ)、PayAI(フォールバック)

  • また、ATXP(OAuth ラップの x402、RFCP 9728 保護リソースメタデータ)経由でも利用可能

klymax402 の一部

AI エージェント向け 100 の 402 マイクロペイメント方式 -- ウォレット 1 つ、Base 上の USDC、サインアップゼロ。

ライセンス

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables extracting clean Markdown from any webpage by paying $0.005 USDC per call via the x402 protocol, with automatic wallet-based payment settlement.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables extracting clean, structured markdown from any URL—stripping nav, ads, and scripts—for RAG pipelines and AI research agents, with pay-per-call micropayments via x402.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables converting Markdown text into clean HTML for headings, lists, code blocks, tables, links, and images, with optional full-document wrapping via x402 micropayments.
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables LLM agents to convert bloated webpages into clean token-dense plain text, stripping HTML, CSS, scripts, and layout elements while reducing context-window costs and supporting x402 micro-pay-based autonomous requests.
      -