Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

io.github.codespar/mcp-dlocal

NPM · @CODESPAR/MCP-DLOCAL · SCANNED AUG 4

MCP server for dLocal — LatAm cross-border payments, payouts, refunds across 15+ countries

+24 this week 70 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security86
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability77
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 1909 tokens (~106/item across 18 items; 18 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management30
  • Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · @codespar/mcp-dlocal

# add to Claude Code
claude mcp add codespar-mcp-dlocal -- npx -y @codespar/mcp-dlocal
# add to Codex CLI
codex mcp add codespar-mcp-dlocal -- npx -y @codespar/mcp-dlocal
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "codespar-mcp-dlocal": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@codespar/mcp-dlocal"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add codespar-mcp-dlocal --command npx --arg -y --arg @codespar/mcp-dlocal
# ~/.hermes/config.yaml
mcp_servers:
  codespar-mcp-dlocal:
    command: "npx"
    args: ["-y", "@codespar/mcp-dlocal"]
// mcp.json
{
  "mcpServers": {
    "codespar-mcp-dlocal": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-dlocal"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 4 Aug 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 27 to 30. That category is still filling its 30-day observation window: 8 days of observed history at the previous scan, 9 at this one. The score rises as the window fills, whether or not the server changes.

  • 3 Aug 26 +4
    • Stability: unverified → 0.27 functional
  • 2 Aug 26 +29
    • Provenance: unverified → fail security
    • Malware scan: pass → unverified security
    • Known CVEs: unverified → partial security
    • Install scripts: unverified → pass security
    • Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
    • Tool coverage: 100 → unverified functional
    • Schema quality: unverified → excellent functional
    • License: unverified → pass functional
    • Dependency health: unverified → partial functional
    • Maintenance: unverified → pass functional
    • MCP protocol: unverified → pass functional
    • Licence: MIT functional
  • 1 Aug 26 +31
    • Malware scan: unverified → pass security
    • Tool coverage: unverified → 100 functional
  • 31 Jul 26 −41
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 27 Jul 26 46

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 4 Aug 2026 · Analysed npm/@codespar/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Dependencies 94 packages

94 packages in the resolved dependency tree · 94 deprecated · 29 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 18 exposed · ~1,842 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
cancel_payment ~44

Cancel an authorized-but-not-captured payment, or void a PENDING payment. Card payments must be in AUTHORIZED state.

NameTypeReqDescription
idstringyesdLocal payment id

No output schema declared.

No examples provided.

capture_payment ~103

Capture an AUTHORIZED card payment. Omit amount for full capture; pass amount for partial capture (must be ≤ authorized amount). Card-only.

NameTypeReqDescription
amountnumberPartial capture amount in major units. Omit for full capture.
currencystringISO-4217 currency code (must match original payment)
order_idstringOptional merchant reference for the capture
payment_idstringyesOriginal AUTHORIZED dLocal payment id

No output schema declared.

No examples provided.

create_card_token ~134

Tokenize a card for use in DIRECT-flow create_payment. Use the returned token in the card.token field instead of raw PAN. Required for PCI scope reduction.

NameTypeReqDescription
card_numberstringyesCard PAN (digits only, no spaces)
countrystringIssuing country ISO-3166 alpha-2 (optional; helps method routing)
cvvstringyesCard verification value
expiration_monthnumberyes1-12
expiration_yearnumberyes4-digit year (e.g. 2028)
holder_namestringyesCardholder full name

No output schema declared.

No examples provided.

create_payment ~318

Create a payment (pay-in) in a LatAm country using a local payment method. Returns the payment object with a status and, for voucher/QR methods, the redirect/display data.

NameTypeReqDescription
amountnumberyesAmount in the country's currency, major units (e.g. 100 = 100 BRL, not cents)
callback_urlstringBrowser redirect target after REDIRECT flow completes
cardobjectFor DIRECT card flow only — tokenized card object. Omit for REDIRECT.
countrystringyesISO-3166 alpha-2 country code (BR, MX, AR, CO, CL, PE, UY, EC, BO, CR, GT)
currencystringyesISO-4217 currency code (BRL, MXN, ARS, COP, CLP, PEN, USD, etc)
descriptionstringHuman-readable description for the payer
notification_urlstringWebhook URL dLocal calls on status changes
order_idstringyesMerchant-side order reference (appears in reports)
payerobjectyesPayer identification
payment_method_flowstringyesDIRECT for tokenized card; REDIRECT for hosted flow (OXXO voucher, Pix QR, PSE bank select)
payment_method_idstringyesMethod id from /payments-methods (e.g. CARD, PIX, OX, PSE, SPEI). Use list_payment_methods to enumerate for a country.

No output schema declared.

No examples provided.

create_payout ~149

Send money out to a beneficiary in a LatAm country. Used for marketplace seller payouts, creator payouts, and cross-border settlement.

NameTypeReqDescription
amountnumberyesPayout amount in major units
beneficiaryobjectyesBeneficiary object with identity + destination account
countrystringyesDestination country ISO-3166 alpha-2
currencystringyesISO-4217 currency code
descriptionstringPayout description
notification_urlstringWebhook URL for payout status updates
order_idstringyesMerchant-side payout reference
payment_method_idstringyesDestination method (BA for bank account, varies by country)

No output schema declared.

No examples provided.

create_refund ~86

Refund a captured payment. Supports full refund (amount omitted) or partial refund (amount set).

NameTypeReqDescription
amountnumberPartial refund amount in major units. Omit for a full refund.
descriptionstringReason or reference
notification_urlstringWebhook URL for refund status updates
payment_idstringyesOriginal dLocal payment id

No output schema declared.

No examples provided.

get_balance ~18

Get the merchant's current available balance per currency.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_exchange_rate ~117

Query the dLocal FX rate for a destination country/currency pair. Used to preview converted amounts before a payout or USD-funded charge.

NameTypeReqDescription
amountnumberOptional source amount to convert; the response will include the destination value
countrystringyesDestination country ISO-3166 alpha-2
from_currencystringyesSource currency ISO-4217 (typically USD or EUR)
to_currencystringyesDestination local currency ISO-4217 (BRL, MXN, ARS, etc)

No output schema declared.

No examples provided.

get_payment ~41

Get payment status and full detail by dLocal payment id.

NameTypeReqDescription
idstringyesdLocal payment id (e.g. D-30000-xxxx)

No output schema declared.

No examples provided.

get_payment_by_order_id ~61

Get a payment by the merchant-side order_id supplied at creation time. Useful when the agent only kept its own reference and not dLocal's id.

NameTypeReqDescription
order_idstringyesMerchant-side order reference passed as order_id when creating the payment

No output schema declared.

No examples provided.

get_payout ~33

Get payout status by dLocal payout id.

NameTypeReqDescription
idstringyesdLocal payout id (P-xxxx)

No output schema declared.

No examples provided.

get_payout_by_external_id ~61

Get a payout by the merchant external_id / order_id supplied at creation time. Mirror of get_payment_by_order_id for the payouts side.

NameTypeReqDescription
external_idstringyesMerchant-side payout reference (order_id used at create_payout time)

No output schema declared.

No examples provided.

get_refund ~31

Get refund status by refund id.

NameTypeReqDescription
idstringyesdLocal refund id (R-xxxx)

No output schema declared.

No examples provided.

list_payment_methods ~92

List all payment methods available for a given country. Agents use this to dynamically discover local methods (Pix in BR, OXXO in MX, PSE in CO, etc) without hard-coding per-country logic.

NameTypeReqDescription
countrystringyesISO-3166 alpha-2 country code (BR, MX, AR, CO, CL, PE, UY, EC, BO, CR, GT)

No output schema declared.

No examples provided.

list_payments ~162

List payments with optional date / country / status filters. Useful for reconciliation and reporting agents.

NameTypeReqDescription
countrystringISO-3166 alpha-2 country filter
created_date_fromstringLower bound (ISO-8601 date or datetime)
created_date_tostringUpper bound (ISO-8601 date or datetime)
pagenumberPage number (1-indexed)
page_sizenumberResults per page (max 100)
payment_method_idstringFilter by payment method (CARD, PIX, OX, etc)
statusstringFilter by status (PAID, PENDING, REJECTED, CANCELLED, EXPIRED, AUTHORIZED, VERIFIED)

No output schema declared.

No examples provided.

list_payouts ~127

List payouts with optional date / country / status filters. Useful for settlement reconciliation across countries.

NameTypeReqDescription
countrystringISO-3166 alpha-2 country filter
created_date_fromstringLower bound (ISO-8601)
created_date_tostringUpper bound (ISO-8601)
pagenumberPage number (1-indexed)
page_sizenumberResults per page (max 100)
statusstringFilter by status (PAID, PENDING, REJECTED, CANCELLED)

No output schema declared.

No examples provided.

list_refunds ~108

List refunds, optionally scoped to a payment_id. Useful for reconciling partial refunds against the original charge.

NameTypeReqDescription
created_date_fromstringLower bound (ISO-8601)
created_date_tostringUpper bound (ISO-8601)
pagenumberPage number (1-indexed)
page_sizenumberResults per page (max 100)
payment_idstringOptional — only return refunds for this payment id

No output schema declared.

No examples provided.

validate_document ~157

Validate a LatAm tax/identity document (CPF or CNPJ in BR, CUIT/CUIL/DNI in AR, RUT in CL/UY, RFC/CURP in MX, etc). Returns whether the document is well-formed and, when supported, registry-validated.

NameTypeReqDescription
countrystringyesISO-3166 alpha-2 (BR, AR, CL, UY, MX, CO, PE, EC, BO, CR, GT)
documentstringyesDocument number (digits only when applicable)
document_typestringyesDocument type code (CPF, CNPJ, CUIT, CUIL, DNI, RUT, RFC, CURP, NIT, RUC, CI)

No output schema declared.

No examples provided.