Affinda MCP for AI Agents



Affinda is an AI-powered document processing platform that automates data extraction from resumes, invoices, and more. It streamlines document-heavy workflows by turning files into structured, actionable data.
Connect Affinda without Auth hassles
We manage OAuth, API Key, token refresh, and scopes, you just build.
Try for FreeTry Affinda now
Enter a prompt below to test the integration in our Tool Router playground. You'll be redirected to sign in and try it live.
Supported Tools
Install Composio
pip install composio claude-agent-sdkCreate Tool Router Session
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.urlConnect to AI Agent
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 Affinda tools.',
max_turns=10
)
async def main():
async with ClaudeSDKClient(options=options) as client:
await client.query('Extract company names from this 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())Why Use Composio?
AI Native Affinda Integration
- Supports both Affinda MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for reading, writing, and querying your Affinda data
Managed Auth
- Built-in API key handling with secure storage by Composio
- Central place to manage, scope, and revoke Affinda 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 Affinda
- Scoped, least privilege access to Affinda resources
- Full audit trail of agent actions to support review and compliance
Use Affinda with any AI Agent Framework
Choose a Framework you want to connect Affinda with
OpenAI Agents SDK
Use Affinda MCP with OpenAI Agents SDK
Claude Agents SDK
Use Affinda MCP with Claude Agents SDK
Claude Code
Use Affinda MCP with Claude Code
Claude Cowork
Use Affinda MCP with Claude Cowork
Codex
Use Affinda MCP with Codex

OpenClaw
Use Affinda MCP with OpenClaw

Hermes
Use Affinda MCP with Hermes
CLI
Use Affinda MCP with CLI
Google ADK
Use Affinda MCP with Google ADK
Langchain
Use Affinda MCP with Langchain
AI SDK
Use Affinda MCP with AI SDK
Mastra AI
Use Affinda MCP with Mastra AI
LlamaIndex
Use Affinda MCP with LlamaIndex
CrewAI
Use Affinda MCP with CrewAI
Pydantic AI
Use Affinda MCP with Pydantic AI
Autogen
Use Affinda MCP with Autogen
Explore Other Toolkits
Google Drive
Google Drive is a cloud storage platform for uploading, sharing, and collaborating on files. It's perfect for keeping your documents accessible and organized across devices.
Google Docs
Google Docs is a cloud-based word processor that enables document creation and real-time collaboration. Its seamless sharing and version history make team editing and content management a breeze.
Agility cms
Agility CMS is a headless content management system for building and managing digital experiences across platforms. It lets teams update content quickly and deliver omnichannel experiences with ease.
Frequently Asked Questions
Do I need my own developer credentials to use Affinda with Composio?
Can I use multiple toolkits together?
Is Composio secure?
What if the API changes?

Used by agents from



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





