file2markdown

file2markdown MCP server

Let Claude, Cursor, or any MCP client convert documents and web pages to Markdown mid-conversation, without switching tabs. Paste one URL into your client and you're set.

Endpoint

https://mcp.file2markdown.ai/mcp

Streamable HTTP transport. No signup needed for the free tier.

Tools

All conversion tools return a quality field: an output-health check of the returned Markdown (status, coverage, and any flagged issues with line ranges). It does not compare against the source. Pass quality_check: "ai" to also send selected excerpts of the converted text (never your source file) to TypeSafe for narrow yes/no checks. It is off unless requested and works for PDFs only for now.

Why not just ask the model?

Because asking an LLM for “the markdown” of a document makes it retype the document. Models paraphrase, invent table cells, and silently truncate long files. This server runs real extraction engines instead:

For a short plain-text snippet, sure, just ask your model. The moment there's a table, a long document, a scan, or a file behind a URL, extraction beats regeneration.

Add to Claude

claude.ai: Customize → Connectors → + Add → Add custom connector. Name it (for example, file2markdown), paste the endpoint URL and click Continue. Under Authentication, choose No sign in: this server uses API keys, not OAuth. To use a Pro key, add it under Request headers in the same dialog: header name Authorization, value Bearer f2m_… (the word Bearer, a space, then your key). Then click Add. Without a key you get the free tier (5 conversions/day per network). Request headers are still in beta on Claude and not every account has them yet. If you don't see that section, the connector runs on the free tier.

Claude Code:

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

Cursor / generic clients (JSON config):

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

Tiers

Free (no key)Pro API key
Conversions5/day per networkUnlimited
Max download size25MB100MB
Scanned-PDF OCRNoYes
Image OCR (jpg/png)NoYes

The free tier is limited per network IP, so shared networks (and hosted agents) may hit it sooner. A Pro key removes the limit: create one on your account page and send it as Authorization: Bearer f2m_…. Plans: pricing.

In-browser tools (WebMCP)

file2markdown's pages also register WebMCP tools for browser-integrated agents (Chrome 149+ origin trial, Edge 150, ChatGPT Desktop). On the convert page an agent can run conversions on files you added (the one thing a remote server can't reach is your local disk), plus convert_website and format_for_linkedin on the free tools. Your signed-in session carries your plan: no API key needed in the browser.

Prefer a browser?

The same converter runs at /tools/website-to-markdown for URLs, and on the main converter for file uploads.