Skip to content

services: add Leya — Latin American legal research - #871

Open
sebasibarguen wants to merge 2 commits into
tempoxyz:mainfrom
sebasibarguen:add-leya
Open

services: add Leya — Latin American legal research#871
sebasibarguen wants to merge 2 commits into
tempoxyz:mainfrom
sebasibarguen:add-leya

Conversation

@sebasibarguen

Copy link
Copy Markdown

Adds Leya to the curated service directory.

Leya is a search API over primary Latin American legal sources — statutes, decrees, congressional initiatives (iniciativas), court rulings (sentencias), regulations and official gazettes — currently covering Guatemala and the Dominican Republic. Every result carries a stable document id, source attribution, a link to the official document, and corpus-freshness metadata, so an agent can cite real law instead of recalling it.

It also serves Guatemala's cadastral parcels from RIC (630,961 of them) intersected with protected areas, watersheds, sacred sites, archaeological sites and forestry-incentive zones — which is how you find out whether a parcel sits inside a national park.

Checklist

  • Live and accepting payments via MPP — keyless on Tempo mainnet. An unauthenticated call to any /v1 read returns a settleable 402:
    tempo request "https://api.leya.lawyer/v1/search?q=despido+injustificado&country=GT"
    
  • Entry added to schemas/services.ts
  • pnpm check:types passes
  • pnpm build passes

Discovery

https://api.leya.lawyer/openapi.json follows draft-payment-discovery-00, with top-level x-service-info and per-operation x-payment-info priced in USDC.e base units.

Agent-facing docs at https://leya.lawyer/llms-full.txt.

On novelty

The directory currently lists one legal service (GovLaws, US federal regulation). Leya covers Latin American jurisdictions instead, so it complements rather than duplicates it — and the cadastral overlay data has no equivalent in the list. Priced at parity with GovLaws for search (30000).

Leya is a search API over primary Latin American legal sources: statutes,
decrees, congressional initiatives, court rulings and official gazettes,
currently covering Guatemala and the Dominican Republic. It also serves
Guatemala's cadastral parcels intersected with protected areas,
watersheds, sacred sites and archaeological sites.

Live and accepting payments via MPP on Tempo mainnet, keyless: an
unauthenticated call to any /v1 read returns a settleable 402. Discovery
document at https://api.leya.lawyer/openapi.json with x-service-info and
per-operation x-payment-info.

pnpm check:types and pnpm build both pass.
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

@sebasibarguen is attempting to deploy a commit to the Tempo Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

🔀 Changed Services

✅ Added

  • leya

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Thanks for submitting a service to the MPP directory!

If you want your service included in the curated mpp.dev/services list, complete this checklist before review:

Required

  • Your service is live and accepting payments via MPP (not a placeholder or coming-soon)
  • You've added your entry to schemas/services.ts following the contributing guide
  • Types pass: pnpm check:types
  • Build succeeds: pnpm build

Recommended

  • Register your service on MPPScan (by Merit Systems) — it follows the standard MPP discovery format and makes your service discoverable by agents immediately, no PR required

Review criteria

We prioritize services that are high quality and novel. We may not approve services that duplicate existing functionality or aren't yet production-ready.


Contributing guide · MPPScan · Protocol docs

MPPScan rejected the origin with REALM_MISMATCH: a realm naming a
different host than the one agents call cannot have on-chain settlements
attributed to it. The service now advertises realm "api.leya.lawyer",
which is what its 402 challenges carry.

Leya also accepts x402 on Base mainnet now, alongside MPP on Tempo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant