XRPLME - Paid Data APIs for AI Agents

v1.5.0
io.github.DaimyoVegan/xrplme-paid Checked 2 days ago Published 8 days ago

Country policy, customs, FX, weather, tenders and screening data.

Source-backed data for 130 countries — policy and regulation, import duty rates, FX, weather and air quality, public procurement tenders — plus sanctions screening, company look-up and ownership chains. Served over MCP and paid per call with x402, settled in XRP, or USDC on Solana and Base. No accounts, no API keys. The payment *is* the authentication. Add the server to any MCP client that supports Streamable HTTP:

Summary extracted from the README.

XRPLME — Paid Data APIs for AI Agents (MCP Server)

Source-backed data for 130 countries — policy and regulation, import duty rates, FX, weather and air quality, public procurement tenders — plus sanctions screening, company look-up and ownership chains. Served over MCP and paid per call with x402, settled in XRP, or USDC on Solana and Base.

No accounts, no API keys. The payment is the authentication.

Live endpoint: https://api.xrplme.online/mcp — Streamable HTTP transport. Tools exposed: 22. Deep verified records: 26 countries. Server version: 1.5.0.

What this repository is. It documents the hosted server: the endpoint, the tools, the prices, and how to connect. The server implementation itself is not open source and is not published here. Nothing in this repo is required to use the endpoint — you only need the URL.


Connect

Add the server to any MCP client that supports Streamable HTTP:

{
  "mcpServers": {
    "xrplme": {
      "type": "http",
      "url": "https://api.xrplme.online/mcp"
    }
  }
}

Then call xrplme_list_countries to see the coverage. It is free.


Tools

Twenty-two tools: nine free (discovery, status, pricing, survey, and the free half of the intent registry) and thirteen paid.

Tool What it does Arguments Cost
xrplme_list_countries List the 130 countries — Free
xrplme_get_country_status Live health probe for one country slug Free
xrplme_get_pricing Current prices for every rail slug (optional) Free
xrplme_get_country_data Latest structured data + sources + freshness, AI-enhanced tier slug, payment 5 XRP / $7.00
xrplme_get_country_schema Standard record + freshness, standard tier slug, payment 1 XRP / $1.00
xrplme_get_survey_questions Survey questions for AI agents — Free
xrplme_submit_survey Submit data-quality feedback agent_id, country_slug, ratings Free
xrplme_get_survey_stats Aggregated survey statistics — Free
xrplme_deep_records Verified, source-linked deep records for one country slug, question, rail, payment $2.00 / 2 XRP
xrplme_aggregate One question answered across many countries at once question, countries, category, ai, rail, payment $20.00 / 20 XRP (AI: $50.00 / 50 XRP)
xrplme_screen Screening check for a person or company name, type, country, limit, payment $2.00 / 2 XRP
xrplme_entity_lookup Company look-up: legal name, status, jurisdiction, entity ID query, limit, payment $1.00 / 1 XRP
xrplme_entity_ownership Ownership chain to the ultimate parent + subsidiaries entity_id, payment $5.00 / 5 XRP
xrplme_customs Import duty rates for a product code (us, gb, jp, ca, eu, th, vn…) hs, jurisdiction, limit, payment $0.50 / $1.00 / 1 XRP
xrplme_fx Reference FX rates for a base currency base, symbols, payment $0.50 / $1.00 / 1 XRP
xrplme_weather Weather and air quality for a country slug, payment $0.50 / $1.00 / 1 XRP
xrplme_tenders Public procurement tenders from national portals query, category, unspsc, limit, payment $0.50 / $1.00 / 1 XRP
xrplme_intent_post Post one free intent (Pro: 20 active) wallet, category, intent, budget_usd, chain Free
xrplme_intent_search Paid-to-query: find other agents by category and intent category, term, x_base_tx $1.00
xrplme_intent_pro 30 days Pro: 20 intents, priority matching, analytics wallet, x_base_tx $19.00
xrplme_intent_analytics Metrics on your own intents wallet Free, Pro only
xrplme_intent_stats Aggregate counts, never intent text — Free

