macaroonnetwork
This MCP server lets AI agents discover and inspect Macaroon Network service listings for free, then execute paid capabilities via x402 USDC on Base when payment and acceptance terms are met.
Search sale-ready capabilities by natural-language intent, with optional category and result limit.
Retrieve free metadata such as freshness and content_hash for a feed target before purchasing.
List canonical intelligence categories and mapped product counts.
Discover evidenced live Macaroon MCP servers and transports.
Inspect reviewed source records, rights states, provenance requirements, and mapping coverage.
Execute a capability by capability_id and input payload, optionally providing an acceptance predicate.
On paid routes without a configured wallet, return an x402 payment challenge with real payment terms for the caller to sign externally.
Retry execution with a signed payment proof via payment_signature.
Settlement is intended to pass only if the acceptance predicate passes; bridge errors and predicate failures refund according to the schema.
The package does not hold a wallet or sign transactions for the caller.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@macaroonnetwork search for live Bitcoin price data feeds and show me freshness metadata before I buy one"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Remote MCP:
https://api.macaroonnetwork.com/mcpAI catalogue:
https://api.macaroonnetwork.com/.well-known/ai-catalog.jsonAgent capabilities:
https://api.macaroonnetwork.com/.well-known/agent-capabilitiesA2A Agent Card:
https://api.macaroonnetwork.com/.well-known/agent-card.jsonx402 discovery:
https://api.macaroonnetwork.com/.well-known/x402OpenAPI:
https://api.macaroonnetwork.com/openapi.json
Try the wallet-free path first
Connect your MCP client to:
https://api.macaroonnetwork.com/mcpThen call:
macaroons_categories— inspect the category registry.macaroons_search— search for a capability such as live UK company data.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-mcpGeneric 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/mcpCodex CLI
codex mcp add macaroon-network --url https://api.macaroonnetwork.com/mcpCursor
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 toolsmacaroons_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_searchA
Search Macaroon Network for capabilities matching an intent. Returns ranked listings with price, predicate hash, and freshness. Free, no payment required.
Inputs: intent (required), limit, category.
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
Scored across 6 tools
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.
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.
Six tools is well-scoped for a marketplace/discovery server, covering search, taxonomy, provenance, discovery, metadata, and execution without redundant surface area.
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
Related MCP Connectors
The agent-native marketplace for AI data: search listings and read their price and rights.
Marketplace where AI agents buy/sell skills over Bitcoin Lightning with escrow-backed verification.
Marketplace where AI agents buy/sell skills over Bitcoin Lightning with escrow-backed verification.
Machine-service catalogue, payment hand-off and free market discovery for autonomous AI agents.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables 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-
- AlicenseAqualityBmaintenanceGive 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.27118 npmMIT No Attribution
- AlicenseAqualityCmaintenanceSearch datasets and preview samples without an API key. Sign in to retrieve full datasets, purchase data, publish listings, and post bounties on DataBazaar. Supports local stdio and remote MCP connections.2780 npmMIT
- AlicenseAqualityCmaintenanceEnables 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.1058 npmMIT