Eagle doc for AI agents

Eagle Doc is an OCR API that reads invoices and receipts, extracting structured data from scanned documents for automated bookkeeping. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

DocumentsAPI keyMCP + RESTeagledoc.io
AUDIT LOG · EAGLE DOCPOLICY: acme-support
09:41:09 · claude · u_8f2write
eagle_doc.any_doc_ocr
Process Any Document with OCR✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
eagle_doc.batch_task_delete
Delete Batch Processing Task✕ blocked · policy: deny
EVERY EAGLE DOC CALL, ON THE RECORD
01 · USE CASES

What agents do in Eagle doc.

01

Extract data from a receipt

Run receipt OCR on an uploaded image to pull the vendor, date, and total into an expense record.

02

Check monthly usage

Read current month usage to see how many documents have been processed against the quota.

03

Read-only quota checks

Get the management quota as a read-only step before submitting a large batch OCR task.

02 · ACTIONS

10 Eagle doc actions, graded by risk.

Every Eagle doc action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

0

Look things up. Allowed by default.

  • No read actions.

write

9

Create and change things. Allow, or ask the user first.

  • eagle_doc.any_doc_ocr
    Process Any Document with OCR
  • eagle_doc.receipt_ocr_v3
    Receipt OCR V3
  • eagle_doc.management_quota
    Get Management Quota
  • eagle_doc.receipt_quota_v2
    Get Receipt Quota V2 (Deprecated)
  • eagle_doc.batch_any_doc_ocr
    Submit Batch Any Document OCR Task
  • eagle_doc.invoice_ocr_base64
    Eagle Doc Invoice OCR from Base64
  • eagle_doc.usage_request_logs
    Get Usage Request Logs
  • eagle_doc.usage_current_month
    Get Current Month Usage
  • eagle_doc.usage_monthly_history
    Get Monthly Usage History

destructive

1

Delete, cancel or archive. Ask first, or deny outright.

  • eagle_doc.batch_task_delete
    Delete Batch Processing Task
03 · HOW IT WORKS

Eagle doc in three steps.

  1. 01Your users connect Eagle docThey add their Eagle doc api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “process Any Document with OCR” can wait for the user, and “delete Batch Processing Task” can be denied outright.
  3. 03Any agent can actYour agent calls Eagle doc through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('eagle_doc', {
  read: 'allow',
  write: 'ask',        // any_doc_ocr
  destructive: 'deny',  // batch_task_delete
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Eagle doc connects.

Users add their Eagle doc api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same Eagle doc connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Eagle doc from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Eagle doc and Arc0, answered.

Q01

Can I use Eagle doc with Claude, ChatGPT or Cursor?

Yes. Connect Eagle doc to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Eagle doc actions you allow.

Q02

How do users connect Eagle doc?

Users add their Eagle doc api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which Eagle doc actions can my agent take?

10 in total: 0 read, 9 write and 1 destructive, such as “process Any Document with OCR”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Eagle doc?

Yes. Actions like “delete Batch Processing Task” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Eagle doc too?

Yes. The same Eagle doc connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Eagle doc into your agent.

Your users connect Eagle doc once, under your brand. Your agent gets 10 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan