Nutrient DWS
A Model Context Protocol (MCP) server implementation that integrates with the Nutrient Document Web Service (DWS) Processor API, providing powerful PDF processing capabilities for AI assistants.
What is Nutrient DWS?
Nutrient DWS is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol (mcp) server implementation that integrates with the nutrient document web service (dws) processor api, providing powerful pdf processing capabilities for ai assistants.
A Model Context Protocol (MCP) server implementation that integrates with the Nutrient Document Web Service (DWS) Processor API, providing powerful PDF processing capabilities for AI assistants.
This server falls under the Databases category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A Model Context Protocol (MCP) server implementation that in
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx nutrient-dwsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Nutrient DWS
The Nutrient DWS MCP server integrates with the Nutrient Document Web Service Processor API to give AI assistants powerful PDF and document-processing capabilities. It supports format conversion between PDF, DOCX, images, HTML, and Markdown; OCR in multiple languages; AI-powered redaction of personally identifiable information; digital signing with CMS/PKCS#7 signatures; watermarking; and document compression — all callable through natural language. Developers building document-centric AI workflows can use this server to automate invoice processing, contract review, data extraction, and compliance redaction without leaving their AI client.
Prerequisites
- A Nutrient account with API access — sign up (free tier available) at https://nutrient.io/api
- Your Nutrient DWS API key from the Nutrient dashboard
- Node.js 18 or higher (the server is TypeScript-based)
- An MCP-compatible client such as Claude Desktop, Cursor, or VS Code Copilot
- A local sandbox directory where processed files will be read/written
Create a Nutrient account and get an API key
Sign up at https://nutrient.io/api. From your dashboard, create an API key and copy it. A free tier is available that covers basic document operations.
Install the MCP server via npx
The server can be run directly with npx without a global install. Test that it starts correctly by running it once with your API key.
npx nutrient-dwsCreate a sandbox directory
Choose a directory where the server is allowed to read and write files. The SANDBOX_PATH environment variable restricts all file operations to this path for security.
mkdir -p ~/Documents/nutrient-sandboxConfigure Claude Desktop
Add the Nutrient DWS server to your Claude Desktop configuration with your API key and sandbox path set as environment variables.
{
"mcpServers": {
"nutrient-dws": {
"command": "npx",
"args": ["-y", "nutrient-dws"],
"env": {
"NUTRIENT_DWS_API_KEY": "your_api_key_here",
"SANDBOX_PATH": "/Users/yourname/Documents/nutrient-sandbox"
}
}
}
}Restart Claude Desktop
Quit and reopen Claude Desktop. The Nutrient DWS document-processing tools will appear in the tools panel.
Place a document in the sandbox and test
Copy a PDF or DOCX file into your sandbox directory, then ask Claude to convert or process it. The server will read the file, call the Nutrient API, and write the result back to the sandbox.
cp ~/Downloads/invoice.pdf ~/Documents/nutrient-sandbox/Nutrient DWS Examples
Client configuration
Claude Desktop configuration block for the Nutrient DWS MCP server with API key and sandbox path.
{
"mcpServers": {
"nutrient-dws": {
"command": "npx",
"args": ["-y", "nutrient-dws"],
"env": {
"NUTRIENT_DWS_API_KEY": "your_api_key_here",
"SANDBOX_PATH": "/Users/yourname/Documents/nutrient-sandbox"
}
}
}
}Prompts to try
Example prompts that exercise the document conversion, OCR, redaction, and signing tools.
- "Convert invoice.pdf in my sandbox to DOCX format"
- "Run OCR on scanned-contract.pdf and extract the text content"
- "Redact all email addresses and SSNs from report.pdf and save as report-redacted.pdf"
- "Apply a watermark saying CONFIDENTIAL to all pages of nda.pdf"
- "Check my remaining Nutrient API credits"
- "Convert invoice.html to PDF and apply a visible digital signature"Troubleshooting Nutrient DWS
Tool calls fail with 'unauthorized' or 401 errors
Confirm NUTRIENT_DWS_API_KEY is set correctly and has not expired. If you omit the key, the server starts an OAuth browser flow — ensure a browser is available or provide the key explicitly.
File not found errors when processing documents
All file paths must be relative to the SANDBOX_PATH directory. Ensure the file is copied into the sandbox before asking Claude to process it, and use only the filename (not an absolute path) in your prompt.
OAuth credentials cached at ~/.config/nutrient/credentials.json are stale
Delete the credentials file ('rm ~/.config/nutrient/credentials.json') and restart the server to trigger a fresh OAuth consent flow.
Frequently Asked Questions about Nutrient DWS
What is Nutrient DWS?
Nutrient DWS is a Model Context Protocol (MCP) server that model context protocol (mcp) server implementation that integrates with the nutrient document web service (dws) processor api, providing powerful pdf processing capabilities for ai assistants. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Nutrient DWS?
Follow the installation instructions on the Nutrient DWS GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Nutrient DWS?
Nutrient DWS works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Nutrient DWS free to use?
Yes, Nutrient DWS is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Nutrient DWS Alternatives — Similar Databases Servers
Looking for alternatives to Nutrient DWS? Here are other popular databases servers you can use with Claude, Cursor, and VS Code.
Excelize
★ 20.6kGo language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
MCP Toolbox for Databases
★ 15.3kOpen source MCP server specializing in easy, fast, and secure tools for Databases.
DBHub
★ 2.8kA universal database gateway MCP server that enables AI assistants to connect to and query multiple databases (PostgreSQL, MySQL, MariaDB, SQL Server, SQLite) with support for schema exploration, SQL execution, and secure connections via SSH tunnels.
Tabularis
★ 2.1kA lightweight, cross-platform database client for developers. Supports MySQL, PostgreSQL and SQLite. Hackable with plugins. Built for speed, security, and aesthetics.
Postgres AI Guide
★ 1.7kMCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.
Anyquery
★ 1.7k🏎️ 🏠 ☁️ - Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by design.
Browse More Databases MCP Servers
Explore all databases servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Nutrient DWS in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Nutrient DWS?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.