GL
MCP Tool · x402 · early usage

Global law search across JP/US/UK/EU legislation databases (e-Gov, eCFR, legislation.go…

Global law search across JP/US/UK/EU legislation databases (e-Gov, eCFR, legislation.gov.uk, EUR-Lex). Structured JSON results with statute references.

by law-mcp.toulaw.workers.dev · discovered, not yet claimed by its owner · updated 2026-10-11

30d calls3
30d payers2
MethodGET
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Global law search across JP/US/UK/EU legislation databases (e-Gov, eCFR, legislation.gov.uk, EUR-Lex). Structured JSON results with statute references.

Tags: legal · law · legislation · regulation · compliance · bazaar

Call contract

Method
GET
Input
query parameters
Output
json
Last paid call
2026-10-11
Input example from Bazaar metadata
{
  "country": "all",
  "limit": 10,
  "q": "digital asset"
}
Output example
{
  "country": "all",
  "data": {
    "eu": {
      "items": [
        {
          "title": "Regulation (EU) 2023/1114 (MiCA)",
          "uri": "http://publications.europa.eu/resource/cellar/..."
        }
      ],
      "source": "EUR-Lex SPARQL (European Union)",
      "total": 3
    },
    "jp": {
      "items": [
        {
          "law_id": "411AC0000000059",
          "snippets": [
            "暗号資産"
          ],
          "title": "資金決済に関する法律"
        }
      ],
      "source": "e-Gov (Japan)",
      "total": 5
    },
    "uk": {
      "items": [
        {
          "title": "Financial Services and Markets Act 2000",
          "url": "https://www.legislation.gov.uk/ukpga/2000/8"
        }
      ],
      "source": "legislation.gov.uk (United Kingdom)",
      "total": 3
    },
    "us": {
      "items": [
        {
          "cfr_ref": "Title 17, Part 230, § 501",
          "excerpt": "...",
          "heading": "Regulation D"
        }
      ],
      "source": "eCFR (United States)",
      "total": 5
    }
  },
  "disclaimer": "Data sourced from official government databases for reference purposes only. Provided by tou-kun (independent project). Not affiliated with any law firm. Not legal advice.",
  "query": "digital asset",
  "timestamp": "2026-04-11T00:00:00.000Z"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/30509.json for the price and payment options.
  3. Pay. Call GET https://law-mcp.toulaw.workers.dev/api/v1/search. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Solana
Demand
3 calls · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x4eD0e65B400D115a21D21A5e2D9a63E3B27180343600s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.01FehC2Hu4ocQnxNWhpePQNV4kwPA2v6oHaaLnuXJXUwtn3600s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x4eD0e65B400D115a21D21A5e2D9a63E3B2718034",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 3600
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "FehC2Hu4ocQnxNWhpePQNV4kwPA2v6oHaaLnuXJXUwtn",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 3600
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl "https://law-mcp.toulaw.workers.dev/api/v1/search"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://law-mcp.toulaw.workers.dev/api/v1/search");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://law-mcp.toulaw.workers.dev/api/v1/search")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
law-mcp.toulaw.workers.dev
Endpoint
https://law-mcp.toulaw.workers.dev/api/v1/search
Machine-readable
/resources/30509.json