# Dynamic Document API

> Dynamic Document API is a freemium MCP server for files and documents. Generate PDFs, images and e-invoices from templates and JSON, rendered in the EU. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, Web
- **Website:** https://dynamicdocumentapi.com/docs/mcp
- **MCP Registry name:** com.dynamicdocumentapi/mcp
- **Categories:** files and documents, finance and payments
- **Listing updated:** 2026-11-16

## About

This server turns a workspace's saved templates into finished documents. An agent can list published templates, read the JSON schema and example payload a template expects, then render a PDF or an image, and get signed download links that expire and can be refreshed. Extra tools render from raw HTML or Markdown, merge 2 to 200 PDFs, create validated e-invoice XML in XRechnung, EN 16931, Factur-X and ZUGFeRD profiles, and validate invoices you received.

Safety is built in. After sign-in, renders default to test mode with a TEST watermark and no billing, and final renders must be asked for. The OAuth consent shows exactly three permissions: read templates, create renders and read renders, so the server cannot change templates, keys or webhooks. A key can be used instead, where a test key makes test renders and a live key makes billed ones. Limits are 60 tool calls a minute and 25 seconds per render call, after which the agent collects the file with get_render.

A local Docker image runs the same tools with an API key. Pricing is by render, with 50 free renders a month and paid plans from 15 euros a month billed annually.

## Features

- **Template rendering:** Renders PDFs and images from templates and JSON data.
- **E-invoicing:** Creates and validates XRechnung, EN 16931, Factur-X and ZUGFeRD files.
- **HTML and Markdown to PDF:** Renders PDFs from HTML and CSS or themed Markdown.
- **PDF merging:** Combines 2 to 200 PDFs into one.
- **Test mode default:** MCP renders are watermarked and unbilled unless final is requested.
- **Limited permissions:** Consent covers only template read, render create and render read.

## Good for

- Generate an invoice PDF from a template and data
- Create a compliant e-invoice for a German customer
- Produce a social image from a template
- Merge several PDFs into one document

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp https://mcp.dynamicdocumentapi.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.dynamicdocumentapi.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.dynamicdocumentapi.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.dynamicdocumentapi.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.dynamicdocumentapi.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.dynamicdocumentapi.com/mcp"
    }
  }
}
```

## Tools

- `list_templates`: List published templates
- `get_template_schema`: Get the data a template expects
- `render_pdf_from_template`: Render a PDF from a template and JSON
- `render_image_from_template`: Render an image from an image template
- `render_pdf_from_html`: Render a PDF from HTML and CSS
- `render_pdf_from_markdown`: Render a PDF from Markdown
- `create_einvoice`: Create a validated e-invoice XML
- `validate_einvoice`: Validate a received e-invoice
- `get_render`: Get a render's status and fresh links
- `merge_pdfs`: Merge 2 to 200 PDFs

## FAQ

### Are renders billed during testing?

No. After sign-in renders are test renders with a TEST watermark unless the agent passes test: false.

### What can the server not do?

It cannot change templates, keys, webhooks or settings.

### How much is free?

50 renders a month with no card; paid plans start at 15 euros a month billed annually for 3,000 renders.

### Can I run it locally?

Yes, as the franko727/mcp Docker image with an API key.

### Is Dynamic Document API free?

Dynamic Document API has a free plan, with paid plans for more usage or features.

### How do I add Dynamic Document API to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.dynamicdocumentapi.com/mcp

### What are the best alternatives to Dynamic Document API?

The closest alternatives to Dynamic Document API are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, ASTra and Quantivex Research.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [ASTra](https://ai-powered.com/mcp/astra): ASTra is a freemium MCP server for files and documents.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.
- [Provyan](https://ai-powered.com/mcp/provyan): Provyan is a free MCP server for finance and payments.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [CARTESIAN ECU](https://ai-powered.com/mcp/cartesian-ecu): CARTESIAN ECU is a paid MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/dynamic-document-api
