JSPM

@neat-pdf/mcp

0.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q30358F
  • License Apache-2.0

MCP server for PDF generation with Neat PDF

Package Exports

  • @neat-pdf/mcp

Readme

@neat-pdf/mcp

The first MCP for PDF primitives. Generate, compress, and merge PDFs directly from AI agents.

Quick Start

npx @neat-pdf/mcp

Configuration

Claude Code / Claude Desktop

Add to ~/.claude/mcp_servers.json:

{
  "mcpServers": {
    "neat-pdf": {
      "command": "npx",
      "args": ["@neat-pdf/mcp"],
      "env": {
        "NEAT_PDF_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "neat-pdf": {
      "command": "npx",
      "args": ["@neat-pdf/mcp"],
      "env": {
        "NEAT_PDF_API_KEY": "your-api-key"
      }
    }
  }
}

Available Tools

Tool Description
neat_html_to_pdf Convert HTML string to PDF
neat_url_to_pdf Convert webpage URL to PDF
neat_compress_pdf Compress existing PDF
neat_office_to_pdf Convert Office docs (DOCX, XLSX, PPTX) to PDF
neat_merge_pdf Merge multiple PDFs into one

Example Prompts

"Generate a PDF invoice with this HTML: <h1>Invoice #001</h1>..."

"Convert https://example.com to PDF"

"Compress this PDF to reduce file size"

"Merge these 3 PDFs into one document"

"Convert this Word document to PDF"

Get Your API Key

  1. Sign up at neat-pdf.com
  2. Create an API key in your dashboard
  3. Set NEAT_PDF_API_KEY in your environment

Pricing

Plan Credits Price
Free 100 $0/mo
Hobby 500 $9/mo
Pro 2,000 $19/mo
Business 10,000 $49/mo

Each PDF generation costs 1 credit.

License

Apache-2.0