How to integrate Eagle doc MCP with Atomic Agent

Connect Atomic Agent to Eagle doc MCP. Extract vendor name from uploaded invoice, summarize total expenses from receipt batch, and more using natural language, with authentication handled for you.

Eagle doc logoEagle doc
Api Key

Eagle doc is an AI-powered OCR API for invoices and receipts. It delivers fast, reliable, and accurate document data extraction for seamless automation.

9 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including Eagle doc.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Eagle doc account. See the Atomic Agent documentation for installation instructions.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Eagle doc with

How Atomic Agent connects to Eagle doc

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Eagle doc to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Eagle doc. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Eagle doc account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Eagle doc MCP server, and what's possible with it?

The Eagle doc MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Eagle doc account. It provides structured and secure access to document OCR and usage data, so your agent can classify documents, extract invoice and receipt details, submit batch processing tasks, and monitor account usage on your behalf.

  • Document OCR and classification: Have your agent process various document types, including bank statements, resumes, passports, and delivery sheets, with automatic classification.
  • Invoice and receipt extraction: Let the agent extract structured invoice data from encoded images and capture receipt details such as merchants, line items, taxes, and payments.
  • Batch document processing: Direct your agent to submit multiple documents for OCR processing when you need to handle larger workloads.
  • Quota and cost monitoring: Instruct your agent to check contractual quotas, current usage, processed pages, extra usage, and associated costs.
  • Usage history and request review: Have your agent retrieve monthly usage history and review recent processing activity with page counts and timestamps.

Use Eagle doc from Atomic Agent

With your account connected, ask Atomic Agent to work with Eagle doc in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

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

Process Any Document with OCR

Tool to process any document type with OCR and automatic classification.

Submit Batch Any Document OCR Task

Submit one document for asynchronous batch OCR, including bank statements, resumes, passports, and delivery sheets.

Delete Batch Processing Task

Tool to delete a submitted batch processing task from the queue.

Eagle Doc Invoice OCR from Base64

Extract structured invoice data from a base64-encoded invoice image or document using Eagle Doc OCR.

Get Management Quota

Tool to get contractual quota allowance and current usage counters for all workloads.

Receipt OCR V3

Tool to process receipt images into structured JSON with 40+ fields including merchant info, line items, taxes, and payments.

Get Current Month Usage

Tool to get current month's usage statistics including quota, pages processed, over-usage, and costs.

Get Monthly Usage History

Retrieve monthly usage records with optional pricing context for reconciliation and forecasting.

Get Usage Request Logs

Tool to retrieve chronological list of recent API calls with page counts and timestamps.

FAQ

Frequently asked questions

Start with Eagle doc.It takes 30 seconds.

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

Start building