Airparser MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Airparser MCP or direct API to parse emails, extract document fields, process uploaded PDFs, and retrieve structured results through natural language.

Airparser logoAirparser
Api Key

Airparser is an AI-powered parser for extracting structured data from emails, documents, PDFs, and files. It turns messy inbound content into clean fields your apps and workflows can use.

10 Tools

Try Airparser now

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

TOOL ROUTER PLAYGROUND
Airparser
Try asking
TOOLS

Supported Tools

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

Clone Extraction Schema

Replace a destination inbox's extraction schema with a copy of a source inbox's schema.

Create Inbox

Create an Airparser inbox/parser for a document family using a text or vision extraction engine.

Delete Inbox

Permanently delete an Airparser inbox and every document it contains.

Get Account Usage

Return the connected Airparser account's role, verification state, plan, and parsing-credit usage without exposing personal, secret, or internal account fields.

Get Document

Get parsed output and status for a document, optionally including extended source and navigation details.

Get Inbox

Get one Airparser inbox, including its current extraction schema and useful parsing configuration.

List Documents

List and search documents in one inbox, one page at a time.

List Inboxes

List the Airparser inboxes available to the connected account.

Parse Document Synchronously

Upload one document to an inbox and wait for its extracted JSON.

Upsert Extraction Schema

Create or completely replace the extraction schema used by an Airparser inbox.

SETUP GUIDE

Connect Airparser 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 Airparser
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: 'Extract invoice totals from recent Airparser documents'
  }],
  maxSteps: 5,
});

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

Connect Airparser 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 Airparser 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: 'List my Airparser inboxes and show the latest parsed documents'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Airparser actions with your Agent

Why Use Composio?

AI Native Airparser Integration

  • Supports both Airparser MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable parsing and retrieval actions
  • Great for agents that need to read parsed invoices, resumes, receipts, orders, and email attachments

Managed Credential Handling

  • Connect Airparser with your own API key without hard-coding secrets in agent code
  • Central place to manage, scope, and revoke Airparser access
  • Per user and per environment credentials make production rollouts cleaner and safer

Agent Optimized Design

  • Tools are shaped so language models can understand Airparser actions without guesswork
  • Execution logs show what the agent ran, when it ran, and on whose behalf
  • Reliable schemas help agents turn natural language requests into structured parsing workflows

Enterprise Grade Security

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

Use Airparser with any AI Agent Framework

Choose a Framework you want to connect Airparser with

FAQ

Frequently asked questions

Yes, Airparser 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 Airparser.It takes 30 seconds.

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

Start building