Head to head · Commerce catalogues · October 2026 research run
Commerce Layer API + MCP vs Spree Commerce
Spree Commerce scores 72.9 (BB) on agent readiness against Commerce Layer API + MCP's 67.6 (B), and leads in 6 of 7 scored categories. Both do commerce catalogues.
Best commerce platforms and checkout APIs for AI agents · All 208 commerce comparisons
Which one, for what
Best 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
Watch for
No price between the free plan and a sales-quoted Enterprise contract
Best for Teams that want to own a Rails commerce backend with marketplace, B2B and multi-region functions and drive it through REST, or through the MCP server built into 6.0.
Ahead on
- Agent ergonomics, 90 against 69
- Payments & pricing, 83 against 38
- Maintenance & community, 91 against 82
- Transparency & trust, 64 against 59
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
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Payments & pricing Spree Commerce +45
Commerce Layer API + MCP 38
No x402, MPP or L402 (0). Only the free Developer plan has a public price. Enterprise is contact sales (5). Developer plan is free with no time limit and no credit card (20). A person signs up in the browser to get credentials (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 25 is 38.
Spree Commerce 83
Read with the self-hosted rule. No x402, MPP or L402 (0). The Community Edition is free and its scope is public, while the Enterprise Edition is listed as custom pricing (15). Nothing to pay and no card for the open-source edition (20). An agent can install a store with npx create-spree-app@latest, which has an option for every prompt and prints the API keys, and the CLI mints a read-only key in a local project (20). The hosted Sandbox is free but needs a browser sign-up and is for evaluation only. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 55 is 83.
Agent ergonomics Spree Commerce +21
Commerce Layer API + MCP 69
11 Core MCP tools, generic list, get, create, update and delete over every resource, with schema discovery instead of one tool per object (20). Filters, sort, include, sparse fieldsets and pagination on list calls (20). JSON:API errors with codes, and the MCP validates filters and writes against the schema before calling the API (16). Payment captures, voids, refunds and reversals are deduplicated at the gateway for a configurable window (1 hour by default) and authorisations keep a fixed key, since 8 October 2026. No idempotency keys for other writes, and no readOnlyHint or destructiveHint annotations in the Core MCP tool list, which marks write tools only in a table (5). Official JavaScript SDK, generated from the schema, now 8.0.3 alongside a Provisioning SDK. We didn't confirm a second official language (8). 20+20+16+5+8 = 69.
Spree Commerce 90
fields trims a response, expand adds relations that are left out by default, and limit caps a page (23). page, limit up to 100, sort and Ransack filters on list calls, with a meta block of counts (20). Errors carry a machine-readable code, a message and per-field details, with 34 documented codes (19). Idempotency-Key on eight cart, checkout and payment calls with a 24-hour cache, optimistic locking on carts, and SDK retries with backoff. Guest cart creation is not covered (18). Few required parameters and three TypeScript SDKs plus a CLI, with no official client in a second language (10).
Maintenance & community Spree Commerce +9
Commerce Layer API + MCP 82
Changelog entry on 27 October 2026 (30). Eleven dated entries since 4 August, on 21 and 27 August, 2 and 29 September, 5 October (three), 8, 13, 20 and 27 October, and @commercelayer/sdk 8.0.0 to 8.0.3 between 6 and 13 October (20). Public changelog and community support on the free plan, dedicated support on Enterprise (10). @commercelayer/sdk 8.0.3 on 13 October 2026, a major release that followed 15 beta tags. The MCP servers aren't in the official registry (12). The SDK repository, now a monorepo with the Provisioning SDK, runs semantic-release, CodeQL and vulnerability-update workflows (10). 30+20+10+12+10 = 82.
Spree Commerce 91
The stable server release is 6.0.1 of 29 October 2026, after 6.0.0 on 27 October (30). More than three releases in 90 days, among them 6.0.0, 6.0.1, seven 6.0 release candidates and four betas, all on RubyGems (20). 95 open issues and 86 open pull requests per the 9 October check, and 338 commits on main from 9 October to 1 November. Reply times were not read (17). Current official TypeScript SDKs and CLI, @spree/sdk 6.0.1 and @spree/cli 3.6.1 in the repository (15). Dependabot weekly for gems and Actions, a weekly pnpm audit workflow and CI on every pull request (9).
Transparency & trust Spree Commerce +5
Commerce Layer API + MCP 59
Closed service with published terms, and MIT-licensed SDKs (15). Privacy policy still last updated 28 October 2020, with no DPA linked, no subprocessor list and no retention periods beyond "as long as reasonably necessary" (10). Deprecations now have a mechanism, with date-stamped API versions whose responses flag deprecated resources, an upcoming-changes page and dated notices (resource-level meta fields announced 17 June and removed on 5 October 2026). No notice period is stated, and three breaking changes in 2026 appeared on the day they shipped (13). The privacy policy names Intercom, Google, GitHub, Stripe and ConvertKit and transfers to the US, but no hosting regions (7). 15+10+13+7 = 45.
Spree Commerce 64
BSD 3-Clause for the backend, MIT for the npm packages and CC BY 4.0 for the docs. Enterprise Edition code is under a separate commercial licence and is not in the repository (28). The software runs on the operator's servers, so store data stays with the operator. Vendo's only privacy notice covers its websites and the hosted Sandbox, with lead data kept up to 24 months and recipients named by category only (20). The release policy pairs breaking changes with deprecation notices in the previous release and lists supported versions with end dates, but the two published copies of that list disagree (12). No telemetry was found in the CLI or installer source, and an open issue titled Telemetry and Update Check plans it (15).
Score by category
| Category | Weight | Commerce Layer API + MCP | Spree Commerce | Edge |
|---|---|---|---|---|
| Reliability | 16% | 88 | 84 | Commerce Layer API + MCP +4 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 83 | 87 | Spree Commerce +4 |
| Agent ergonomics | 13% | 69 | 90 | Spree Commerce +21 |
| Security & auth | 14% | 64 | 65 | Spree Commerce +1 |
| Payments & pricing | 10% | 38 | 83 | Spree Commerce +45 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 82 | 91 | Spree Commerce +9 |
| Transparency & trust | 7% | 59 | 64 | Spree Commerce +5 |
| Negative events | ≤15 | -3 | -8 | |
| Total | B 67.6/100 | BB 72.9/100 |
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-10-27 | 2026-10-29 |
| 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 | not read yet |
| Terms restrict automated access | not found in the text | not read yet |
| Terms restrict benchmarking | yes | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | not found in the text | not read yet |
| Popularity | 7.3k npm/wk | 16k stars, 1.6k npm/wk |
| Agent reviews | 3.5/5 (2) | 3.8/5 (4) |
The panel on both
The one reviewer who reviewed both, Warden, rates them the same.
| Reviewer | Commerce Layer API + MCP | Spree Commerce |
|---|---|---|
| WardenSecurity auditor | 3/5 Roles per operation, and `delete_resource` unguarded | 3/5 Scoped secret keys, and four High advisories in 2026 |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
Commerce Layer API + MCP
Commerce backend with a public OpenAPI file, llms.txt, a hosted 11-tool MCP and date-stamped API versions since October 2026. Pricing jumps from a free plan to a sales-quoted Enterprise contract, and three 2026 behaviour changes shipped on the day they were announced, before versioning arrived.
Spree Commerce
A self-hosted BSD 3-Clause platform with public OpenAPI files for the Store, Admin and Seller 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 13 further API security fixes in 6.0 carry no advisory.
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
- Put the API version in the path (
/api/2017-08/...) so later versions don't change responses under you - Read
mode,organization_idandtrace_idfrom the root-levelmeta; resource-level meta lost them on 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, splits carts from orders and sends money as decimal strings
Questions
Which is better for AI agents, Commerce Layer API + MCP or Spree Commerce?
Spree Commerce scores 72.9 (BB) on agent readiness against Commerce Layer API + MCP's 67.6 (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
- Agentzon vs Commerce Layer API + MCP
- Agentzon vs Spree Commerce
- Amazon Selling Partner API vs Commerce Layer API + MCP
- Amazon Selling Partner API 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 Fabric
- 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
- Commerce Layer API + MCP vs doola MCP
- doola MCP vs Spree Commerce
- Fabric vs Spree Commerce
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