Slipstack PDF

Generate invoice and receipt PDFs from JSON. Agent-callable document API with a free demo quota.

我該用這個嗎

品質與安全性

A
說明品質
96%
結構描述完整度
83%
命名品質
100%
汙染風險
80%
權限相符程度
100%
協定合規性
100%

發現項目(3)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool description contains URL to non-standard domain在 get_api_key 中
  • LOWTool 'get_account_usage' description lacks action verb在 get_account_usage 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~3,542Token(工具定義)
~4.9 KB典型回應大小
顯著的注意力影響(128k 上下文的 2.77%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "pdf": {
      "url": "https://slipstack.dev/api/mcp"
    }
  }
}

遠端端點

https://slipstack.dev/api/mcpstreamable-http

它能做什麼

工具清單

工具(7)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟡create_invoice_pdf(data, options, api_key)

Generate a professional invoice PDF from structured JSON (parties, line items, tax, discount). Returns a download URL valid for 24 hours plus computed totals. No account needed for up to 10 documents/day; pass api_key or an Authorization header for plan quotas.

輸入結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "from": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "description": "Legal or display name"
            },
            "address": {
              "type": "string",
              "description": "Postal address, newlines allowed"
            },
            "email": {
              "type": "string"
            },
            "phone": {
              "type": "string"
            },
            "logoUrl": {
              "type": "string",
              "description": "HTTPS URL of a logo image (issuer only)"
            },
            "vatId": {
              "type": "string",
              "description": "VAT identifier, e.g. FR12345678901 (needed for e-invoices with VAT)"
            },
            "countryCode": {
              "type": "string",
              "minLength": 2,
              "maxLength": 2,
              "description": "ISO 3166-1 alpha-2 country code, e.g. FR (required for e-invoices)"
            },
            "city": {
              "type": "string",
              "description": "City name (improves e-invoice address quality)"
            },
            "postalCode": {
              "type": "string",
              "description": "Postal code"
            }
          },
          "required": [
            "name"
          ],
          "additionalProperties": false,
          "description": "The party issuing the document"
        },
        "to": {
          "type": "object",
          "properties": {
            "name": {
              "$ref": "#/properties/data/properties/from/properties/name"
            },
            "address": {
              "$ref": "#/properties/data/properties/from/properties/address"
            },
            "email": {
              "$ref": "#/properties/data/properties/from/properties/email"
            },
            "phone": {
              "$ref": "#/properties/data/properties/from/properties/phone"
            },
            "logoUrl": {
              "$ref": "#/properties/data/properties/from/properties/logoUrl"
            },
            "vatId": {
              "$ref": "#/properties/data/properties/from/properties/vatId"
            },
            "countryCode": {
              "$ref": "#/properties/data/properties/from/properties/countryCode"
            },
            "city": {
              "$ref": "#/properties/data/properties/from/properties/city"
            },
            "postalCode": {
              "$ref": "#/properties/data/properties/from/properties/postalCode"
            }
          },
          "required": [
            "name"
          ],
          "additionalProperties": false,
          "description": "The party being billed"
        },
        "number": {
          "type": "string",
          "minLength": 1,
          "description": "Document number, e.g. INV-2026-001"
        },
        "date": {
          "type": "string",
          "description": "Issue date, e.g. 2026-06-09"
        },
        "dueDate": {
          "type": "string",
          "description": "Payment due date (invoices)"
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 code, default USD"
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "minLength": 1
              },
              "quantity": {
                "type": "number",
                "minimum": 0
              },
              "unitPrice": {
                "type": "number",
                "minimum": 0,
                "description": "Price per unit in the document currency"
              }
            },
            "required": [
              "description",
              "quantity",
              "unitPrice"
            ],
            "additionalProperties": false
          },
          "minItems": 1
        },
        "taxRate": {
          "type": "number",
          "minimum": 0,
          "maximum": 100,
          "description": "Tax percent applied after discount"
        },
        "discount": {
          "type": "number",
          "minimum": 0,
          "description": "Absolute discount amount"
        },
        "notes": {
          "type": "string"
        },
        "terms": {
          "type": "string"
        },
        "accentColor": {
          "type": "string",
          "description": "Hex color for the template accent, e.g. #0ea5e9"
        },
        "paymentIban": {
          "type": "string",
          "description": "Payment IBAN for SEPA credit transfer (e-invoices)"
        },
        "paymentReference": {
          "type": "string",
          "description": "Remittance/payment reference (e-invoice BT-83)"
        },
        "buyerReference": {
          "type": "string",
          "description": "Buyer reference, e.g. a German Leitweg-ID (e-invoice BT-10; required by XRechnung)"
        }
      },
      "required": [
        "from",
        "to",
        "number",
        "items"
      ],
      "additionalProperties": false
    },
    "options": {
      "type": "object",
      "properties": {
        "format": {
          "type": "string",
          "enum": [
            "A4",
            "LETTER"
          ]
        }
      },
      "additionalProperties": false
    },
    "api_key": {
      "type": "string",
      "description": "Optional Slipstack API key (psk_...). With a key, usage bills against your plan quota. Without one, the shared demo quota applies (10 documents/day per IP). Get a key at https://slipstack.dev/pricing"
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_receipt_pdf(data, options, api_key)

Generate a payment receipt PDF from structured JSON. Same schema as invoices (use `number` for the receipt number). Returns a 24-hour download URL and computed totals.

輸入結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "from": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "description": "Legal or display name"
            },
            "address": {
              "type": "string",
              "description": "Postal address, newlines allowed"
            },
            "email": {
              "type": "string"
            },
            "phone": {
              "type": "string"
            },
            "logoUrl": {
              "type": "string",
              "description": "HTTPS URL of a logo image (issuer only)"
            },
            "vatId": {
              "type": "string",
              "description": "VAT identifier, e.g. FR12345678901 (needed for e-invoices with VAT)"
            },
            "countryCode": {
              "type": "string",
              "minLength": 2,
              "maxLength": 2,
              "description": "ISO 3166-1 alpha-2 country code, e.g. FR (required for e-invoices)"
            },
            "city": {
              "type": "string",
              "description": "City name (improves e-invoice address quality)"
            },
            "postalCode": {
              "type": "string",
              "description": "Postal code"
            }
          },
          "required": [
            "name"
          ],
          "additionalProperties": false,
          "description": "The party issuing the document"
        },
        "to": {
          "type": "object",
          "properties": {
            "name": {
              "$ref": "#/properties/data/properties/from/properties/name"
            },
            "address": {
              "$ref": "#/properties/data/properties/from/properties/address"
            },
            "email": {
              "$ref": "#/properties/data/properties/from/properties/email"
            },
            "phone": {
              "$ref": "#/properties/data/properties/from/properties/phone"
            },
            "logoUrl": {
              "$ref": "#/properties/data/properties/from/properties/logoUrl"
            },
            "vatId": {
              "$ref": "#/properties/data/properties/from/properties/vatId"
            },
            "countryCode": {
              "$ref": "#/properties/data/properties/from/properties/countryCode"
            },
            "city": {
              "$ref": "#/properties/data/properties/from/properties/city"
            },
            "postalCode": {
              "$ref": "#/properties/data/properties/from/properties/postalCode"
            }
          },
          "required": [
            "name"
          ],
          "additionalProperties": false,
          "description": "The party being billed"
        },
        "number": {
          "type": "string",
          "minLength": 1,
          "description": "Document number, e.g. INV-2026-001"
        },
        "date": {
          "type": "string",
          "description": "Issue date, e.g. 2026-06-09"
        },
        "dueDate": {
          "type": "string",
          "description": "Payment due date (invoices)"
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 code, default USD"
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "minLength": 1
              },
              "quantity": {
                "type": "number",
                "minimum": 0
              },
              "unitPrice": {
                "type": "number",
                "minimum": 0,
                "description": "Price per unit in the document currency"
              }
            },
            "required": [
              "description",
              "quantity",
              "unitPrice"
            ],
            "additionalProperties": false
          },
          "minItems": 1
        },
        "taxRate": {
          "type": "number",
          "minimum": 0,
          "maximum": 100,
          "description": "Tax percent applied after discount"
        },
        "discount": {
          "type": "number",
          "minimum": 0,
          "description": "Absolute discount amount"
        },
        "notes": {
          "type": "string"
        },
        "terms": {
          "type": "string"
        },
        "accentColor": {
          "type": "string",
          "description": "Hex color for the template accent, e.g. #0ea5e9"
        },
        "paymentIban": {
          "type": "string",
          "description": "Payment IBAN for SEPA credit transfer (e-invoices)"
        },
        "paymentReference": {
          "type": "string",
          "description": "Remittance/payment reference (e-invoice BT-83)"
        },
        "buyerReference": {
          "type": "string",
          "description": "Buyer reference, e.g. a German Leitweg-ID (e-invoice BT-10; required by XRechnung)"
        }
      },
      "required": [
        "from",
        "to",
        "number",
        "items"
      ],
      "additionalProperties": false
    },
    "options": {
      "type": "object",
      "properties": {
        "format": {
          "type": "string",
          "enum": [
            "A4",
            "LETTER"
          ]
        }
      },
      "additionalProperties": false
    },
    "api_key": {
      "type": "string",
      "description": "Optional Slipstack API key (psk_...). With a key, usage bills against your plan quota. Without one, the shared demo quota applies (10 documents/day per IP). Get a key at https://slipstack.dev/pricing"
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_einvoice_xml(data, options, api_key)

Generate an EN 16931 e-invoice as UN/CEFACT Cross-Industry Invoice (CII) XML — the format behind France's Factur-X and Germany's XRechnung mandates. Same JSON shape as create_invoice_pdf plus a few extra fields: from/to countryCode (required), from.vatId (required when taxRate > 0), optional paymentIban, paymentReference, buyerReference. Returns a 24-hour download URL for the XML plus computed totals. Validated against the official EN 16931 schematron in CI.

輸入結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "from": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "description": "Legal or display name"
            },
            "address": {
              "type": "string",
              "description": "Postal address, newlines allowed"
            },
            "email": {
              "type": "string"
            },
            "phone": {
              "type": "string"
            },
            "logoUrl": {
              "type": "string",
              "description": "HTTPS URL of a logo image (issuer only)"
            },
            "vatId": {
              "type": "string",
              "description": "VAT identifier, e.g. FR12345678901 (needed for e-invoices with VAT)"
            },
            "countryCode": {
              "type": "string",
              "minLength": 2,
              "maxLength": 2,
              "description": "ISO 3166-1 alpha-2 country code, e.g. FR (required for e-invoices)"
            },
            "city": {
              "type": "string",
              "description": "City name (improves e-invoice address quality)"
            },
            "postalCode": {
              "type": "string",
              "description": "Postal code"
            }
          },
          "required": [
            "name"
          ],
          "additionalProperties": false,
          "description": "The party issuing the document"
        },
        "to": {
          "type": "object",
          "properties": {
            "name": {
              "$ref": "#/properties/data/properties/from/properties/name"
            },
            "address": {
              "$ref": "#/properties/data/properties/from/properties/address"
            },
            "email": {
              "$ref": "#/properties/data/properties/from/properties/email"
            },
            "phone": {
              "$ref": "#/properties/data/properties/from/properties/phone"
            },
            "logoUrl": {
              "$ref": "#/properties/data/properties/from/properties/logoUrl"
            },
            "vatId": {
              "$ref": "#/properties/data/properties/from/properties/vatId"
            },
            "countryCode": {
              "$ref": "#/properties/data/properties/from/properties/countryCode"
            },
            "city": {
              "$ref": "#/properties/data/properties/from/properties/city"
            },
            "postalCode": {
              "$ref": "#/properties/data/properties/from/properties/postalCode"
            }
          },
          "required": [
            "name"
          ],
          "additionalProperties": false,
          "description": "The party being billed"
        },
        "number": {
          "type": "string",
          "minLength": 1,
          "description": "Document number, e.g. INV-2026-001"
        },
        "date": {
          "type": "string",
          "description": "Issue date, e.g. 2026-06-09"
        },
        "dueDate": {
          "type": "string",
          "description": "Payment due date (invoices)"
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 code, default USD"
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "minLength": 1
              },
              "quantity": {
                "type": "number",
                "minimum": 0
              },
              "unitPrice": {
                "type": "number",
                "minimum": 0,
                "description": "Price per unit in the document currency"
              }
            },
            "required": [
              "description",
              "quantity",
              "unitPrice"
            ],
            "additionalProperties": false
          },
          "minItems": 1
        },
        "taxRate": {
          "type": "number",
          "minimum": 0,
          "maximum": 100,
          "description": "Tax percent applied after discount"
        },
        "discount": {
          "type": "number",
          "minimum": 0,
          "description": "Absolute discount amount"
        },
        "notes": {
          "type": "string"
        },
        "terms": {
          "type": "string"
        },
        "accentColor": {
          "type": "string",
          "description": "Hex color for the template accent, e.g. #0ea5e9"
        },
        "paymentIban": {
          "type": "string",
          "description": "Payment IBAN for SEPA credit transfer (e-invoices)"
        },
        "paymentReference": {
          "type": "string",
          "description": "Remittance/payment reference (e-invoice BT-83)"
        },
        "buyerReference": {
          "type": "string",
          "description": "Buyer reference, e.g. a German Leitweg-ID (e-invoice BT-10; required by XRechnung)"
        }
      },
      "required": [
        "from",
        "to",
        "number",
        "items"
      ],
      "additionalProperties": false
    },
    "options": {
      "type": "object",
      "properties": {
        "profile": {
          "type": "string",
          "enum": [
            "facturx-basic",
            "xrechnung"
          ],
          "description": "EN 16931 guideline: facturx-basic (default, France/Factur-X) or xrechnung (Germany, XRechnung 3.0)"
        }
      },
      "additionalProperties": false
    },
    "api_key": {
      "type": "string",
      "description": "Optional Slipstack API key (psk_...). With a key, usage bills against your plan quota. Without one, the shared demo quota applies (10 documents/day per IP). Get a key at https://slipstack.dev/pricing"
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢parse_einvoice(xml, api_key)

Parse EN 16931 e-invoice XML — UN/CEFACT CII (Factur-X, ZUGFeRD, XRechnung) or UBL Invoice/CreditNote (Peppol BIS) — into normalized invoice JSON: parties, line items, totals, VAT ids, payment details. Pass the XML document as a string.

輸入結構描述

{
  "type": "object",
  "properties": {
    "xml": {
      "type": "string",
      "minLength": 1,
      "description": "The complete e-invoice XML document (CII or UBL)"
    },
    "api_key": {
      "type": "string",
      "description": "Optional Slipstack API key (psk_...). With a key, usage bills against your plan quota. Without one, the shared demo quota applies (10 documents/day per IP). Get a key at https://slipstack.dev/pricing"
    }
  },
  "required": [
    "xml"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_document_schema

Returns the JSON shape accepted by create_invoice_pdf / create_receipt_pdf / create_einvoice_xml, a complete example payload, and current plan limits. Call this first if you are unsure how to structure a document.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_api_key(email)

Issue a free Slipstack API key (50 documents/month) for an email address, returned directly in the response — no signup flow, no email verification step. Idempotent: the same email always gets the same key back. Use the key as api_key on other tools or as an Authorization: Bearer header. Paid plans (from $19/mo for 1000 documents): https://buy.stripe.com/eVqeVcaEa9xFdnudDeew80n

輸入結構描述

{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "minLength": 3,
      "description": "Email address to associate with the key (used for account recovery and plan upgrades)"
    }
  },
  "required": [
    "email"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_account_usage(api_key)

Returns the current month's document usage, quota, and plan for a Slipstack API key. Requires api_key (or an Authorization: Bearer header).

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Slipstack API key (psk_...). Optional if sent as a Bearer header."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本7 個工具
觀測失敗未記錄版本—
觀測失敗未記錄版本—
觀測失敗未記錄版本—
觀測失敗未記錄版本—
觀測失敗未記錄版本—