Skip to main content

Requirements

Before you begin, you must have the following:

Install the Transform MCP server

You should be able to instruct Claude Code to install the Transform MCP server by asking Claude Code the following:
Install the Unstructured Transform MCP server by using these instructions: 
https://docs.unstructured.io/transform/install/claude-code.mdx
If this does not work, to install the Transform MCP server manually, complete the following steps.If you are able to successfully connect, skip ahead to parse your source files.
  1. From your terminal, register the Transform MCP server:
    claude mcp add -s user transform -- npx -y mcp-remote https://mcp.transform.unstructured.io
    
  2. Allow access to the mcp.transform.unstructured.io domain by using a text editor to add the following setting to your Claude settings.json file as a top-level object:
    {
      "mcpServers": {
        "transform": {
          "...": "..."
        }
      },
      "sandbox": {
        "enabled": true,
        "network": {
          "allowedDomains": [
            "mcp.transform.unstructured.io"
          ]
        }
      }
    }
    
    This Claude settings.json file can typically be found in the following location:
    • macOS and Linux: ~/.claude/settings.json
    • Windows: %APPDATA%\Claude\settings.json
    However, see Claude Code settings in the Claude Code documentation.
  3. From your terminal, authenticate with the Transform MCP server:
    npx -y mcp-remote https://mcp.transform.unstructured.io
    
    A web browser tab will appear, prompting you to authenticate with Transform. Follow the on-screen directions to finish authenticating.
  4. After you authenticate, back in your terminal, press Ctrl + C to exit and return to your terminal prompt.
  5. Start a Claude Code session by running the claude command.
  6. The Transform MCP server is ready for you to start using.

Parse your source files

Parsing requests have the following limits:
  • Each file must be of a supported file type.
  • Each file must be 50 MB or less in size.
  • Each request must have 10 files or fewer.
  • Only 5 requests can be running at a time.
The Transform MCP server is designed to notify Claude Code about these limits. Because of this, Claude Code should notify you whenever it encounters a file that exceeds 50 MB in size. Also, Claude Code should formulate strategies to send requests that are 10 files or fewer and not cause more than 5 requests to be running at a time.
  1. After you install the Transform MCP server and start a Claude Code session, from your terminal, switch to the folder on your local machine that stores the files you want Transform to parse.
  2. Enter the following prompt:
    Use the Unstructured Transform MCP server to parse the files in this project.
    
    Provide the results as JSON files, one JSON file per source file.
    
    As needed, adapt the phrase in this project in the preceding prompt to indicate a more specific project folder. Also, as needed, guide Claude Code as to where to write Transform’s output into the project. Transform parses your input files and delivers its results to you as a set of output files, one output file per input file.

Next steps

  • Control Transform file parsing output: Control how the Unstructured Transform MCP server instructs Transform to partition, enrich, chunk, and embed the data based on your files.
  • Control Transform generated sample code: Control how the Unstructured Transform MCP server generates sample curl or Python code that demonstrates how to use Transform to partition, enrich, chunk, and embed the data based on your files.

Questions? Need help?