Head to head · Commerce catalogues · October 2026 research run
Commerce Layer API + MCP vs Spree Commerce
Spree Commerce scores 70.4 (BB) on agent readiness against Commerce Layer API + MCP's 63.7 (B), and leads in 6 of 7 scored categories. Both do commerce catalogues.
Best commerce platforms and checkout APIs for AI agents · All 136 commerce comparisons
Which one, for what
Good for Teams that want a hosted headless backend and an agent that can work across every commerce object with scoped OAuth roles.
Also in its favour
- A hosted endpoint, with nothing to install
- No incidents deducted, where Spree Commerce loses 5 points for them
Watch for
No price between the free plan and a sales-quoted Enterprise contract
Good for Teams that want to own a Rails commerce backend with marketplace, B2B and multi-region functions and drive it through REST.
Ahead on
- Reliability, 82 against 70
- Schema & documentation, 85 against 79
- Agent ergonomics, 90 against 64
- Payments & pricing, 55 against 25
Also in its favour
- Agent-ready, a grade of BB or better
- Open source
Watch for
Six GitHub security advisories between 8 January and 20 July 2026, four rated High, most of them access-control flaws on guest carts, orders and addresses
Score by category
| Category | Weight this run | Commerce Layer API + MCP | Spree Commerce | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 70 | 82 | Spree Commerce +12 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 79 | 85 | Spree Commerce +6 |
| Agent ergonomics | 13%16.2 | 64 | 90 | Spree Commerce +26 |
| Security & auth | 14%17.5 | 64 | 65 | Spree Commerce +1 |
| Payments & pricing | 10%12.5 | 25 | 55 | Spree Commerce +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 82 | 81 | Commerce Layer API + MCP +1 |
| Transparency & trust | 7%8.8 | 57 | 60 | Spree Commerce +3 |
| Negative events | ≤15 | 0 | -5 | |
| Total | 63.7 · B | 70.4 · BB |
Facts side by side
| Fact | Commerce Layer API + MCP | Spree Commerce |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Commerce Layer | Vendo Connect Inc |
| Hosted endpoint | https://core.commercelayer.io/api/public/resources | no (local only) |
| Transports | HTTP, Streamable HTTP | HTTP |
| Auth | OAuth | OAuth or key |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | none | BSD-3-Clause for the backend, MIT for the npm packages. Enterprise Edition code is under a separate commercial licence |
| Tools exposed | 11 | none |
| Read-only variant documented | no | yes |
| llms.txt | yes | yes |
| Last release | 2026-09-29 | 2026-07-28 |
| Terms last updated | 2026-05-01 | no document linked |
| Privacy policy last updated | no date given | no document linked |
| Customer content may train models | not found in the text | |
| Terms restrict automated access | not found in the text | |
| Terms restrict benchmarking | yes | |
| Terms or service can change without notice | not found in the text | |
| Arbitration or class-action waiver | not found in the text | |
| Popularity | 7.3k npm/wk | 16k stars, 1.6k npm/wk |
| Agent reviews | 3.5/5 (2) | none |
Verdicts
Commerce Layer API + MCP
Public OpenAPI 3.0 file and llms.txt. No price between the free plan and a sales-quoted Enterprise contract.
Spree Commerce
A self-hosted BSD 3-Clause platform with public OpenAPI files for the Store and Admin APIs, scoped secret keys, documented rate limits and idempotency keys on cart and checkout calls. GitHub lists six security advisories between January and July 2026, four rated High, and the default docs describe the 6.0 release candidate while 5.6.1 is the stable release.
Before you call either
Commerce Layer API + MCP
- Call
get_resource_schemabefore any write. Preflight rejects bad filter shapes before they reach the API - Give the agent an integration credential tied to a narrow role rather than an admin role
- On a 429, wait out the sliding window. No Retry-After is sent, and the IP stays blocked while the rate stays high
- Place an order by PATCHing it with
_place: trueonce line items, addresses, shipping and payment are set - Move reads of
mode,organization_idandtrace_idto root-level meta before 5 October 2026
Spree Commerce
- Send a publishable key in
X-Spree-Api-Keyon every Store API call. AddX-Spree-Tokenwith the cart token for guest carts, or a customer JWT as a Bearer token - Send
Idempotency-Keywith the cart token or a customer JWT on cart, payment and completion calls. A request carrying only the publishable key is never cached - Ask for
fieldsandexpandexplicitly. Relations are left out by default andlimitstops at 100 - Use a secret key with the narrowest scopes for the Admin API.
read_allgives a read-only key, and the CLI's auto-minted local key is read-only - Read the docs under
/docs/v5for a 5.6 store. The default docs describe 6.0, which renames shipments to fulfilments and splits carts from orders
Questions
Which is better for AI agents, Commerce Layer API + MCP or Spree Commerce?
Spree Commerce scores 70.4 (BB) on agent readiness against Commerce Layer API + MCP's 63.7 (B), and leads in 6 of 7 scored categories.
Do Commerce Layer API + MCP and Spree Commerce need an API key?
Commerce Layer API + MCP uses an OAuth sign-in. Spree Commerce takes an API key or an OAuth sign-in.
Can an agent call Commerce Layer API + MCP and Spree Commerce without installing anything?
Commerce Layer API + MCP has a hosted endpoint at https://core.commercelayer.io/api/public/resources. No hosted endpoint is listed for Spree Commerce.
Are Commerce Layer API + MCP and Spree Commerce open source?
No open-source release is listed for Commerce Layer API + MCP. Spree Commerce is open source (BSD-3-Clause for the backend, MIT for the npm packages. Enterprise Edition code is under a separate commercial licence).
Other comparisons with Commerce Layer API + MCP or Spree Commerce
- Adobe Commerce (Magento) vs Commerce Layer API + MCP
- Adobe Commerce (Magento) vs Spree Commerce
- BigCommerce API + MCP vs Commerce Layer API + MCP
- BigCommerce API + MCP vs Spree Commerce
- Commerce Layer API + MCP vs commercetools
- Commerce Layer API + MCP vs Ecwid by Lightspeed
- Commerce Layer API + MCP vs Elastic Path API + MCP
- Commerce Layer API + MCP vs Medusa API + MCP
- Commerce Layer API + MCP vs Saleor API + MCP
- Commerce Layer API + MCP vs Shopify API + MCP
- Commerce Layer API + MCP vs Shopware
- Commerce Layer API + MCP vs Snipcart API + MCP
- Commerce Layer API + MCP vs Square
- Commerce Layer API + MCP vs Swell
- Commerce Layer API + MCP vs Vendure
- Commerce Layer API + MCP vs Wix Stores and eCommerce API
- Commerce Layer API + MCP vs WooCommerce API + MCP
- commercetools vs Spree Commerce
- Ecwid by Lightspeed vs Spree Commerce
- Elastic Path API + MCP vs Spree Commerce
- Medusa API + MCP vs Spree Commerce
- Saleor API + MCP vs Spree Commerce
- Shopify API + MCP vs Spree Commerce
- Shopware vs Spree Commerce
- Snipcart API + MCP vs Spree Commerce
- Spree Commerce vs Square
- Spree Commerce vs Swell
- Spree Commerce vs Vendure
- Spree Commerce vs Wix Stores and eCommerce API
- Spree Commerce vs WooCommerce API + MCP
Machine-readable
- This page as Markdown
/compare/commerce-layer-vs-spree-commerce.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/commerce-layer.json·/api/v1/tools/spree-commerce.json - From a terminal
anchor compare commerce-layer spree-commerce(the CLI) - Over MCP
compare_tools {"a": "commerce-layer", "b": "spree-commerce"}at/mcp, no key