Get clean Word documents out of an agent with a DOCX MCP

Lawyers in a legaltech thread produce firm-formatted Word files with Claude Cowork or Codex plus a DOCX MCP instead of chat output.

Difficulty
IntermediateOur rating
Time to build
Not reportedOur estimate
Monthly cost
Not reported
Revenue
Not reportedWe only show revenue the source states
Engagement
No public countThe source shows no number

What they did

One firm uses Claude Cowork with a DOCX MCP, some colleagues use Codex with the same MCP. Others keep a styled template as the source of truth and have the model supply only content, or edit the existing .docx in place to keep numbering.

How it went

They say it works well and is far more consistent than chat output.

Worth knowing

For long contracts edit the original file in place so numbering and styles survive.

Builder recipe

Our own starting point, written from the source. Adapt it to your setup.

Stack

  • Claude Cowork or Codex
  • A DOCX MCP
  • A styled template

Steps

  1. Collect the documents.
  2. Have the agent extract and summarize.
  3. Have a qualified person review.
  4. Store the result securely.

Starter prompt

Using template.docx as the style source, fill sections 1-4 from my notes. Edit the file in place; do not change numbering or styles.

Tags

Role Lawyer
Industry Legal

Read the original

Related use cases

The Daily 5.

Five real AI agent use cases each morning, each with a recipe and a source. Plus a Sunday roundup. Free.