DocuPipe MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with DocuPipe MCP or direct API to parse documents, extract structured data, classify files, and export review-ready results through natural language.

DocuPipe logoDocuPipe
Api Key

DocuPipe is a document automation API for parsing, classifying, reviewing, and exporting structured data. Use it to turn messy PDFs and files into clean data your workflows can trust.

13 Tools

Try DocuPipe now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
DocuPipe
Try asking
TOOLS

Supported Tools

Every DocuPipe action and event your agent gets out of the box.

Create Schema

Create a reusable extraction schema from a valid JSON Schema and optional extraction guidelines.

Delete Document

Permanently delete one previously submitted DocuPipe document by ID.

Delete Documents

Permanently delete multiple previously submitted DocuPipe documents by ID in one batch.

Find Documents

Browse documents by dataset and creation time, or search filenames and document IDs when query is provided.

Find Jobs

Retrieve one asynchronous job by ID, or list and filter jobs when job_id is omitted.

Get Account Usage

Return current plan and credit state together with job counts and credits consumed by job type, optionally including daily usage.

Get Document

Retrieve a processed document, including processing state, parsed content, page count, metadata, and file details.

Get Schema

Retrieve one extraction schema and its full JSON Schema definition by ID.

Get Standardization

Retrieve one completed standardization as structured JSON, including extraction data and field metadata.

List Schemas

List extraction schemas available to the connected workspace, optionally including each full JSON Schema payload.

List Standardizations

List structured extraction results, filtered by schema, document, or up to 1000 known standardization IDs.

Standardize Document

Start V3 agentic structured extraction for one processed document and return the job and standardization IDs.

Upload Document

Submit one local file or remote file URL for asynchronous parsing.

SETUP GUIDE

Connect DocuPipe MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK for Python or TypeScript
2

Initialize Client and Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
Import and initialize the Composio client, then create a Tool Router session for DocuPipe
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'Classify the latest uploaded contract in DocuPipe and export extracted clauses as JSON'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent (Anthropic Claude or Mastra)
SETUP GUIDE

Connect DocuPipe API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute DocuPipe Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Parse the latest uploaded invoice in DocuPipe and extract vendor, total, due date, and line items'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute DocuPipe actions with your Agent

Why Use Composio?

AI Native DocuPipe Integration

  • Supports both DocuPipe MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable document parsing and extraction
  • Use mcp.create() to expose DocuPipe tools to agents that need MCP access

Managed Auth

  • Bring your own DocuPipe API key and keep it out of agent prompts and app code
  • Create auth configs with auth_configs.create() and link user credentials with connected_accounts.link()
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned for AI agents, so document parsing, classification, and export calls are easier to trigger correctly
  • Comprehensive execution logs show what document task ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access DocuPipe
  • Scoped, least privilege access to DocuPipe document workflows
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use DocuPipe with any AI Agent Framework

Choose a Framework you want to connect DocuPipe with

FAQ

Frequently asked questions

Yes, DocuPipe requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with DocuPipe.It takes 30 seconds.

Managed auth, hosted MCP servers, and every DocuPipe tool your agent needs.Free to start.

Start building