Skip to main content

Unfold MCP server

M8ven Score CI PyPI Python 3.10+ License: MIT MCP Registry Glama 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

marketplace
RapidAPI plans
api.market store

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-mcp

Environment

variable meaning
RAPIDAPI_KEY your RapidAPI key
API_MARKET_KEY your api.market key, used when RAPIDAPI_KEY is not set
BYTESTAY_MARKETPLACE rapidapi or apimarket, when both keys are set

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:

unfold-mcp on Glama

3. Tools

tool what it does
convert_document(url=… | path=…, max_chars=20000) 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_remaining is 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 scripts

scripts/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.

History

Formerly Hybrid Forge Lab. This repository continues hybridforgelab/unfold-mcp under the ByteStay name since November 2026, so the older commits come from there.

Licence

MIT. Unfold itself is a paid API with a free plan, run by ByteStay.

Metadata

Release files for bytestay-unfold-mcp 0.2.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bytestay-unfold-mcp 0.2.9
File Size Uploaded Provenance Actions
bytestay_unfold_mcp-0.2.9.tar.gz 14.6 kB With provenance Details for bytestay_unfold_mcp-0.2.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bytestay-unfold-mcp 0.2.9
File Interpreter ABI Platform Actions
bytestay_unfold_mcp-0.2.9-py3-none-any.whl Python 3 none any Details for bytestay_unfold_mcp-0.2.9-py3-none-any.whl

Total release size: 23.2 kB

Release files / bytestay_unfold_mcp-0.2.9.tar.gz

Download URL bytestay_unfold_mcp-0.2.9.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6929e274bed554f304cb78f274526505681929ca7633af80f67f7139b0a220a0
BLAKE2b-256 checksum
How to use checksums
28dbf2e6566cd3c349a0e56be964b330e31c51a00d2680744424ce6291bc5780
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / bytestay_unfold_mcp-0.2.9-py3-none-any.whl

Download URL bytestay_unfold_mcp-0.2.9-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28927ab9d416d4e93b7baa14ff7c9f2479b749cc7794bd58c5984673593f656e
BLAKE2b-256 checksum
How to use checksums
5aee4c0c88dd497f6a37aeaa51e45871807e29d702842a0af2e7dbcd50eeede6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for bytestay-unfold-mcp 0.2.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bytestay_unfold_mcp-0.2.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page