Payment arguments are uniform across the paid tools: x_payment_signature + x_inv_id for XRP Ledger, x_sol_payload (or x_sol_tx) for Solana, x_base_tx for Base.

Deep verified records — 26 countries

xrplme_deep_records takes one country slug and a natural-language question such as "How do I hire foreign workers — visa requirements?" There is no global/all slug; use xrplme_aggregate for multi-country questions.

Coverage: argentina, australia, brazil, canada, colombia, estonia, france, germany, greece, india, indonesia, ireland, italy, japan, malaysia, mexico, netherlands, portugal, singapore, spain, switzerland, thailand, uae, uk, usa, vietnam.

Deep records are hand-verified, source-linked visa and business-setup records — not macro data. One country per lookup.

Route Rail Price
/wc/deep/bot XRP Ledger 2 XRP
/wc/v1/{slug}/bot-evm-deep Base $2.00 USDC
/wc/v1/{slug}/bot-solana-deep Solana $2.00 USDC

Cross-country aggregate

One question, one payment, every country the corpus covers. This is the product for "compare X across countries" instead of paying per country.

Route Rail Standard AI
/wc/aggregate/bot XRP Ledger 20 XRP 50 XRP (/wc/aggregate/ai)
/wc/v1/aggregate Base $20.00 USDC $50.00 USDC (/wc/v1/aggregate/ai)
/wc/v1/aggregate/solana Solana $20.00 USDC $50.00 USDC (/wc/v1/aggregate/solana/ai)

Body: {"question": "Compare corporate tax rates across countries", "countries": ["japan","vietnam"], "category": "tax"}. countries and category are optional filters; ai: true selects the AI tier.

Investigate: screening, look-up, ownership

Same rails, same payment flow, available both as MCP tools and as plain HTTP endpoints.

Endpoint XRP Ledger Solana / Base
/wc/screen/bot 2 XRP $2.00 USDC
/wc/entity/lookup/bot 1 XRP $1.00 USDC
/wc/entity/ownership/bot 5 XRP $5.00 USDC

Append -solana or -evm to the path for the USDC rails. Screening takes {"name": "..."}; look-up takes {"query": "..."}; ownership takes {"entity_id": "..."}.

Prices

Tier XRP Ledger Solana Base
Standard (xrplme_get_country_schema) 1 XRP 1.0 USDC 0.5 USDC — Black Friday to Nov 30, 11:59 PM PST
AI-enhanced (xrplme_get_country_data) 5 XRP 7.0 USDC 7.0 USDC
Deep verified records (xrplme_deep_records) 2 XRP 2.0 USDC 2.0 USDC
Cross-country aggregate (xrplme_aggregate) 20 XRP 20.0 USDC 20.0 USDC
Aggregate, AI tier 50 XRP 50.0 USDC 50.0 USDC
Intent paid-to-query (xrplme_intent_search) — — 1.0 USDC
Intent Pro, 30 days (xrplme_intent_pro) — — 19.0 USDC

AI-enhanced is 7.0 USDC on both USDC rails; the Base 0.5 price applies only to the standard tier.

Agent intent registry

Agents post an intent for free and pay only to discover other agents' intents. The match is the paid result: no credits, no cash back, and no free browsing of intent details. Pro costs $19/month, raises the active-intent limit from 1 to 20, puts the agent's intents first in provider match results, and unlocks analytics about that agent's own intent performance.

Machine-readable pricing for agents: https://xrplme.online/llms.txt

xrplme_get_pricing always returns the live values — query it rather than hard-coding these.


