Parse documents from Claude Code

Install with two commands, then ask Claude to parse a document: DOCX, PPTX, XLSX, PDF and more.

Install the Skill

Run two commands inside Claude Code. The first adds the AILANG Parse marketplace, the second installs the plugin:

# Run both inside Claude Code
/plugin marketplace add sunholo-data/docparse-skill
/plugin install ailang-parse@ailang-parse-marketplace

This adds the AILANG Parse skill to Claude Code. Claude then uses it whenever you ask it to parse, extract from or convert a document. There are no configuration files to edit.

The plugin connects Claude Code to the hosted AILANG Parse service at https://docparse.ailang.sunholo.com/mcp/connect/ and signs in with OAuth (see Authentication). The skill can also use the local docparse CLI, for documents that must not leave your machine. You just ask in plain English.

Usage Examples

After installing, tell Claude what you need:

> Parse this contract and extract all track changes
> What tables are in quarterly_report.xlsx?
> Convert presentation.pptx to markdown
> Extract comments from legal_draft.docx with authors
> Parse invoice.pdf and return structured JSON
> Turn these release notes into a PowerPoint
> Write that summary up as a Word document

Claude uploads the file, detects its format and deals with errors. You get structured blocks back, ready to use in your code or pass to another tool.

What the Skill Can Do

17 Input Formats

  • Office: DOCX, PPTX, XLSX, ODT, ODP, ODS
  • Text: CSV, Markdown, HTML, EPUB, EML, MBOX, TEX, RTF
  • PDF: text-layer extraction with pdftotext, no AI; AI only when you ask for it (scanned PDFs)
  • Images (AI): PNG, JPG

4 Output Formats

  • blocks — structured JSON with typed blocks (Text, Heading, Table, Image, List, Section, Change, Audio, Video)
  • markdown — clean Markdown rendering
  • html — semantic HTML
  • a2ui — A2UI protocol for agent UIs

Key Features

  • Office files parsed without AI — the same file always gives the same result, with no per-page billing
  • AI for images and scanned PDFs — works with Gemini, Claude or Ollama models
  • Track changes, comments, merged cells — read directly from the file’s own structure
  • Cost estimate before parsing — see whether a file needs AI and how long it will take
  • OAuth sign-in — sign in once in the browser; Claude Code holds the token, you never paste a key
  • Download links — generated Word, PowerPoint and Excel files come back as a one-hour download link

Authentication

The plugin signs in with OAuth. There is no API key to copy or paste:

  1. Run /mcp, choose ailang-parse → Authenticate (or just ask for a parse; the first call that needs your account starts it)
  2. A sign-in page opens on docparse.ailang.sunholo.com, showing which app is asking
  3. Sign in with Google or GitHub and click Allow
  4. Claude Code keeps the token and renews it daily, so later requests need no sign-in

The token is an ordinary AILANG Parse key on your account, listed on your dashboard as oauth: <app>, where you can revoke it. Usage counts against your plan like any other key; the Free tier gives you 1,000 requests/month to start.

Scripts, SDKs and headless agents use a dp_ API key instead: create one on the dashboard or with the device authorization flow (the skill's scripts/device-auth.sh, the SDKs, or the mcpAuth tool on the agent endpoint /mcp/), and set it as DOCPARSE_API_KEY. See two ways to sign in.

API Endpoints Available

The skill can call these endpoints for you:

EndpointMethodPurpose
/api/v1/parsePOSTParse any document into structured blocks
/api/v1/estimatePOSTCheck cost and latency before parsing
/api/v1/formatsGETList all supported input/output formats
/api/v1/samplesGETTest with built-in sample files
/api/v1/capabilitiesGETEverything the API offers, in a form agents can read
/api/v1/healthGETService status and version

Every error comes with a code and a suggested_fix that Claude can act on. If a parse fails, Claude reads the fix and tries again.

MCP Server

AILANG Parse is also an MCP (Model Context Protocol) server, so any MCP-compatible AI agent can use the same tools. The endpoint and setup are on the MCP server page.

The /api/v1/tools endpoint serves the tool definitions in Claude, OpenAI and MCP formats. Any MCP agent can find and call AILANG Parse with no custom integration.

Try in Browser API & SDKs

Frequently Asked Questions

How do I install the AILANG Parse skill for Claude Code?

Inside Claude Code, run /plugin marketplace add sunholo-data/docparse-skill then /plugin install ailang-parse@ailang-parse-marketplace. Claude Code can then parse and generate documents while you code: extract tables, track changes and comments, or turn notes into a DOCX, PPTX or XLSX without leaving the terminal.

What can the AILANG Parse Claude Code skill do?

The skill parses and generates documents. Parsing: ask Claude to extract a specific table, list tracked changes with authors, or pull out comments. Generating: ask for a Word document, a deck or a spreadsheet. Claude writes Markdown and converts it to any of the 9 output formats. It uses the same engine as the API.

Does the Claude Code skill send my documents to external servers?

The plugin's MCP tools use the hosted AILANG Parse service, so documents parsed through them are sent to it. You sign in once with OAuth (Google or GitHub) and Claude Code keeps the access token. For material that must stay on your machine, the skill uses the local docparse CLI instead: Office, text and PDF (pdftotext) files are parsed without uploading anything. See the plugin README for when to use which.

Can I use AILANG Parse with other AI coding assistants besides Claude Code?

Yes. AILANG Parse is also an MCP server that works with Cursor, Windsurf and any other tool that supports MCP. Any custom agent or script can call the REST API.

How do I report a bug or request a feature in AILANG Parse?

Ask Claude to report it. The skill sends it to the AILANG Parse maintainers through the submit_feedback MCP tool, so you do not have to leave your session to open a GitHub issue. It sends a title, description and category (bug, feature, docs or limitation); add a code snippet or contact address if you want a follow-up.