Skip to main content
Glama

Macaroon Network — Verifiable commerce for AI agents

Discover → Inspect → Pay → Verify → Settle.

Macaroon Network gives AI agents a machine-readable way to discover digital services, inspect their inputs, price, source information and declared acceptance conditions, then decide whether to execute.

For predicate-gated routes, Macaroon evaluates the declared machine-checkable condition against the returned result as part of settlement. An HTTP 200 alone does not prove that the acceptance condition passed or that payment settled. See how acceptance predicates work. Read the worked example on HTTP 200 and agent payments.

Try free discovery — no wallet or API key required.

  • Website: https://macaroonnetwork.com

  • Service catalogue

  • Developer docs

  • Remote MCP: https://api.macaroonnetwork.com/mcp

  • AI catalogue: https://api.macaroonnetwork.com/.well-known/ai-catalog.json

  • Agent capabilities: https://api.macaroonnetwork.com/.well-known/agent-capabilities

  • A2A Agent Card: https://api.macaroonnetwork.com/.well-known/agent-card.json

  • x402 discovery: https://api.macaroonnetwork.com/.well-known/x402

  • OpenAPI: https://api.macaroonnetwork.com/openapi.json

Try the wallet-free path first

Connect your MCP client to:

https://api.macaroonnetwork.com/mcp

Then call:

  1. macaroons_categories — inspect the category registry.

  2. macaroons_search — search for a capability such as live UK company data.

  3. Inspect the returned listing before considering execution.

Example search arguments:

{
  "intent": "Find a live UK Companies House company search",
  "limit": 3
}

This discovery path does not require payment.

Related MCP server: hypawave

Current public MCP tools

The current 0.4.0 server exposes:

  • macaroons_search — search sale-ready products by natural-language intent.

  • macaroons_metadata — retrieve freshness and content-hash metadata.

  • macaroons_categories — retrieve canonical categories and mapped-product counts.

  • macaroons_discover_mcp — discover evidenced Macaroon MCP servers and transports.

  • macaroons_sources — inspect reviewed sources and rights records.

  • macaroons_execute — request execution for a selected service.

The first five are discovery/read-oriented. Paid terms are route-specific and must be taken from the selected listing and current unsigned challenge.

x402 payment model

Selected paid routes use x402 with USDC on Base mainnet.

The package does not hold a wallet and does not sign for the caller. When a route requires payment, macaroons_execute returns the exact challenge for the caller's wallet infrastructure to sign. The caller then retries with the signed proof.

Example challenge shape:

{
  "x402_payment_required": true,
  "resource_url": "https://api.macaroonnetwork.com/execute/...",
  "amount_atomic": "3000",
  "network": "eip155:8453",
  "extra_name": "USD Coin",
  "extra_version": "2",
  "x402_version": 2
}

Do not assume every service uses identical payment or failure semantics. Inspect the individual service contract before execution.

Install the stdio package

The current PyPI package is 0.4.0. See the v0.4.0 release notes and PyPI package.

pip install macaroonnetwork-mcp

Generic stdio configuration:

{
  "mcpServers": {
    "macaroonnetwork": {
      "command": "macaroonnetwork-mcp"
    }
  }
}

The default registry is https://api.macaroonnetwork.com. For local development, override it with MACAROONS_REGISTRY_URL.

Remote MCP client examples

Claude Code

claude mcp add --transport http macaroon-network https://api.macaroonnetwork.com/mcp

Codex CLI

codex mcp add macaroon-network --url https://api.macaroonnetwork.com/mcp

Cursor

See client-configs/cursor.json.

VS Code

See client-configs/vscode.json.

Client-specific account, connector and policy requirements can apply.

Raw Streamable HTTP example

See docs/wallet-free-quickstart.md for a minimal JSON-RPC walkthrough that initializes the server, lists tools and calls macaroons_categories without a wallet.

Why Macaroon is different

Most tool directories tell an agent where an API exists.

Macaroon is designed to make the commercial contract inspectable too:

  • machine-readable inputs

  • price

  • source/provenance information

  • declared acceptance condition

  • route-specific payment terms

  • explicit limitations

The core idea is simple:

Agents should pay for checked outcomes, not merely successful HTTP responses.

Press kit

See the press kit for the public demo, technical context and artwork.

Security

Please do not report security issues in a public issue. See SECURITY.md or https://macaroonnetwork.com/.well-known/security.txt.

License

The Python package metadata declares MIT. A root LICENSE file will only be added after the repository owner completes the explicit public-release licence review.

Available Tools

6 tools
macaroons_categoriesA

List Macaroon's canonical intelligence categories and exact mapped product counts. Free, no payment required.

Inputs: no named parameters.

macaroons_discover_mcpC

List evidenced live Macaroon MCP servers and transports. Free.

Inputs: no named parameters.

macaroons_executeA

Execute a paid marketplace capability by capability_id using x402 USDC on Base. Payment only settles if the acceptance predicate passes against the bridge response; bridge errors and predicate failures refund. If no wallet is configured (the default), returns x402_payment_required with the real payment terms for you to pay/sign yourself.

Inputs: input (required), capability_id (required), predicate, payment_signature.

macaroons_metadataA

Get free metadata for a feed target before purchasing. Returns freshness and content_hash. No payment required.

Inputs: target_id (required).

macaroons_sourcesB

List reviewed source records, rights states, provenance requirements, and honest mapping coverage. Free.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 6 tools

    Disambiguation4/5

    Each tool targets a distinct layer of the marketplace: search, taxonomy, MCP discovery, source provenance, pre-purchase metadata, and paid execution. search and metadata are the closest pair, but metadata is scoped to a specific feed target before purchase, so the boundary is clear enough.

    Naming Consistency4/5

    All tools share a predictable macaroons_ prefix, and most use readable action or resource nouns. The set mixes imperatives (search, execute, discover_mcp) with plain nouns (categories, sources, metadata), which is a minor inconsistency but still coherent.

    Tool Count5/5

    Six tools is well-scoped for a marketplace/discovery server, covering search, taxonomy, provenance, discovery, metadata, and execution without redundant surface area.

    Completeness4/5

    Core workflows are covered: discover categories and sources, search capabilities, inspect metadata, and execute a paid capability. Minor gaps remain around retrieving purchased results or payment history, but the essential lifecycle is present.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI agents to discover, purchase, and query blockchain-based datasets using Filecoin/IPFS storage with Ethereum NFT access controls and Lit Protocol encryption. Provides a decentralized marketplace for secure dataset trading with automatic purchase workflows and SQL query capabilities.
      0
      -
    • A
      license
      A
      quality
      B
      maintenance
      Give your agent an address: private agent-to-agent messaging, free encrypted file handoffs, and Lightning commerce. Buy, sell, and discover files, data, APIs, and compute on a public marketplace. Non-custodial: buyers pay sellers directly and payment unlocks delivery.
      27
      118 npm
      MIT No Attribution
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to access verifiable DePIN supply-side telemetry, browse and purchase data products using credits, query datasets, and verify data provenance with cryptographic and zero-knowledge tools.
      10
      58 npm
      MIT