
Doc_Conv — Document to Markdown
io.github.nicklee002e由 GitHub 帳號 nicklee002e 發布v1.0.2更新於 Oct 24, 2026
Convert PDF/Word/Excel/PowerPoint documents to Markdown, paid in USDC via x402.
概覽
將 PDF、Word、Excel、PowerPoint 文件轉為 Markdown,可免費詢價,並依次數透過 Base 上的 x402 以 USDC 付費轉換。
- 可以做什麼
- 詢價:估算本機檔案的頁數、點數與 USDC 價格,免費且不需要錢包。
- 轉換文件:依報價透過 x402 付款並取得 Markdown;含圖片的文件會回傳 zip 下載連結。
- 控制花費:為每次轉換設定 USDC 上限,超過報價會被拒絕。
- 適用情境
- 適合助理需要讀取 PDF、DOCX、XLSX 或 PPTX 等排版檔案,而先轉成 Markdown 能明顯節省 token 的情況。可先用免費詢價試用,確實需要轉換時再設定有餘額的錢包。
- 執行需求
- 以 PyPI 套件 docconv-mcp 在本機執行(uvx 或 pip),僅限桌面端。estimate_conversion 不需要帳號或金鑰。convert_document 需要 DOC_CONV_AGENT_PK,即持有 USDC 的 Base 錢包私鑰;DOC_CONV_BASE_URL 可覆寫預設的託管服務網址。需能連線至 Doc_Conv 服務。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Doc_Conv — Document to Markdown,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
docconv-mcp
MCP server for Doc_Conv — convert PDF / Word / Excel / PowerPoint documents to Markdown, paid per conversion with USDC on Base via the x402 protocol (gasless, EIP-3009). No account, no API key: the agent signs a USDC payment and the service returns Markdown.
Why? Feeding formatted files (PDF/PPT/DOCX) straight into an LLM can cost 5–50× more tokens than the same content as Markdown. This lets an agent cheaply pre-convert documents before use.
Tools
estimate_conversion(file_path)— free price quote (pages,credits,priceUsdc,jobId,jobToken). No payment, no side effects.convert_document(file_path, max_usdc=1.0, poll_seconds=300)— pays via x402 (rejects if the quote exceedsmax_usdc) and converts. Returns inlinemarkdownfor text documents, or adownloadUrl(zip) when the document contains images.
Try it without a wallet
Pricing is free and needs no key, no account, no wallet — install it and ask for a quote:
Then: "How much would it cost to convert ~/papers/report.pdf?" — the agent calls
estimate_conversion and answers. Add a wallet only when you want an actual conversion.
Install
Published to PyPI as docconv-mcp. Run with
uvx (no install) or pip install docconv-mcp.
Configuration (env)
The wallet needs USDC on Base; gas is paid by the service's x402 facilitator (the agent needs
no ETH). Pricing is by document size: 50 pages = 1 credit = 0.2 USDC (call estimate_conversion
for the exact amount).
Claude Desktop / Claude Code (claude_desktop_config.json or .mcp.json)
Claude Code one-liner:
Example
"Convert
~/papers/report.pdfto Markdown."
The agent calls estimate_conversion to see the price (e.g. 0.3 USDC), then convert_document to
pay via x402 and return the Markdown. If conversion fails, the paid credit is retained on the payer
wallet for reuse.
⚠️
convert_documentspends real USDC. Usemax_usdcto cap per-call cost.
Links
- Service: https://converter.crepe.fund
- Agent API (OpenAPI): https://converter.crepe.fund/openapi.json
- x402 discovery: https://converter.crepe.fund/.well-known/x402.json
- Operator: CREPE Foundation
License
MIT © CREPE Foundation
來源:README.md,提交 e81916f
工具
0版本歷史
2- v1.0.2最新Oct 18, 2026
- v1.0.1Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
