Repository avatar
Other Tools
v2.0.0
active

toolkit-fun

io.github.x2v-co/toolkit-fun

Convert PDF, Office docs & web URLs into clean Markdown, with Pro+ table/two-column & OCR mode.

Documentation

ToolkitFun (toolkit.fun) — Document-to-Markdown MCP Server & Document Solutions

Website CN Mirror MCP Server Card

Convert PDF, Office documents (DOCX, DOC, PPTX, PPT, XLSX, CSV, EPUB, RTF, ODT, ODS, ODP) and public web URLs into clean, token-efficient Markdown — available as a no-login web app, REST API, and hosted Streamable HTTP MCP server for Cursor, Claude Desktop, and custom AI agents.

Looking to estimate LLM & OCR/MCP token costs across 30+ providers? See our sister project aiplans.dev (github.com/x2v-co/aiplans).


Live Endpoints

SurfaceGlobalChina Direct
Document to Markdown (Web)https://toolkit.fun/document-to-markdownhttps://cn.toolkit.fun/document-to-markdown
Solutions Hubhttps://toolkit.fun/solutionshttps://cn.toolkit.fun/solutions
Fillable PDF Form Builderhttps://toolkit.fun/solutions/documents/fillable-pdfhttps://cn.toolkit.fun/solutions/documents/fillable-pdf
MCP Endpoint (Streamable HTTP)https://toolkit.fun/mcp?mode=bothhttps://cn.toolkit.fun/mcp?mode=both
MCP Server Card (Discovery JSON)https://toolkit.fun/.well-known/mcp/server-card.jsonhttps://cn.toolkit.fun/.well-known/mcp/server-card.json
Agent Skill & llms.txthttps://toolkit.fun/SKILL.md · https://toolkit.fun/llms.txthttps://cn.toolkit.fun/SKILL.md

Quick Start: Connect via MCP (Cursor / Claude Desktop / Windsurf)

  1. Generate an API token at toolkit.fun/app#api (or cn.toolkit.fun/app#api).
  2. Add the hosted Streamable HTTP MCP server to your client config:
{
  "mcpServers": {
    "toolkitfun": {
      "type": "http",
      "url": "https://toolkit.fun/mcp?mode=both",
      "headers": {
        "Authorization": "Bearer <YOUR_API_TOKEN>"
      }
    }
  }
}

Exposed MCP Tools

  • document_to_markdown
    • Inputs: exactly one of contentBase64, contentText, or url, plus optional filename, format, quality ("standard" default or "high" for Pro+ PDF table reconstruction, two-column reading order, header/footer stripping & scanned PDF OCR), waitForResult (default true), and timeoutMs (up to 25000 ms).
    • Returns clean Markdown inline if conversion completes within the bounded wait window, or { status: "processing", jobId } for async polling without cancelling the job.
  • document_to_markdown_status
    • Polls an async conversion job by jobId (strictly scoped to the authenticated owner) and returns Markdown + conversion metadata once finished.

Key Capabilities

  • Pro+ High-Accuracy PDF Mode (quality: "high"): Reconstructs GitHub-Flavored Markdown (GFM) tables, preserves two-column reading order (including CJK layouts), strips running headers/footers, and automatically runs OCR on scanned PDF pages (up to 20 / 40 / 60 pages/doc on Pro / Plus / Team).
  • SSRF-Hardened URL-to-Markdown: Enforces public HTTP/HTTPS only, DNS-pinned unicast IP validation, manual hop-by-hop redirect checks, streaming size caps, and noise removal (<script>, <style>, <nav>, <footer>) before converting to clean Markdown.
  • Isolated Worker Execution: Document parsing runs in isolated worker threads with zero credential exposure.
  • No-Login Web Trial: Try 3 instant presets (0 quota) or convert up to 3 files/URLs per day (≤ 2 MiB) directly at toolkit.fun/document-to-markdown.
  • Fillable PDF Form Builder: Visual AcroForm editor (Text, Checkbox, Radio, Dropdown) with 3 no-login interactive templates (onboarding, expense, nda) at toolkit.fun/solutions/documents/fillable-pdf.

REST API Example

# Convert a public web URL to clean Markdown
curl -X POST "https://toolkit.fun/api/v1/worker-jobs/anydoc/convert" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://aiplans.dev/en/guides/mcp-agent-api-cost-guide",
    "quality": "standard"
  }'

Plans & Limits

PlanMonthly Price (Global / CN)Conversions / moMax File SizeHigh-Accuracy PDF & OCRRetention
GuestFree (no login)3 / day2 MiBStandard only1 hour
Free$0 / ¥010 / mo4 MiBStandard only7 days
Pro$19 / ¥39300 / mo8 MiBUp to 20 pages/doc30 days
Plus$29 / ¥991,000 / mo8 MiBUp to 40 pages/doc60 days
Team (5 seats)$79 / ¥3995,000 / mo8 MiBUp to 60 pages/doc90 days

License

See LICENSE. Public showcase & MCP documentation repository for Toolkit.fun.

No installation packages available.