# Markdown to HTML API [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/Br0ski777/markdown-to-html-x402  
**GitHub Stars:** 0  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/markdown-to-html-api

## Description
Convert markdown to clean HTML with headings, lists, code blocks. x402 micropayment.

## Tools
Capabilities this server exposes over MCP:

- **text_convert_markdown_to_html** — Convert markdown text to HTML
- **markdown** — Markdown text to convert
- **wrapInDocument** — Wrap output in full HTML document (default: false)

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

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

## Documentation

## What Markdown to HTML API MCP server does

The Markdown to HTML API MCP server accepts Markdown text and returns converted HTML in JSON. Its supported Markdown output includes headings, lists, code blocks, tables, links, and images. The result can either be an HTML fragment or, when requested, a complete HTML document.

The service is intended for workflows that need to render or publish Markdown-derived content. Suitable examples include preparing README content for a web page, generating documentation pages, rendering Markdown in an application, and creating email-template markup. It does not provide HTML-to-Markdown conversion, CSS theme rendering, or PDF generation.

## How it works

The server is hosted at `https://markdown-to-html.api.klymax402.com/mcp` and can be added to an MCP client as a remote server URL. The exposed MCP tool is `text_convert_markdown_to_html`.

A tool call requires a `markdown` string. The optional `wrapInDocument` boolean controls whether the returned HTML is wrapped in a full document; its default is `false`. Responses include the generated HTML along with the input and output lengths.

The same conversion service is available over HTTP at `/api/convert` using a POST request with a JSON body. An unpaid request receives an HTTP 402 response containing an x402 payment challenge. An x402-aware client can complete the payment and retry the request.

## Tools and capabilities

`text_convert_markdown_to_html` provides one conversion operation:

- `markdown` — required Markdown text to convert.
- `wrapInDocument` — optional boolean that requests a full HTML document instead of only converted content.

The documented price is $0.003 per call. Payments use the x402 protocol with USDC on Base L2, identified as `eip155:8453`. The README states that the service does not require an API key or signup. It also identifies Coinbase CDP as the primary payment facilitator and PayAI as a fallback.

## Setup and configuration

Add the hosted MCP URL to the client configuration. For Claude Desktop or Cursor, the server entry uses the `url` field and does not require a local command or package installation:

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

The README also lists ElizaOS as an MCP client example. For direct HTTP use, send JSON with a `markdown` property to `https://markdown-to-html.api.klymax402.com/api/convert`; payment handling must support x402.

## Limitations and notes

This Markdown to HTML API MCP server is a paid, pay-per-call service rather than a free local utility. Calls require an x402-compatible payment flow and USDC on Base L2, even though no API key or account signup is required. The supplied material does not document options for custom CSS, themes, PDF output, or conversion in the opposite direction.

The service is licensed under MIT. Its documented MCP endpoint is remote, so local execution details, environment variables, and a self-hosted installation command are not provided.

_Full upstream README: https://allmcps.com/mcp/markdown-to-html-api/readme_

