# file2markdown [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/Robinhill85/file2markdown-mcp  
**GitHub Stars:** 1  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/file2markdown

## Description
Convert documents and web pages to clean Markdown: PDF, DOCX, XLSX, EPUB, scanned files, any URL.

## Tools
Capabilities this server exposes over MCP:

- **convert_url** — Fetch a URL (web page, PDF, Office doc, and more) and convert it to Markdown.

    Works on publicly accessible URLs. Web pages are converted from their
    served HTML; JavaScript-rendered content may be incomplete. Optional
    filename_hint (e.g. "report.pdf") helps format detection when the URL
    has no file extension.

    The result carries a `quality` object (output-health check of the returned
    Markdown: status review / no_issues_detected / not_evaluated, coverage and
    a list of issues with line locations). quality_check="basic" (default)
    runs only local deterministic checks. quality_check="ai" additionally
    sends selected excerpts of the CONVERTED text to TypeSafe for narrow
    yes/no judgments (garbled text, hard-wrapped prose, broken tables); it is
    off unless requested. No check compares against the source document.
    
- **convert_base64** — Convert base64-encoded file contents to Markdown.

    filename is required and drives format detection (e.g. "report.docx").
    Intended for programmatic MCP clients; for anything with a URL, prefer
    convert_url.

    quality_check: "basic" (default) attaches local output-health checks in
    the `quality` field; "ai" additionally sends selected excerpts of the
    converted text to TypeSafe for narrow yes/no judgments. See convert_url.
    
- **convert_batch** — Convert 2-10 documents to Markdown in one call (Pro API key required).

    Each item is either {"url": ..., "filename_hint"?: ...} or
    {"content_base64": ..., "filename": ...}; types may be mixed. Items are
    converted in parallel and isolated: one bad URL or file never fails the
    batch — its slot returns ok:false with the error. The combined markdown
    shares one output budget, split evenly across items (per-item `truncated`
    flags apply). Set include_markdown=false to get only metadata + quality
    per item (health-check a folder without flooding your context).

    Anonymous callers: use convert_url / convert_base64 individually.
    
- **list_supported_formats** — List supported input formats, per-tier limits, and which features need Pro.

    Single source of truth — do not claim capabilities beyond what this
    returns.
    
- **usage_status** — Check your tier and remaining conversions before burning a call.

## 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": {
  "file2markdown": {
    "url": "https://mcp.file2markdown.ai/mcp"
  }
}
```

## Documentation

## What the file2markdown MCP server does

The file2markdown MCP server exposes document and web-page conversion tools through MCP. It connects an MCP client to the hosted file2markdown.ai service at `https://mcp.file2markdown.ai/mcp`, where reachable content is converted into Markdown for agent workflows.

Supported inputs include PDF, DOCX, PPTX, XLSX and XLS, CSV, JSON, XML, HTML, EPUB, JPG and PNG images, WAV, MP3, and ZIP files. Scanned-PDF and image OCR are available with a Pro API key. The service is intended for one conversion at a time rather than crawling or bulk collection.

## How it works

`convert_url` fetches a public URL and returns the resulting Markdown. The URL may point to a web page, PDF, Office file, or another supported format. `convert_base64` accepts file contents directly, which is useful for programmatic MCP clients that already have the data instead of a public URL.

The file2markdown MCP server uses engine-extracted content rather than asking a language model to reconstruct documents. Its output can include tables and other document structure, but the response is limited to 200,000 characters. If that limit is reached, the result is marked with `truncated: true`.

Web pages are converted from the HTML served by the target site. JavaScript is not rendered, so single-page applications, consent screens, paywalls, or JavaScript-only content may produce incomplete or nearly empty results. The service notes likely access issues when it detects near-empty output.

## Setup and configuration

Connect an MCP client to the Streamable HTTP endpoint. Claude Code can be configured with:

```bash
claude mcp add --transport http file2markdown https://mcp.file2markdown.ai/mcp
```

Cursor and other generic clients can use a server entry with the endpoint URL:

```json
{
  "mcpServers": {
    "file2markdown": {
      "url": "https://mcp.file2markdown.ai/mcp"
    }
  }
}
```

No key is needed for the free tier. Free access allows five conversions per day per network IP and a maximum download size of 25 MB. Pro access uses an API key in an `Authorization: Bearer f2m_...` request header, raises the download limit to 100 MB, removes the stated conversion count limit, and enables scanned-PDF and image OCR. Pro keys are created from the file2markdown.ai account page.

## Tools and capabilities

The available tools are:

- `convert_url`: Fetches a public URL and returns Markdown.
- `convert_base64`: Converts file contents supplied directly as encoded data.
- `list_supported_formats`: Reports supported formats, tier-specific limits, and Pro requirements.
- `usage_status`: Reports the current tier and remaining conversions for the day.

## Limitations and notes

The file2markdown MCP server accepts public URLs only and processes one URL per request. It is not a crawler and does not provide bulk scraping. Files are converted and discarded rather than stored; usage logging does not retain URLs or content. Access, download size, daily quota, OCR availability, and output length can affect results.

_Full upstream README: https://allmcps.com/mcp/file2markdown/readme_

