Fastest Way to Build

Start Building in 3 Seconds

One command for Claude Code. Then start prompting. That's it.

claude mcp add pdfdancer -- npx -y @pdfdancer/pdfdancer-mcp
Install in Cursor

Using other tools? See setup guides below.

Want to use the SDK directly in your code?

Use the SDK Yourself →

How It Works

The PDFDancer MCP server gives your AI coding assistant instant access to searchable PDFDancer SDK documentation. No more context switching or manual doc searches.

1

Install MCP Server

Claude Code: Run this command (takes 3 seconds)

claude mcp add pdfdancer -- npx -y @pdfdancer/pdfdancer-mcp

Cursor:

Install in Cursor

Other tools: Add this config to your editor's MCP settings

{
  "mcpServers": {
    "pdfdancer-mcp": {
      "command": "npx",
      "args": ["-y", "@pdfdancer/pdfdancer-mcp"]
    }
  }
}
2

Start Prompting

Your AI now has access to PDFDancer docs and can build anything PDF-related

💬"Create a PDF invoice generator in Python, use pdfdancer"

Real Example

Here's an actual conversation from Claude Code. Notice how Claude automatically searches the docs and implements the solution:

👤
create a typescript project which creates a pdf with the words "Hello World" on it. Use pdfdancer
🤖
🔍 Searching PDFDancer docs...pdfdancer-mcp search-docs "create new PDF from scratch"
📦 Setting up project...
  • npm init -y
  • npm install pdfdancer-client-typescript
  • Created src/main.ts with PDF generation code
✅ Done! Generated output.pdf with "Hello World"
👤
add logo.png to the top-right corner
🤖
🔍 Searching PDFDancer docs...pdfdancer-mcp search-docs "add image to PDF"
✅ Done! Added logo to top-right corner at (500, 700)

Try These Prompts

Here are real prompts you can use to build PDF applications. Your AI will handle the rest.

Getting Started

  • 💬"Create a PDF invoice generator in Python, use pdfdancer"
  • 💬"Add a logo to the top-right corner of my PDF, use pdfdancer"
  • 💬"Show me how to create a multi-page PDF with headers and footers, use pdfdancer"

Text Manipulation

  • 💬"Find and replace all instances of 'finance@' with 'accounting@' in report.pdf, use pdfdancer"
  • 💬"Change the font of all headers to Helvetica Bold 18pt, use pdfdancer"
  • 💬"Add a watermark saying 'CONFIDENTIAL' to every page, use pdfdancer"

Image Operations

  • 💬"Extract all images from invoice.pdf to a folder, use pdfdancer"
  • 💬"Resize all images on page 3 to 50% of their original size, use pdfdancer"
  • 💬"Replace the company logo on all pages with logo-new.png, use pdfdancer"

Advanced Tasks

  • 💬"Merge three PDFs and add page numbers, use pdfdancer"
  • 💬"Extract the table on page 2 and convert it to CSV, use pdfdancer"
  • 💬"Redact all email addresses and phone numbers from the document, use pdfdancer"

Setup Guide

Option 1 (Recommended): Run this command (takes 3 seconds):

claude mcp add pdfdancer -- npx -y @pdfdancer/pdfdancer-mcp

Option 2 (Manual): Edit config file and add:

Linux/macOS: ~/.config/claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "pdfdancer-mcp": {
      "command": "npx",
      "args": ["-y", "@pdfdancer/pdfdancer-mcp"]
    }
  }
}

Ready to Build?

Anonymous sessions supported (watermarked). Remove watermark by creating a free account.