MCP.so
Sign In

Html To Markdown X402

@Br0ski777

About Html To Markdown X402

Convert HTML to clean Markdown -- strips scripts/styles, preserves headings, links, lists, images. -- x402 micropayment API + MCP server for AI agents

Basic information

Category

Other

License

MIT

Runtime

node

Transports

stdio

Publisher

Br0ski777

Submitted by

Br0ski777

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "html-to-markdown": {
      "url": "https://html-to-markdown-production-3fc7.up.railway.app/mcp",
      "transport": "sse"
    }
  }
}

Tools

1

POST

Overview

What is Html To Markdown X402?

Html To Markdown X402 is an MCP server that converts HTML into clean Markdown text, stripping scripts and styles while preserving headings, links, lists, and images. It operates on a pay-per-call model via the x402 protocol (USDC on Base L2), requiring no API key, signup, or rate-limit walls. It is part of the klymax402 marketplace of 100 x402 micropayment APIs for AI agents.

How to use Html To Markdown X402?

Add the server URL https://html-to-markdown.api.klymax402.com/mcp to your MCP client config (e.g., Claude Desktop, Cursor, ElizaOS). Alternatively, call the HTTP endpoint directly with a POST request—any x402-aware client handles the payment challenge automatically.

Key features of Html To Markdown X402

  • Pay-per-call micropayments via x402 (USDC on Base L2)
  • No API key, signup, or rate-limit walls
  • Strips <script> and <style> elements
  • Preserves headings, links, lists, and images
  • Returns JSON with markdown, input/output lengths, and stripped elements
  • Single tool: text_convert_html_to_markdown at $0.001 per call

Use cases of Html To Markdown X402

  • Converting web content into an LLM-friendly format
  • Migrating content from a CMS to a markdown-based system
  • Cleaning up HTML emails for plain-text storage or display
  • Preparing scraped or captured HTML for markdown-based documentation

FAQ from Html To Markdown X402

How does payment work with x402?

Each call costs $0.001 USDC on Base L2. The x402 protocol sends a 402 Payment Required challenge; x402-aware clients automatically sign and retry. No signup or API key is needed.

What input does the server require?

The only required parameter is html (a string). The server returns a JSON object containing the converted markdown, input length, output length, and a list of stripped elements.

What content is stripped from the HTML?

<script> and <style> elements are stripped. All other content (headings, links, lists, images) is preserved in the markdown output.

What are the limitations of Html To Markdown X402?

This tool is not for converting markdown to HTML (use text_convert_markdown_to_html), web scraping with fetching (use web_scrape_to_markdown), or PDF generation (use document_generate_pdf). It only converts provided HTML.

How do I configure the server in an MCP client?

Add the following to your client’s mcpServers config: "html-to-markdown": { "url": "https://html-to-markdown.api.klymax402.com/mcp" }. No authentication or additional keys are required.

Comments

More Other MCP servers