Skip to main content
SuperDoc does not bundle an AI model or send documents to an AI provider. It gives AI systems structured access to real .docx files (read, edit, comment, redline, save) through the same Document API the browser editor uses.

Pick your path

What AI can control

AI workflows can use SuperDoc to:
  • Read document text, Markdown, HTML, and structure
  • Search for clauses, paragraphs, comments, and tracked changes
  • Insert, replace, and delete content
  • Apply formatting
  • Add and resolve comments
  • Accept or reject tracked changes
  • Save the result as a real .docx
The model never edits raw XML. It calls structured tools. SuperDoc applies the changes through the same document engine used by the editor.

I want my coding agent to edit DOCX files

Use the MCP server. Fastest path for Claude Code, Cursor, Windsurf, and other MCP clients.
Then ask your agent to open a .docx file, inspect it, and make an edit. MCP setup guide →

I want AI features inside my product

Use the SDK tool definitions. They work with OpenAI, Anthropic, Vercel AI SDK, and generic tool-calling loops.
LLM tools guide →

I want AI output in a visible editor

Render the document in the browser editor for selection and visual feedback. Generate content with your model, then insert or replace it through the Document API.
Streaming editor pattern →

Data boundary

SuperDoc runs on your infrastructure. The editor, SDK, CLI, and MCP server do not send documents to SuperDoc Cloud. If you connect an AI provider, your app or agent decides what document content to send. For sensitive documents, send the smallest useful excerpt instead of the full file.

Common patterns

What SuperDoc does not do

  • It does not include an LLM.
  • It does not automatically upload documents to an AI provider.
  • It does not require a hosted SuperDoc service.
  • It does not ask the model to rewrite raw DOCX XML.
SuperDoc gives the model safe document operations. Your app controls the model, prompts, permissions, and data flow.

Where to next