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

html-to-markdown-x402

by Br0ski777

HTML to Markdown API

MCP Server x402 License: MIT

Convierte HTML a Markdown limpio: elimina scripts y estilos, conserva encabezados, enlaces, listas e imágenes. Pago por llamada mediante x402 (USDC en Base L2) -- sin clave de API, sin registro, sin muro de límite de tasa.

Forma parte del marketplace klymax402 -- 100 APIs de micropago x402 para agentes de IA, una sola cartera, USDC en Base.

Inicio rápido -- MCP

Añade esto a la configuración de tu cliente MCP (Claude Desktop, Cursor, ElizaOS, etc.):

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

Related MCP server: web-scraper

Inicio rápido -- 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

Cualquier cliente compatible con x402 (@x402/fetch, x402-agent-tools, ATXP) gestiona automáticamente el ciclo 402 -> firma -> reintento.

Herramientas

Herramienta

Método

Ruta

Precio

Descripción

text_convert_html_to_markdown

POST

/api/convert

$0.003

Convierte HTML a Markdown

text_convert_html_to_markdown

Úsalo cuando necesites convertir HTML a texto Markdown limpio. Devuelve el Markdown convertido en JSON.

Parámetros

Nombre

Tipo

Obligatorio

Descripción

html

string

sí

contenido HTML que se convertirá en Markdown

Ejemplo de respuesta:

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

Cuándo usarlo: para convertir contenido web a un formato apto para LLMs, migrar contenido de CMS, limpiar correos HTML y preparar contenido para sistemas basados en Markdown.

No para: Markdown a HTML (usa text_convert_markdown_to_htm), web scraping (descarga + convert) (usa web_scraper_to_markdown) ni generación de PDF (usa document_generate_pdf).

Ejemplo de prompts para agentemas

  • "Convert HTML a texto Markdown limpio"

Pago


  • Protocolo: x402 -- pago por llamada nativo HTTP, sin registro, sin clave de API

  • Rede: Base L2 de transferencia (eip155:8453)

  • Activo: USDC

  • Facilitador: Coinbase CDP (principal) (principal), PayAI () de respaldo) (respald). *También alcanzable a través de ATXP (x402 envuelto en OAuth, redes)

Parte de klymax402

100 APIs x2 de micro-pago para agentes -- una cartera, USDC en Base, cero apertura de cuenta.

Licencia

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.
      -