MCP server: convert PDF, DOCX, HTML, and URLs to clean, LLM-ready markdown
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Documented (README)
claude mcp add agentmd-mcp -- npx -y agentmd-mcp{
"mcpServers": {
"agentmd-mcp": {
"command": "npx",
"args": ["-y", "agentmd-mcp"],
"env": {
"AGENTMD_API_KEY": "<agentmd_api_key>"
}
}
}
}AGENTMD_API_KEYMCP Servers overview
# agentmd-mcp
MCP server for [AgentMD](https://www.getagentmd.com) — 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:
```bash
curl -X POST https://www.getagentmd.com/api/v1/keys/free \
-H "Content-Type: application/json" -d '{"email": "you@example.com"}'
```
Then:
**Claude Code**
```bash
claude mcp add agentmd --env AGENTMD_API_KEY=<your-key> -- npx -y agentmd-mcp
```
**Any MCP client** (`mcp.json` / `claude_desktop_config.json`):
```json
{
"mcpServers": {
"agentmd": {
"command": "npx",
"args": ["-y", "agentmd-mcp"],
"env": { "AGENTMD_API_KEY": "<your-key>" }
}
}
}
```
**Docker**
```bash
docker build -t agentmd-mcp .
docker run -i --rm -e AGENTMD_API_KEY=<your-key> agentmd-mcp
```
The image runs the stdio server, so pass `-i`; the API key is supplied at run time with `-e` rather than baked into the image. To wire the container into an MCP client:
```json
{
"mcpServers": {
"agentmd": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "AGENTMD_API_KEY", "agentmd-mcp"],
"env": { "AGENTMD_API_KEY": "<your-key>" }
}
}
}
```
**Remote (no install)** — the hosted server speaks streamable HTTP directly:
```bash
claude mcp add --transport http agentmd https://www.getagentmd.com/api/mcp \
--header "Authorization: Bearer <your-key>"
```
## Tools
| Tool | Use it for |
| --- | --- |
| `convert_url_to_markdown` | A web page or a document at an http(s) URL |
| `convert_file_to_markdown` | A document on the local filesystem, by path |
| `convert_document_to_markdown` | Document 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
| Variable | Required | Purpose |
| --- | --- | --- |
| `AGENTMD_API_KEY` | yes | Your API key |
| `AGENTMD_BASE_URL` | no | Point 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.
What people ask about agentmd-mcp
What is djrobson5/agentmd-mcp?
+
djrobson5/agentmd-mcp is mcp servers for the Claude AI ecosystem. MCP server: convert PDF, DOCX, HTML, and URLs to clean, LLM-ready markdown It has 0 GitHub stars and its last recorded update is dated 2026-09-16.
How do I install agentmd-mcp?
+
You can install agentmd-mcp by cloning the repository (https://github.com/djrobson5/agentmd-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is djrobson5/agentmd-mcp safe to use?
+
Our security agent has analyzed djrobson5/agentmd-mcp and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains djrobson5/agentmd-mcp?
+
djrobson5/agentmd-mcp is maintained by djrobson5. The last recorded GitHub activity is dated 2026-09-16, with 0 open issues.
Are there alternatives to agentmd-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy agentmd-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/djrobson5-agentmd-mcp)<a href="https://claudewave.com/repo/djrobson5-agentmd-mcp"><img src="https://claudewave.com/api/badge/djrobson5-agentmd-mcp" alt="Featured on ClaudeWave: djrobson5/agentmd-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
The fastest path to AI-powered full stack observability, even for lean teams.