Document processing in Claude Code
Add the Extend MCP server to Claude Code and process documents, build extractors, and manage runs from the terminal.
Step 1
Connect the MCP server
- Run the command below to register the server.
- Run /mcp inside Claude Code, select extend, and complete the OAuth sign-in.
- Ask Claude Code to process a document; it picks the right Extend tool.
claude mcp add --transport http extend https://mcp.extend.ai/mcpStep 2
Install the skills
Skills teach the agent how to drive Extend correctly. The CLI skill is generated from the extend command tree; the API skill is a brief on the API, SDKs, and schema rules.
extend-cli
curl -fsSL https://extend.ai/install.sh | sh && extend setupInstalls the extend command and writes the extend-cli skill to ~/.agents/skills/extend-cli/SKILL.md.
extend setup also symlinks the CLI skill into ~/.claude/skills/extend-cli, the path Claude Code reads.
extend-api
npx skills add extend-hq/extend-agent-plugin --skill extend-apiInstalls the extend-api context file at the project level so it can be committed with your repo.
Try these prompts
Copy one into the agent and let it pick the tools.
Verify it works
The agent calls get_me and lists the workspaces and environments it was granted. No credits are spent.
Frequently asked questions
Reconnect the server in your client to re-run the OAuth sign-in. Most clients have a reconnect or re-authenticate action on the server's settings entry; disconnecting and re-adding also works.
It's usually targeting the wrong place: resources are separated per workspace and per Test/Production environment. Ask the agent to check its granted workspaces and environments with the get_me tool and to target where the resource actually lives.
extend setup writes the skill to ~/.agents/skills/extend-cli/SKILL.md and symlinks it into ~/.claude/skills/extend-cli, the path Claude Code reads.
Other clients
Cursor
Parse and extract documents without leaving your editor.
Claude
Parse, extract, and fill documents from a Claude conversation.
Codex
Give Codex every Extend processor as a tool.
ChatGPT
Process documents from ChatGPT with a custom connector.
VS Code
Use Extend from GitHub Copilot agent mode in VS Code.
Windsurf
Parse and extract documents from Cascade in Windsurf.
Claude Code is a trademark of Anthropic, PBC. Extend is not affiliated with or endorsed by Anthropic, PBC.
