原始内容
DOCX MCP for Claude Cowork and Codex
legalrabbit-docx-mcp enables your Claude Cowork and Codex to read and manipulate DOCX files locally.
Our MCP uses 2-5x fewer tokens than the Anthropic's docx skill, is faster, and is more reliable. There are 2 reasons:
- Our MCP supports a bidirectional transformation of HTML <-> DOCX. AI will write HTML, not DOCX. It is well known that AI is excellent and efficient at processing HTML!
- Our MCP supports "surgical editing". AI can specify which paragraph/table/row to edit without editing the entire doc. This saves a lot of tokens compared to the traditional docx skill that unzips a docx file and edits document.xml directly.
You can use our DOCX plugin together with Claude for Legal to enable a more seamless experience of working with a docx file!
Capabilities:
- Read the content and the comments.
- Create a new docx file. Optionally, you can use an existing docx file as the template. The styles will be copied from the template.
- Add tracked changes to an existing docx file.
- Add comments and reply to comments.
We are using this plugin at LegalRabbit to speed up our legal services. Try it out and let us know if you have any questions.
The plugin works offline, ensuring data privacy and security of your DOCX files.
Example prompts
- Create a NDA docx file based on NDA-template.docx. My company is LegalRabbit. The other party is John Austin.
- Review and flag issues in 'Data Processing Agreement.docx'. You can redline and add comments on the doc directly.
- I've made comments in 'BPO referral agreement.docx'. Please address them.
- Delete all comments and provide customer-facing comments
How to install
For Claude Cowork:
- Go to the latest release, 1.0.0, and download legalrabbit-docx.mcpb.
- Switch to Claude and go to
Settings - Select the
Extensionstab and click onAdvanced settings - Click
Install Extensionand select the downloadedlegalrabbit-docx.mcpbfile. - Click
Install - Add
You must use the legalrabbit-docx-mcp tool for reading, creating, and manipulating docx files.toCLAUDE.md
For Codex:
- Go to
Pluginsand click the+ v(the down arrow next to the plug button) on the top right corner - Select
+ Add marketplace - Fill
Sourcewithhttps://github.com/LegalRabbit-AI/legalrabbit-docx-mcpand clickAdd marketplace - On the Plugins page, click on the
legalrabbit-toolsmarketplace. - Click
Add pluginon the Legalrabbit Docx plugin. - Add
You must use the legalrabbit-docx skill for reading, creating, and manipulating docx filestoAGENTS.md
🛠️ Testing
You can try Create a beautifully written short docx
Support
Contact: tanin(at)legalrabbit.ai
Learn more about us: LegalRabbit
Release a new version
- Go to the release Github Actions workflow.
- Click
Run workflowand fills in an appropriate tag e.g.1.0.0,1.0.0-dev - Wait for the workflow to complete.
- Go to the releases page and edit the new release accordingly.