unfold-mcp
Converts a single document (PDF, DOCX, PPTX, XLSX) into Markdown, from a public URL or a local file, using the paid Unfold API with your own marketplace key.
Convert one document to Markdown via the
convert_documenttool, giving eitherurl(public http(s) link) orpath(local file up to 10 MB, uploaded for that request).Format is auto-detected from the file content, so no format argument is needed.
Cap the returned Markdown with
max_chars(100–500,000, default 20,000).Returns the API's JSON response, including
quota_remainingwhen the marketplace reports it.Surfaces plain-language errors with next steps (key refused, quota reached, unprocessable input).
Read-only, idempotent, non-destructive, and calls an open external API.
Requires a RapidAPI or api.market key; the free plan allows 15 requests/month (one request per tool call).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@unfold-mcp Convert this PDF to Markdown: https://example.com/report.pdf"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Unfold MCP server
Give your AI agent the content of PDF, Word (DOCX), PowerPoint (PPTX) and Excel (XLSX) documents as Markdown, from a URL or a local file.
The server is open source (MIT). It calls the Unfold API, which is paid, with a free plan.
You use your own key, from RapidAPI or api.market.
Every tool call is one request on your plan.
The free Basic plan has 15 requests a month, with a hard limit, so it never runs up a bill.
1. Get a key
Related MCP server: md-converter-mcp
2. Add the server to your MCP client
The server runs locally over stdio with uv. Put your key in its environment.
JSON configuration (Claude Desktop, Cursor, VS Code and most clients):
{
"mcpServers": {
"unfold": {
"command": "uvx",
"args": ["--from", "bytestay-unfold-mcp", "unfold-mcp"],
"env": { "RAPIDAPI_KEY": "your-rapidapi-key" }
}
}
}Claude Code:
claude mcp add unfold --env RAPIDAPI_KEY=your-rapidapi-key -- uvx --from bytestay-unfold-mcp unfold-mcpEnvironment
variable | meaning |
| your RapidAPI key |
| your api.market key, used when |
|
|
Up to 0.2.7 the setting was HFL_MARKETPLACE. The old name still works, with a one-line notice on stderr.
Without a key the server still starts. The first tool call then explains where to get one.
Also listed on Glama:
3. Tools
tool | what it does |
| converts one document to Markdown; give a public URL, or a local file to upload |
The format is detected from the content.
Every tool returns the API's JSON response.
When the marketplace reports it,
quota_remainingis added: the requests left on your plan this month.Errors are explained in plain words, with what to do next:
key refused, with the link to subscribe;
quota reached, with the plans;
input the API couldn't process, with the API's reason.
Privacy
Local files are read only when a tool is given their path. They are sent to the API for that one request.
The API processes inputs in memory and doesn't store them. See the privacy policy.
Your key is only sent to the marketplace you chose.
Limits
Local files up to 10 MB.
Markdown up to 500,000 characters.
The server needs Python 3.10+ (uv installs it for you).
Development
uv venv && uv pip install -e ".[dev]"
.venv/bin/pytest # unit tests, no network; 100% coverage required
.venv/bin/ruff check src tests scriptsscripts/e2e_stdio.py unfold runs the server over stdio, as a client would, and calls its tools against the real API. It needs RAPIDAPI_KEY or API_MARKET_KEY.
Licence
MIT. Unfold itself is a paid API with a free plan, run by ByteStay.
Available Tools
1 toolconvert_documentARead-onlyIdempotent
Convert one document to Markdown. Give either url or path. The format is detected from the content.
Inputs: url, path, max_chars.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
There is only one tool, so there is nothing to confuse it with. Its purpose—converting a document to Markdown—is stated explicitly and unambiguously.
A single name, `convert_document`, follows a clear verb_noun snake_case convention. There are no competing conventions to conflict with it.
One tool matches the narrow stated purpose of document-to-Markdown conversion, but it is a thin surface with no room for batch conversion, listing, or format-specific variants. It is borderline thin rather than clearly over- or under-scoped.
The tool accepts either a URL or a path and auto-detects format, covering both common input sources for the core conversion operation. Minor gaps remain: no batch conversion, no output options or post-conversion actions, and no way to inspect or validate a source before converting.
Maintenance
Related MCP Connectors
Convert PDFs, Office files, spreadsheets and images to clean Markdown, sized for agent context.
Convert PDF, Word, Excel and scanned documents to Markdown, tables and RAG chunks. OCR.
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Any URL to clean markdown/JSON; PDF, XLSX, CSV, DOCX to text and tables. Free tier for agents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceConverts documents (PDF, DOCX, images, etc.) to Markdown using Microsoft's Markitdown library, with no local setup required. Integrates with AI agents via MCP for seamless document conversion.1-
- AlicenseAqualityDmaintenanceConverts files (PDF, DOCX, PPTX, XLSX, images via OCR) and URLs to Markdown, enabling AI clients to read them via a single MCP tool.1GPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to inspect and convert PDF, PowerPoint, Excel, and many other file formats into clean, structured Markdown, with chunking support for long documents.Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI agents and MCP-capable platforms to convert documents such as docx, pptx, xlsx, pdf, odt, rtf, epub, and csv into clean GitHub-Flavored Markdown through a single tool call. Runs fully locally with no API key, no network access, and no OCR, returning structured errors for scanned, encrypted, or unsupported files.111 npmMIT