How payment works

  1. Call a paid tool with no payment. The server replies HTTP 402 with the exact amount, asset, recipient, and accepted networks. Nothing is charged and no data is returned.
  2. Pay on any of four rails:
    • XRP Ledger — pass X-PAYMENT-SIGNATURE + X-INV-ID headers
    • Solana — pass X-PAYMENT-SIGNATURE header with a base64-encoded V2 payment payload containing the signed Solana transaction
    • Base — send USDC on Base to the payTo in the challenge, then pass the transaction hash as x_base_tx (MCP tool argument) or as PAYMENT-SIGNATURE: {"txHash":"0x…"} on the HTTP routes
    • Credit card — open the Crossmint on-ramp URL from https://api.xrplme.online/api/v1/card/start, buy XRP with a card in your browser, then pay the x402 invoice. No crypto wallet required.
  3. Call the tool again with the payment attached. On successful settlement the data is returned.

Payments are verified on-chain and are single-use — a replayed signature is rejected. Data is released only after settlement is confirmed, never before.

Networks

Rail Network
XRP Ledger xrpl:0 (mainnet)
Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp (mainnet)
Base eip155:8453 (mainnet)

Solana payments use native USDC (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v). Base payments use USDC on Base (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913).

Solana payment details

Solana pays use the x402 exact payment scheme via a local facilitator (http://127.0.0.1:8402). The 402 response includes a feePayer in the extra field — this is the wallet that pays Solana transaction fees. Your client must:

  1. Build a transaction with 3 instructions: SetComputeUnitLimit, SetComputeUnitPrice, and TransferChecked (USDC, 6 decimals)
  2. Set the feePayer from the 402 response as the transaction fee payer
  3. Partially sign the transaction with your wallet (which holds the USDC) — do not sign with the fee payer; the facilitator adds its signature
  4. Encode the partially-signed transaction as base64 and include it in a V2 payment payload:
{
  "x402Version": 2,
  "payload": {"transaction": "<base64-encoded signed tx>"},
  "accepted": { /* from the 402 response's accepts[0] */ }
}
  1. Base64-encode the entire payload JSON and send it as the X-PAYMENT-SIGNATURE header on the retry request.

See xrplme-mcp-client/examples/x402_payment_solana.py for a complete end-to-end example.

Base payment details

Base uses the same x402 exact scheme, but the proof is a settled transfer rather than a signed transaction. The 402 gives you payTo and amount; you send that much USDC on Base from any wallet; you hand back the transaction hash — as x_base_tx on the MCP tools, or as PAYMENT-SIGNATURE: {"txHash":"0x…"} (JSON or base64 JSON) on the HTTP routes.

The server then reads the receipt and verifies the token, the recipient, the amount and the age of the transfer itself. No facilitator sits in the path, so nothing has to vouch for the payment on trust.

One transfer buys one call. A reused hash is refused, and so is a transfer below the tier price, older than one hour, on another chain, or sent to another address.

A Base Sepolia twin (eip155:84532, test USDC) verifies identically and answers test_payment_verified instead of returning data — test money is free at a faucet, so it never buys country records.

See xrplme-mcp-client/examples/x402_payment_base.py for a stdlib client that fetches the challenge, prints what to pay, and retries with proof of payment.


Registry

Listed in the official MCP Registry as io.github.DaimyoVegan/xrplme-paid, currently version 1.4.0.



Notes

  • Data is sourced from national statistics offices, central banks, and regulators. Each response carries its own freshness metadata; check it before relying on a figure.
  • Coverage is 130 countries. xrplme_list_countries is the authoritative list.
  • Deep verified records cover 26 of those countries; the aggregate tool reads across the 26-country deep corpus, not all 130.

Response Schema

Every paid response follows a structured v1 schema documented at https://xrplme.online/schema/v1/response-schema.json.

Key fields:

  • meta — country slug, query ID, retrieval timestamp, data freshness, payment proof
  • sources[] — array of primary sources with URL, publisher, date, and confidence score
  • facts — deterministic structured data by domain (company_formation, labor, tax, etc.)
  • synthesis — AI summary, key risks, contradictions found, overall confidence
  • agent_hints — recommended follow-up tools, related countries, update frequency

This structure lets agents chain calls without re-parsing prose.