How to Use the HotDocs MCP in Claude Code
Automate batch document assembly from your terminal using Claude Code and the HotDocs API.
Works with every AI agent you already use
…and any MCP-compatible client
Connect HotDocs MCP to Claude Code
Create your Vinkius account to connect HotDocs to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Batch Processing via CLI
The `update_answers` tool accepts valid XML payloads to populate template variables. You write a quick shell script that pipes a CSV file into Claude Code, which then formats the data and pushes it into active work items. This makes bulk document generation trivial. The agent iterates through your records, calls `create_work_item` for each row, submits the answers, and triggers the final assembly without you ever touching a browser.
Audit HotDocs MCP Server Activity
The `list_work_items` tool retrieves your entire document generation history. You filter the results by user ID or date range to find specific jobs that stalled or failed. For tighter timeframes, the agent runs `list_work_items_by_date`. You pass an ISO 8601 string, and it returns a clean JSON array of every contract generated during that window. Perfect for end-of-month reporting.
Headless Document Retrieval
The `list_documents` tool grabs the IDs and metadata for all files attached to a completed assembly. Claude Code uses this to find the exact PDF or Word file you need. Once it has the ID, the agent executes `get_document_content`. It downloads the raw file content and saves it directly to your local filesystem or pipes it to an AWS S3 bucket via your existing CLI tools.
Set up HotDocs MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seehotdocs-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest HotDocs transactions." It will automatically discover and invoke the available HotDocs tools.
claude mcp add --transport http hotdocs-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about HotDocs MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the HotDocs MCP today
We host it, we monitor it, we maintain it. You just paste one token.