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.evidai/agent-payment

NPM · AGENT-PAYMENT-MCP · SCANNED AUG 3

Stripe-style USDC billing for any API. 8 free demo services no signup. Non-custodial.

Available components

+18 this week 68 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 Usability71
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (good).Pass
  • Context-footprint check failed: tool/resource definitions use about 1823 tokens (~303/item across 6 items; 6 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 Management27
  • Stability observed for 8 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 · agent-payment-mcp

# add to Claude Code
claude mcp add evidai-agent-payment -- npx -y agent-payment-mcp
# add to Codex CLI
codex mcp add evidai-agent-payment -- npx -y agent-payment-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "evidai-agent-payment": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "agent-payment-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add evidai-agent-payment --command npx --arg -y --arg agent-payment-mcp
# ~/.hermes/config.yaml
mcp_servers:
  evidai-agent-payment:
    command: "npx"
    args: ["-y", "agent-payment-mcp"]
// mcp.json
{
  "mcpServers": {
    "evidai-agent-payment": {
      "command": "npx",
      "args": [
        "-y",
        "agent-payment-mcp"
      ]
    }
  }
}
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.

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

    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 3 Aug 2026 · Analysed npm/[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 — 6 exposed · ~1,610 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
call_service ~693

Invoke an upstream API service through LemonCake's pay-per-call proxy. Each successful call automatically debits USDC from your wallet via the permit you signed. LemonCake never holds your USDC — the transfer is direct wallet → provider on Base. PRECONDITIONS: • LEMON_CAKE_PERMIT env var must be set for real services. Get one in ~30 seconds at https://lemoncake.xyz/start/v2 (sign in with Google, sign 1 EIP-712 permit, copy the blob). If missing, the tool returns a structured PERMIT_MISSING error with how-to-fix steps. • DEMO MODE: any serviceId starting with `demo_` works WITHOUT a permit and hits real free upstreams (Wikipedia / httpbin / Open-Meteo / Nominatim / MyMemory / dictionaryapi / worldtimeapi / open.er-api). 8 demos cover search / echo / fx / translate / weather / geocode / time / dictionary — useful for Glama Inspector or new-user trial. They are marked with `mode: "demo"` and incur no charge. • serviceId must come from list_services. BEHAVIOR: • Returns the upstream response body verbatim (JSON or text), plus the X-Charge-Id and X-Amount-Usdc headers reported by the proxy. • HTTP 402 Payment Required is returned as a normal result (NOT thrown) so the agent can autonomously stop spending when the daily $25 permit cap is exhausted. • Pass the same idempotencyKey to retry safely without double-charging. • This tool spends real money and contacts an external service — it is non-idempotent by default and has external side effects. x402-COMPATIBLE INTERFACE: • Successful calls include an `x402Receipt` field with { scheme, chain, asset, amount, recipient, paymentIntentId, settledAt }. Same shape as on-chain x402 receipts so the agent's payment-handling logic is portable. • If upstream returns an x402 challenge (WWW-Authenticate: x402, X-402-* headers, or body.x402), it's parsed into `x402Challenge` for the agent to reason about. • If upstream returns 202 + Retry-After + X-Payment-Status: p…

NameTypeReqDescription
bodyobjectJSON request body (only used for POST/PUT/PATCH).
idempotencyKeystringOptional idempotency key (UUID recommended). Identical keys within the proxy's retention window return the cached result without re-charging.
methodstringHTTP method to use against the service. Defaults to GET.
pathstringSub-path on the service (e.g. "/search", "/v1/completions"). Defaults to "/".
serviceIdstringyesID of the service to call (obtain from list_services).

No output schema declared.

No examples provided.

check_balance ~137

Check the current on-chain USDC balance of the wallet that owns the configured permit. PRECONDITIONS: • DEMO MODE (no LEMON_CAKE_PERMIT): returns a canned $1.00 demo balance so trial users see something useful before signing. • LIVE: queries Base USDC.balanceOf(owner) directly + reports remaining daily permit cap. LemonCake's backend doesn't store the balance — it's read from the chain. Use BEFORE call_service to confirm sufficient funds and remaining daily cap. Returns: { balanceUsdc, dailyCap, remainingToday, ownerAddress, [mode], [note] }

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

check_tax ~235

Run a Japanese tax compliance check on a single transaction. No authentication required. Performs three checks in one call: 1. Validates the qualified-invoice registration number (T-number) against the NTA registry. 2. Determines whether source-withholding (源泉徴収) applies based on the service description. 3. If withholding applies, computes the withholding amount and net payable. Intended for Japanese corporations that pay AI / API services and need to file withholding correctly under the qualified-invoice (インボイス制度) regime. Returns: { invoice: { valid, name, ... }, withholding: { required, rate, amount, net } } Errors: invalid registrationNumber returns invoice.valid = false (not an exception).

NameTypeReqDescription
grossAmountJpynumberyesGross transaction amount in JPY, tax inclusive.
registrationNumberstringyesQualified-invoice registration number issued by the Japanese NTA (e.g. "T1234567890123").
serviceDescriptionstringyesPlain-text description of what was purchased. Used to classify whether source-withholding applies.

No output schema declared.

No examples provided.

get_service_stats ~78

Return public usage statistics for every approved service on the marketplace. No authentication required. Use this AFTER list_services and BEFORE call_service to pick a service based on real-world traction (call counts, USDC revenue, last-used timestamp). Returns: an array of { serviceId, callCount, totalRevenueUsdc, lastCalledAt }.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list_services ~272

List approved API services available on the LemonCake marketplace. No authentication required. Use this BEFORE call_service to discover serviceId values and per-call USDC pricing. When LEMON_CAKE_PERMIT is missing, 8 demo services are prepended: demo_search → Wikipedia opensearch demo_echo → httpbin.org/anything demo_fx → live FX rates (open.er-api) demo_translate → 80+ languages (MyMemory) demo_weather → current weather any lat/lon (Open-Meteo) demo_geocode → place name → lat/lon (OpenStreetMap Nominatim) demo_time → IANA timezone time + DST (worldtimeapi) demo_dictionary → English definitions / synonyms (dictionaryapi.dev) All real upstreams, no auth, free. Live users (permit set) see real marketplace entries; demo_* IDs remain callable directly. Each item: { id, name, provider, type ('API' | 'MCP'), pricePerCall, [usage], [mode] }. Errors: HTTP-level errors are returned as `Error: API <status>: <body>`.

NameTypeReqDescription
limitintegerMaximum number of services to return (default 50, max 100).

No output schema declared.

No examples provided.

setup ~195

Show the LemonCake MCP first-run setup guide. No authentication required. Call this tool FIRST to learn what is missing and how to obtain a permit. If LEMON_CAKE_PERMIT is not set, the server is in DEMO MODE: list_services returns 8 free demo services (search / echo / fx / translate / weather / geocode / time / dictionary) powered by real upstreams (Wikipedia, httpbin, Open-Meteo, Nominatim, etc.). call_service and check_balance respond with mock data so you can verify integration before signing. Returns the current credential status (permit presence), demo-mode flag, and step-by-step instructions for getting a permit at /start/v2, including a sample MCP client config snippet ready to paste. Returns: { version, apiUrl, mode, credentials, availableTools, setupSteps, permitUrl, docs } Errors: none — this tool always succeeds.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.