# Anvil MCP by usefulapi

> Anvil MCP by usefulapi is a freemium MCP server for files and documents. Hosted MCP server for filling PDFs and running e-signature packets in Anvil. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $9 a month
- **Platforms:** API
- **Website:** https://usefulapi.io/anvil/
- **Repository:** https://github.com/m190/usefulapi-mcp/tree/HEAD/servers/anvil
- **MCP Registry name:** io.usefulapi/anvil
- **Categories:** files and documents
- **Listing updated:** 2026-11-14

## About

This hosted remote MCP server connects AI assistants to Anvil. It reads an organization's PDF templates and workflows, fills a template with supplied field values, and generates new PDFs from HTML and CSS or Markdown, returning the result as base64.

It also handles Etch e-signature packets: creating a packet, reading its status and generating a signing URL. You sign in with your Anvil API key, and the server works with Claude, ChatGPT, Cursor and other MCP clients.

It is intended for developers and operations teams who automate document filling and signing.

## Features

- **Template listing:** List PDF templates and workflows in an organization.
- **PDF filling:** Fill a template with your data and get the PDF.
- **PDF generation:** Build a PDF from HTML, CSS or Markdown.
- **Workflow inspection:** Read workflow steps and submission data.
- **E-signature packets:** Create and read Etch signature packets.
- **Signing URLs:** Generate a signing URL for a signer.

## Good for

- Fill an invoice template with order data
- Generate a letter PDF from text
- Check whether a workflow submission is complete
- Start an e-signature packet
- List templates and workflows in an organization

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http anvil https://anvil.usefulapi.io/mcp
```

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

```sh
https://anvil.usefulapi.io/mcp
```

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

```json
{
  "mcpServers": {
    "anvil": {
      "url": "https://anvil.usefulapi.io/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "anvil": {
      "type": "http",
      "url": "https://anvil.usefulapi.io/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "anvil": {
      "serverUrl": "https://anvil.usefulapi.io/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "anvil": {
      "type": "http",
      "url": "https://anvil.usefulapi.io/mcp"
    }
  }
}
```

## Tools

- `anvil_current_user`: Get the authenticated Anvil user (from the API key) and the organizations they belong to (eid, name, slug). Good first call to discover org slugs/eids for other tools. GraphQL query: currentUser.
- `anvil_get_organization`: Fetch an Anvil organization and its PDF templates (casts) and workflows (welds). Provide either its slug or its eid (at least one is required). GraphQL query: organization.
- `anvil_get_cast`: Fetch a cast — an Anvil PDF template — by its eid: title, version number, and whether it is a template. Use the returned eid as the cast_eid for anvil_fill_pdf. GraphQL query: cast.
- `anvil_get_etch_packet`: Fetch an Etch e-signature packet by eid: its status, details URL, document group, and every signer (eid, aliasId, name, email, status, routing order). Use this to check signature progress. GraphQL query: etchPacket.
- `anvil_get_weld`: Fetch a weld — an Anvil workflow — by eid, including its forges (the individual form steps: eid, name, slug). GraphQL query: weld.
- `anvil_get_weld_data`: Fetch a weldData record — a single submission to a weld (workflow) — by eid: completion state, test flag, and creation time. GraphQL query: weldData.
- `anvil_fill_pdf`: Fill an Anvil PDF template (cast) with data and return the finished PDF as base64. REST: POST /fill/{castEid}.pdf. Returns { filename, byteLength, pdfBase64 }. The `data` object's keys are the template's field aliases.
- `anvil_generate_pdf`: Generate a brand-new PDF from HTML or Markdown and return it as base64. REST: POST /generate-pdf. For type=html, pass data = { html, css? }. For type=markdown, pass data = [ { label, content }, ... ]. Returns { filename, byteLength, pdfBase64 }.
- `anvil_create_etch_packet`: Create an Etch e-signature packet (documents + signers). GraphQL mutation: createEtchPacket. IMPORTANT: isDraft defaults to true (a safe draft that sends nothing). Setting isDraft=false with real signers SENDS signature-request emails to those signers. Use isTest=true while developing.
- `anvil_generate_etch_sign_url`: Generate a one-time embedded signing URL for a specific signer in an Etch packet (for iframe/redirect signing flows). GraphQL mutation: generateEtchSignURL. Returns { url }.

## FAQ

### How do I connect Anvil?

Add the hosted server URL as a custom connector in Claude, ChatGPT, Cursor, VS Code or another MCP client. A login page then asks for your Anvil API key.

### Where do I find the API key?

In Anvil under Organization Settings, API keys.

### What does it cost?

There is a free plan with 50 tool calls per month. Paid plans cost $9/mo for 10,000 calls and $39/mo for 100,000 calls.

### Is Anvil MCP by usefulapi free?

Anvil MCP by usefulapi has a free plan, with paid plans for more usage or features. Paid plans start at $9 a month.

### How do I add Anvil MCP by usefulapi to Claude Code?

Run this command in your terminal: claude mcp add --transport http anvil https://anvil.usefulapi.io/mcp

### What are the best alternatives to Anvil MCP by usefulapi?

The closest alternatives to Anvil MCP by usefulapi are ASTra, CARTESIAN ECU, Invoices, SigPen and ConvertAudioToText.

## Alternatives

- [ASTra](https://ai-powered.com/mcp/astra): ASTra is a freemium MCP server for files and documents.
- [CARTESIAN ECU](https://ai-powered.com/mcp/cartesian-ecu): CARTESIAN ECU is a paid MCP server for files and documents.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.
- [SigPen](https://ai-powered.com/mcp/sigpen): SigPen is a freemium MCP server for files and documents.
- [ConvertAudioToText](https://ai-powered.com/mcp/convertaudiototext): ConvertAudioToText is a freemium MCP server for design and media.
- [WhoScribe](https://ai-powered.com/mcp/whoscribe): WhoScribe is a freemium MCP server for design and media.
- [filex](https://ai-powered.com/mcp/filex): filex is an open-source MCP server for files and documents.
- [DocJacket](https://ai-powered.com/mcp/docjacket): DocJacket is a freemium MCP server for productivity.

---
Source: https://ai-powered.com/mcp/anvil-mcp-by-usefulapi
