agentmd-mcp

MCP serverDocs & knowledge

agentmd turns PDFs, Word documents, HTML pages, and web addresses into markdown your AI can read. Tables are kept intact through the conversion, so structured content stays usable. Once added, your AI can convert documents and pages into clean, ready-to-use markdown whenever it needs to.

Available today. Use it from your connected AI after setup.

After adding agentmd, point it at a PDF, DOCX file, HTML page, or URL you want converted. It returns clean markdown with tables preserved, ready for your AI to work with.

Then ask your AI: use agentmd-mcp to convert url to markdown

What your AI can do with it

  • Convert PDF files into markdown
  • Convert Word (DOCX) documents into markdown
  • Convert HTML pages into markdown
  • Turn content from a URL into markdown
  • Keep tables intact during conversion
  • Produce clean markdown that is easy for AI models to read

From the project's README

As published by djrobson5/agentmd-mcp in README.md.

MCP server for AgentMD — convert PDF, DOCX, HTML, and URLs into clean, LLM-ready markdown, with tables preserved and web-page boilerplate stripped.

Agents ingest documents constantly, and most document formats are hostile to language models. This gives your agent three tools that turn any of them into markdown it can actually read.

Install

Get a free API key (50 conversions, no card) at https://www.getagentmd.com — or fully programmatically:

curl -X POST https://www.getagentmd.com/api/v1/keys/free \
  -H "Content-Type: application/json" -d '{"email": "you@example.com"}'

Then:

Claude Code

claude mcp add agentmd --env AGENTMD_API_KEY=<your-key> -- npx -y agentmd-mcp

Any MCP client (mcp.json / claude_desktop_config.json):

{
  "mcpServers": {
    "agentmd": {
      "command": "npx",
      "args": ["-y", "agentmd-mcp"],
      "env": { "AGENTMD_API_KEY": "<your-key>" }
    }
  }
}

Remote (no install) — the hosted server speaks streamable HTTP directly:

claude mcp add --transport http agentmd https://www.getagentmd.com/api/mcp \
  --header "Authorization: Bearer <your-key>"

Tools

ToolUse it for
convert_url_to_markdownA web page or a document at an http(s) URL
convert_file_to_markdownA document on the local filesystem, by path
convert_document_to_markdownDocument bytes you already hold, as base64

All three return markdown, prefixed with the detected title and any warnings.

Supported formats

  • PDF — text extraction (scanned/image-only PDFs return a warning; OCR is on the roadmap)
  • DOCX — headings, lists, and tables preserved
  • HTML / URLs — main-article extraction, GFM tables, links resolved to absolute URLs
  • Markdown / plain text — normalized passthrough

Limit: 25 MB per document.

Configuration

VariableRequiredPurpose
AGENTMD_API_KEYyesYour API key
AGENTMD_BASE_URLnoPoint at a different deployment (self-hosting, staging)

Pricing

First 50 conversions free (per email, no card). After that, $0.002 per successful conversion, billed monthly. No per-seat licensing — you pay for calls your agents actually make.

License

MIT (this client shim). The hosted service has its own terms.

Tools it offers (2)

What this server listed when ahel dialed its public endpoint in Sep 2026, with no key and no account of yours. The names are the server’s own.

  • convert_url_to_markdown
  • convert_document_to_markdown

Signals

Last commit
Aug 2026
Weekly downloads
310
Advanced
Delivery
agentmd MCP server → your ahel gateway (mcp.ahel.ai) → every connected AI client.
Catalog kind
mcp-server
Gateway key
io-github-djrobson5-agentmd
Source
github.com/djrobson5/agentmd-mcp
Hosted endpoint
https://www.getagentmd.com/api/mcp