# Doc to Markdown for AI Agents

> Doc to Markdown for AI Agents is a paid MCP server for files and documents. Convert PDF, Word, PowerPoint, Excel and HTML links to Markdown with RAG chunks. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, Web
- **Website:** https://apify.com/sourcewire/doc-to-markdown
- **MCP Registry name:** dev.sourcewire/doc-to-markdown
- **Categories:** files and documents, AI models and LLM tooling
- **Listing updated:** 2026-11-15

## About

Billing is tied to success: a document is only charged when it converts, and bad links, oversized or password-protected files, and scanned PDFs without a text layer return an error code instead. Each URL gets one JSON record with status, title, page and word counts, estimated tokens, table count, the Markdown and optional chunks.

Tables are rebuilt as Markdown, including borderless ones in papers and reports, multi-column PDFs are read column by column, and headings are inferred from font size so chunks carry a heading path. Chunk size, overlap and strategy (size, section, page or none) are configurable, and Google Docs, Drive, Dropbox and GitHub links are turned into direct downloads. It runs as an Apify Actor through the Apify MCP server.

## Features

- **Many formats:** PDF, DOCX, PPTX, XLSX/XLS, HTML, CSV, TXT and Markdown.
- **Table preservation:** Ruled and borderless tables become Markdown tables.
- **Heading-aware chunks:** Configurable size and overlap with page and heading path.
- **Failure-safe billing:** Failed, scanned and skipped documents are not charged.
- **Share-link support:** Google, Dropbox and GitHub links resolve to direct downloads.
- **Change detection:** A sha256 field lets you skip unchanged files.

## Good for

- Ingest manuals and policies into a vector database
- Give an agent a read-this-document tool
- Turn Excel reports into Markdown tables
- Convert slide decks and Word libraries for a wiki
- Extract filings with page numbers for citations

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http doc-to-markdown 'https://mcp.apify.com/?tools=sourcewire/doc-to-markdown'
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.apify.com/?tools=sourcewire/doc-to-markdown
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "doc-to-markdown": {
      "url": "https://mcp.apify.com/?tools=sourcewire/doc-to-markdown"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "doc-to-markdown": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=sourcewire/doc-to-markdown"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "doc-to-markdown": {
      "serverUrl": "https://mcp.apify.com/?tools=sourcewire/doc-to-markdown"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "doc-to-markdown": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=sourcewire/doc-to-markdown"
    }
  }
}
```

## FAQ

### What does it cost?

From $5.00 per 1,000 converted documents; long documents count extra events.

### What happens with scanned PDFs?

They return status needs_ocr and are not charged.

### Are my files kept?

The page says they are processed in temporary storage and deleted after conversion.

### How many URLs per run?

Up to 100 by default (maxDocuments).

### Is Doc to Markdown for AI Agents free?

No. Doc to Markdown for AI Agents is a paid product.

### How do I add Doc to Markdown for AI Agents to Claude Code?

Run this command in your terminal: claude mcp add --transport http doc-to-markdown 'https://mcp.apify.com/?tools=sourcewire/doc-to-markdown'

### What are the best alternatives to Doc to Markdown for AI Agents?

The closest alternatives to Doc to Markdown for AI Agents are Claude Code Ultimate Guide, ASTra, CARTESIAN ECU, Invoices and SigPen.

## Alternatives

- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [ASTra](https://ai-powered.com/mcp/astra): ASTra is a freemium MCP server for files and documents.
- [CARTESIAN ECU](https://ai-powered.com/mcp/cartesian-ecu): CARTESIAN ECU is a paid MCP server for files and documents.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.
- [SigPen](https://ai-powered.com/mcp/sigpen): SigPen is a freemium MCP server for files and documents.
- [ConvertAudioToText](https://ai-powered.com/mcp/convertaudiototext): ConvertAudioToText is a freemium MCP server for design and media.
- [signafAIde](https://ai-powered.com/mcp/signafaide): signafAIde is a freemium MCP server for security.
- [Toolkien](https://ai-powered.com/mcp/toolkien): Toolkien is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/doc-to-markdown-for-ai-agents
