Pdf co Integration for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Pdf co MCP or direct API to extract PDF text, merge documents, fill forms, split files, and process barcodes through natural language.
Pdf co Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Supported Tools

Tools
Get Account Balance InfoTool to get account balance info.
Generate BarcodeTool to generate barcode images (qr, code128, code39, pdf417, etc.
Convert Excel to CSVTool to convert an excel file (xls/xlsx) to csv.
Convert Excel to HTMLTool to convert an excel file to html.
Convert Excel to JSONTool to convert an online excel or csv file to json format.
Convert Excel to TextTool to convert excel files to plain text.
Convert Excel to XMLTool to convert an excel file to xml.
Document ParserTool to parse documents based on predefined templates to extract structured data.
Upload FileTool to upload a local file to pdf.
Check Job StatusTool to check status and result of an asynchronous job.
Add Content to PDFTool to add content to an existing pdf.
Change PDF Text SearchableTool to make pdf text searchable using ocr.
Delete PDF PagesTool to delete specific pages from a pdf file.
Extract PDF AttachmentsTool to extract embedded attachments from a pdf.
Find Text in PDFTool to find text in a pdf document.
PDF Forms Info ReaderTool to extract form field information from a pdf.
Convert Text to PDFTool to convert plain text data to pdf.
Convert Email to PDFTool to convert email files (.
Convert HTML to PDFTool to convert html code or webpage url into a pdf document.
PDF Info ReaderTool to retrieve detailed information and metadata of a pdf.
Merge PDFsTool to merge multiple pdf files into one document.
Rotate PDF PagesTool to rotate selected pages in a pdf.
Search and Delete Text in PDFTool to search for and delete text in a pdf by keyword or regex.
Search and Replace Text in PDFTool to search for and replace text in a pdf document.
Split PDFTool to split a pdf into multiple files by page ranges.
Convert PDF to CSVTool to convert pdf or scanned images to csv format.
Convert PDF to HTMLTool to convert pdf documents to html.
Convert PDF to ImageTool to convert pdf pages to images (png, jpg, tiff).
Convert PDF to JSONTool to convert pdf or scanned images to json format.
Convert PDF to TextTool to convert pdf or scanned images to plain text.
Convert PDF to XLSTool to convert pdf or scanned images to xls format.
Convert PDF to XLSXTool to convert pdf or scanned images to xlsx (excel) format.
Convert PDF to XMLTool to convert pdf or scanned images to xml format.

Why Use Composio?

AI Native Pdf co Integration

  • Supports both Pdf co MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Pdf co data

Managed Auth

  • Built-in API Key management with secure storage
  • Central place to manage, scope, and revoke Pdf co access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

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

Connect Pdf co MCP Tool with your Agent

Python
TypeScript

Install Composio

python
pip install composio claude-agent-sdk
Install the Composio SDK and Claude Agent SDK

Create Tool Router Session

python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
Initialize the Composio client and create a Tool Router session

Connect to AI Agent

python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Pdf co tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Extract text from this PDF file: https://files.example.com/invoice.pdf')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
Use the MCP server with your AI agent

Connect Pdf co API Tool with your Agent

Python
TypeScript

Install Composio

python
pip install composio_openai
Install the Composio SDK

Initialize Composio and Create Tool Router Session

python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
Import and initialize Composio client, then create a Tool Router session

Execute Pdf co Tools via Tool Router with Your Agent

python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Extract tables from this PDF invoice and return as JSON.'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
Get tools from Tool Router session and execute Pdf co actions with your Agent

Use Pdf co with any AI Agent Framework

Choose a Framework you want to connect Pdf co with

OpenAI Agents SDK

OpenAI Agents SDK

Use Pdf co MCP with OpenAI Agents SDK

Claude Agents SDK

Claude Agents SDK

Use Pdf co MCP with Claude Agents SDK

Google ADK

Google ADK

Use Pdf co MCP with Google ADK

Langchain

Langchain

Use Pdf co MCP with Langchain

AI SDK

AI SDK

Use Pdf co MCP with AI SDK

Mastra AI

Mastra AI

Use Pdf co MCP with Mastra AI

LlamaIndex

LlamaIndex

Use Pdf co MCP with LlamaIndex

CrewAI

CrewAI

Use Pdf co MCP with CrewAI

Pydantic AI

Pydantic AI

Use Pdf co MCP with Pydantic AI

Autogen

Autogen

Use Pdf co MCP with Autogen

Frequently Asked Questions

Do I need my own developer credentials to use Pdf co with Composio?

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

Can I use multiple toolkits together?

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

Is Composio secure?

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

What if the API changes?

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

Used by agents from

Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.