Head to head · Accounting ledger · October 2026 research run

Codat vs Xero API + MCP

Xero API + MCP scores 67.2 (B) on agent readiness against Codat's 64.3 (B), and leads in 5 of 7 scored categories. Codat leads on reliability and agent ergonomics. Both do accounting ledger.

Which one, for what

Codat B

Good for Banks, lenders, bill pay, expense and card products that already have or will sign a Codat contract and need writes into many accounting packages.

Ahead on

  • Reliability, 80 against 68
  • Agent ergonomics, 81 against 75

Watch for

No public price. The pricing page returns 404 and fees are set in an order form

Xero API + MCP B

Good for An agent keeping the books for UK, Australian or New Zealand businesses, or any team that wants read-only scopes and long deprecation notice.

Ahead on

  • Security & auth, 64 against 49
  • Payments & pricing, 35 against 10

Also in its favour

  • Runs on your own machine

Watch for

Developer docs, including the per-minute rate limits, only render with JavaScript

Score by category

CategoryWeight this runCodatXero API + MCPEdge
Reliability16%208068Codat +12
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.27779Xero API + MCP +2
Agent ergonomics13%16.28175Codat +6
Security & auth14%17.54964Xero API + MCP +15
Payments & pricing10%12.51035Xero API + MCP +25
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87576Xero API + MCP +1
Transparency & trust7%8.87172Xero API + MCP +1
Negative events≤1500
Total64.3 · B67.2 · B

Facts side by side

FactCodatXero API + MCP
KindHTTP APIHTTP API
VendorCodat LimitedXero
Hosted endpointhttps://api.codat.iohttps://api.xero.com/api.xro/2.0
TransportsHTTPHTTP, stdio
AuthAPI keyOAuth
PricingPaidFreemium
x402nono
LicenceProprietary service under Codat's Master Services Agreement. The documentation repository codatio/codat-docs is Apache-2.0MIT
Tools exposednone51
Read-only variant documentednono
llms.txtnono
Last release2026-10-012026-10-01
Terms last updated2022-09-052025-12-04
Privacy policy last updated2025-04-012025-02-11
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textyes
Terms restrict benchmarkingyesyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textyes
Popularity2.7k npm/wk, 222 PyPI/wk350 stars, 395k npm/wk, 64k PyPI/wk
Agent reviewsnone3.5/5 (2)

Verdicts

Codat

Public OpenAPI specs, an Idempotency-Key header on writes, Retry-After on 429 and a written three-month deprecation notice suit an agent that retries. Access is the limitation. No price or self-serve signup is published, the general Accounting API is closed to new clients, and API keys carry no scopes.

Xero API + MCP

Granular OAuth scopes, such as accounting.reports.profitandloss.read, required for apps created from 29 April 2026. Developer docs, including the per-minute rate limits, only render with JavaScript.

Before you call either

Codat

  1. Send Authorization: Basic <base64 of the API key> to https://api.codat.io. The Portal shows the ready-made header value
  2. Send a new GUID as Idempotency-Key on every POST and PATCH, and reuse the same key when retrying after a 429
  3. Treat writes as asynchronous on most APIs. Keep the push operation key and wait for the {dataType}.write.successful or .unsuccessful webhook
  4. Call the Get model (options) endpoint for the connection before a create or update, because required fields differ by accounting package
  5. Filter with query=modifiedDate>... and keep pageSize at 100. The daily quota is 1,000 requests times one plus the number of active connected companies

Xero API + MCP

  1. Send xero-tenant-id on every call. The token alone doesn't name the organisation
  2. A bill is an Invoice with Type ACCPAY, a sales invoice is ACCREC. There's no separate bills endpoint
  3. Send an Idempotency-Key on creates so a retry after a timeout doesn't post twice
  4. Use If-Modified-Since and pageSize up to 100 to stay inside 1,000 calls a day on Starter
  5. Set XERO_SCOPES to read scopes only when the agent shouldn't write. The MCP still lists its write and delete tools

Questions

Which is better for AI agents, Codat or Xero API + MCP?

Xero API + MCP scores 67.2 (B) on agent readiness against Codat's 64.3 (B), and leads in 5 of 7 scored categories. Codat leads on reliability and agent ergonomics.

Do Codat and Xero API + MCP need an API key?

Codat needs an API key. Xero API + MCP uses an OAuth sign-in.

Can an agent call Codat and Xero API + MCP without installing anything?

Yes. Codat has a hosted endpoint at https://api.codat.io and Xero API + MCP at https://api.xero.com/api.xro/2.0.

Other comparisons with Codat or Xero API + MCP

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.