惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
小众软件
小众软件
D
Docker
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
V2EX
博客园 - 叶小钗
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
IT之家
IT之家
博客园 - 司徒正美
M
MIT News - Artificial intelligence
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志
C
Check Point Blog

Inside Nutrient

A guide to the invisible work behind documents Introducing Nutrient Documents for Salesforce: Native document generation and signing Document AI vs. traditional OCR: Choosing between OCR, AI, and hybrid pipelines PDF SDK compliance and security evaluation checklist for enterprise teams (2026) Invariant Corp replaces paper processes with Nutrient Workflow and scales without limits What is process mapping? A complete guide Nutrient vs. Conga Composer for Salesforce document generation (2026) Document routing: How to automate document distribution The CTO’s AI playbook: Why accountability architecture beats orchestration Compliance workflow automation: Why built-in compliance is table stakes Workflow diagrams: Examples, symbols, and how to build one that actually runs Digital forms: Replace paper forms with automated workflows Approval workflow software: How to automate approvals Why document-centric automation is different The CEO’s AI playbook: Why decision architecture beats model selection Nutrient SDK product updates for Q1 2026 PDF redaction verification: How to prove sensitive data is permanently removed What is a VPAT? The complete guide to accessibility conformance reports What is PDF/UA? The accessible PDF standard explained Salesforce eSignatures: Generate, sign, and track documents in one flow Online document viewer: Options, tradeoffs, and how to embed one Document viewer for web apps: React, Vue, Angular (2026) Best document viewers in 2026: A buyer’s guide How to edit a PDF in Python: Add text, images, and annotations Nutrient advances Workflow platform with agentic AI for enterprise-grade speed and consistency in document-heavy operations How to create a Salesforce quote template from opportunity data The business case for accessibility: Five ways it drives enterprise value Python PDF library comparison (2026): 7 libraries for developers Why your AI agent hallucinates PDF table data PDF.js limitations: When to upgrade to a commercial PDF SDK
Teaching LLMs to read PDFs: Convert to HTML and Markdown ...
Nick Winder · 2025-08-14 · via Inside Nutrient

TL;DR

The release of Nutrient DWS MCP Server(opens in a new tab) 0.0.4 adds PDF-to-HTML, Markdown, and PDF/UA conversion capabilities, injecting structure where it was previously lost, and enhancing accessibility to stay up to date and compliant with new regulations.

My first tests connecting Claude Code with Nutrient DWS MCP Server led me to create what might be the most interesting website known to mankind: the “US Tax Forms Browser” — every US citizen’s favorite tax forms, now beautifully rendered in HTML. But behind this tongue-in-cheek project lies something genuinely useful: Claude Code can now talk directly to powerful document processing tools, completely changing how we handle documents. No more API specifications locked up in the PDF format, no painful conversion scripts to extract key information for your application. Now it’s trivial and dynamic.

PDFs run the world, but that world is human-based

PDFs are everywhere in business and government. Tax forms, legal documents, reports, manuals — critical information trapped in a format designed for viewing, but not autonomously processing.

Here at Nutrient, we’ve been solving this problem for customers for years, and now we’re solving this problem for AI.

The challenges are real:

  • Web unfriendly — PDFs don’t play well with responsive design.
  • AI hostile — LLMs struggle with the unstructured nature and formatting of PDFs.
  • Accessibility barriers — Many PDFs fail basic accessibility standards.
  • Search limitations — Content is locked away from modern search experiences.
  • Mobile pain — PDF viewing on mobile devices is tricky, which takes us back to the responsive design issue.

Bridging the gap between development and documents

The latest release of Nutrient Document Web Services (DWS) MCP Server(opens in a new tab) introduces conversion capabilities that solve many of the unstructured issues mentioned above.

The new output formats unlock entirely new workflows:

  1. HTML conversion — Transform PDFs into responsive web content.
  2. Markdown output — Create LLM-friendly, structured text.
  3. PDF/UA generation — Ensure accessibility compliance.

This next section will show how this works in practice with a real-world example using Claude Code and Nutrient DWS MCP Server.

Get started with Nutrient DWS Processor API today and receive 50 free credits monthly! Perfect for watermark-free document processing targeting many use cases.

Building a tax forms browser: From PDFs to a web app

I was frustrated by the experience of browsing US tax forms. The challenge? All the official forms exist only as PDFs — requiring downloads and creating a poor experience on mobile devices and for LLMs that need to process the content.

Here’s how the new DWS MCP Server capabilities helped solve that in 20 minutes.

Step 1 — Project setup with Claude Code

To set up DWS MCP Server with Claude Code, you’ll first need an API key from nutrient.io(opens in a new tab). Then, add the server to your project:

# Add DWS MCP Server to your Claude Code project.

claude mcp add dws-mcp-server -e NUTRIENT_DWS_API_KEY=<your-dws-api-key> -- npx -y @nutrient-sdk/dws-mcp-server --sandbox <your-project-dir>

Once configured, the MCP servers become available in Claude Code (/mcp command):

# MCP servers now available in Claude Code

1. dws-mcp-server connected

Now Nutrient DWS MCP Server can access any file within your project directory and send it off for processing.

Step 2 — Mass PDF-to-HTML conversion

With a folder full of tax form PDFs organized by category, converting them to HTML became trivial by simply asking Claude:

Please convert all the tax forms in the `irs-forms` directory to HTML.

Previously, I would’ve had to find a program or library to convert all these documents, and then write a script to do so. Now I just ask Claude Code to do it. And this isn’t just limited to forms; this could be documentation Claude Code needs access to, business logic that’s locked up in documents, and yes, it can OCR screenshots with code snippets!

You’ll see Claude Code making MCP calls to the DWS MCP Server for each file. And like magic, HTML appears:

dws-mcp-server:document_processor (MCP)(instructions:

{"parts":[{"file":"irs-forms/schedules/f1040s2.pdf"

}],"output":{"type":"html","layout":"reflow"}},

outputPath:

"converted-forms/schedules/f1040s2.html")

⎿ File processed successfully using build API and saved to: .../u

s-tax-forms/converted-forms/schedules/f1040s2.html

Form as PDF

Step 3 — Building the web interface

With HTML files ready to go, the final step was surprisingly straightforward. One more request to Claude Code:

Please can you take each converted HTML file and serve these as part of a small web application to allow users to better browse US tax forms. The landing page should display all the forms available in the applicable categories.

The result? A clean, organized interface where tax forms load instantly — forms organized by category, responsive design that actually responds, and navigation that makes sense. Twenty minutes from PDF folder to working web app.

Tax Form App Landing Page

The real power: Markdown for AI workflows

HTML solved this simple PDF viewing problem, but what about AI? LLMs struggle with PDFs — they can’t parse the structure, miss crucial formatting, and often hallucinate content. That’s where Markdown conversion comes in.

Say your company has years of technical documentation trapped in PDFs. API specs, architecture decisions, compliance documents — all locked away from your AI tools. With DWS MCP Server and Claude Code, you can drop those documents into your project and unlock that knowledge in a single command:

Please can you convert the PDFs in the `docs` directory to Markdown.

Suddenly, Claude Code (and any AI developer tool) can read your documentation as easily as your source code. No more copying and pasting from PDF viewers or other clients. No more OCR errors. Just clean, structured text that LLMs understand. Your specification documents become queryable. Your architectural decisions become searchable. Your business logic becomes accessible.

Beyond developers: Universal document access

While I’ve focused on the developer experience here, the implications go far beyond coding workflows. The Model Context Protocol isn’t limited to Claude Code — it’s a universal standard. That means these same document processing capabilities work in Claude Desktop and any application that’s MCP compatible.

Your customer support team can convert product manuals. Legal departments can review and digitally sign contracts. And HR can extract resume information for additional processing. All it takes is natural language and DWS MCP Server.

For a deeper dive into all the capabilities — including advanced features like PDF merging, splitting, and watermarking — check out the original release blog post, where you’ll find a comprehensive video walkthrough.

Ready to unlock the full potential of your PDFs?

Start using Nutrient DWS MCP Server to convert documents into HTML and Markdown — and give your LLMs the structured data they need. Whether you’re building AI apps, improving accessibility, or just tired of wrestling with PDFs, it’s time to upgrade your workflow. Get your API key and start building(opens in a new tab).