# buy (npm · @celo/buy)

Pay per request for APIs, compute, browsers, RPC and LLM inference with stablecoins on Celo.

- Trust score: 63/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

## Components

- npm · `@celo/buy`: 63/100 (this document), [markdown](https://verifymcp.io/servers/ai-usebuy-buy/celo-buy.md), [page](https://verifymcp.io/servers/ai-usebuy-buy/celo-buy)

## Channel facts

- Registry: `npm`
- Package: `@celo/buy`
- Version: `0.8.5`
- Transport: `stdio`

## Trust breakdown

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. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-05.

- **Supply Chain Security**: 98/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 39 of 132 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 19/100
  - Repository check failed: no source repository is declared.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 7 days ago).
  - Security-disclosure policy not yet verified: we couldn't inspect the source repository.
- **Schema Quality & AI Usability**: 67/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 1486 tokens (~212/item across 7 items; 7 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 10/100
  - Stability observed for 3 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 75/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - 0 of 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "buy_pay_quote" implies "pay" and declares no destructiveHint at all, which the MCP spec reads as destructive by default.
  - An AI judge read all 8 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the buy MCP server?

buy runs locally as an npm package, launched with npx -y @celo/buy mcp serve. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add ai-usebuy-buy -- npx -y @celo/buy mcp serve
```

### Cursor

```json
{
  "mcpServers": {
    "ai-usebuy-buy": {
      "command": "npx",
      "args": [
        "-y",
        "@celo/buy",
        "mcp",
        "serve"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "ai-usebuy-buy": {
      "command": "npx",
      "args": [
        "-y",
        "@celo/buy",
        "mcp",
        "serve"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add ai-usebuy-buy -- npx -y @celo/buy mcp serve
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "ai-usebuy-buy": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@celo/buy",
        "mcp",
        "serve"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add ai-usebuy-buy --command npx --arg -y --arg @celo/buy --arg mcp --arg serve
```

### Hermes

```yaml
mcp_servers:
  ai-usebuy-buy:
    command: "npx"
    args: ["-y", "@celo/buy", "mcp", "serve"]
```

### Netclaw

```json
{
  "McpServers": {
    "ai-usebuy-buy": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@celo/buy",
        "mcp",
        "serve"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add ai-usebuy-buy -t stdio -c npx -a -y @celo/buy mcp serve
```

### Other

```json
{
  "mcpServers": {
    "ai-usebuy-buy": {
      "command": "npx",
      "args": [
        "-y",
        "@celo/buy",
        "mcp",
        "serve"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-05 (score 63, +1)

- [functional improvement] Stability: unverified → 0.10

### 2026-11-03 (score 62, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-02 (score 47)

First indexed and scored.

## MCP tools (7)

### `buy_discover` (~131 tokens)

Discover x402 services

Search the provider registry bundled with buy. This is read-only and never pays. Use it to find a service and its agent instructions, then fetch the service catalog and call buy_pay_quote before any purchase. An entry with stage "experimental" is an early-stage third-party seller buy has not reviewed: confirm with the user before paying it.

Input parameters:

- `category` (string): Optional exact category filter.
- `name` (string): Exact provider name, such as buy/api-gateway. Takes precedence over query.
- `query` (string): Case-insensitive search across provider name, title, description, and category.

### `buy_curl` (~303 tokens)

Curl with x402 + Self.xyz auto-pay

Call any URL. If the server returns 402 with an x402 challenge, buy signs an EIP-3009 USDC, USDT or USAT payment locally and retries with X-PAYMENT. If the challenge also demands a Self.xyz attestation, the matching one from the local keystore is attached as X-SELF-ATTESTATION (bound to the same wallet address). Use this instead of plain HTTP when calling paid APIs from your tool calls. Quote first with buy_pay_quote using the same method and body; if this tool then returns a 5xx or fails after the 402 challenge, the payment may still have settled, so do not re-send — report the outcome and any tx hash in this tool's output to the user.

Input parameters:

- `account` (string): buy account name. If omitted, uses the configured default account. Run buy_whoami to list available accounts.
- `body` (string): Request body (raw string)
- `headers` (object): Extra request headers as a key/value map
- `maxAmount` (string): Optional cap in atomic selected-token units (6 decimals). If the challenge asks for more, the call aborts before signing.
- `method` (string): HTTP method
- `sandbox` (boolean): If true, route payment through celo-sepolia. Otherwise uses the account network.
- `token` (string): Payment token preference.
- `url` (string, required): Absolute URL to fetch

### `buy_fetch` (~302 tokens)

Fetch with x402 + Self.xyz auto-pay (compatibility alias)

Call any URL. If the server returns 402 with an x402 challenge, buy signs an EIP-3009 USDC, USDT or USAT payment locally and retries with X-PAYMENT. If the challenge also demands a Self.xyz attestation, the matching one from the local keystore is attached as X-SELF-ATTESTATION (bound to the same wallet address). Compatibility alias for buy_curl; prefer buy_curl in new integrations. Quote first with buy_pay_quote using the same method and body; if this tool then returns a 5xx or fails after the 402 challenge, the payment may still have settled, so do not re-send — report the outcome and any tx hash in this tool's output to the user.

Input parameters:

- `account` (string): buy account name. If omitted, uses the configured default account. Run buy_whoami to list available accounts.
- `body` (string): Request body (raw string)
- `headers` (object): Extra request headers as a key/value map
- `maxAmount` (string): Optional cap in atomic selected-token units (6 decimals). If the challenge asks for more, the call aborts before signing.
- `method` (string): HTTP method
- `sandbox` (boolean): If true, route payment through celo-sepolia. Otherwise uses the account network.
- `token` (string): Payment token preference.
- `url` (string, required): Absolute URL to fetch

### `buy_whoami` (~64 tokens)

Inspect buy accounts

List the buy accounts available in the local keystore, the active default, and each account address. Use this before buy_curl to confirm which wallet will sign payments.

Input parameters:

- `account` (string): If set, returns details for this specific account instead of a list.

### `buy_verify_status` (~116 tokens)

Inspect Self.xyz attestations

List Self.xyz attestations stored on a buy account. Useful before calling a KYC-gated endpoint to confirm the wallet already has a matching attestation (scope, minimum age, OFAC, etc.). This tool cannot create an attestation: the user creates one with `buy verify hosted --endpoint <receiver-url>` against a gateway-hosted receiver, or `buy verify serve --scope <scope> --min-age N --ofac` locally.

Input parameters:

- `account` (string): Account name. Defaults to the configured default account.

### `buy_balance` (~106 tokens)

Check wallet balances

Report the native (CELO) and ERC-20 stablecoin balances of a buy account — the same data as the `buy whoami` CLI command. Read-only: no keychain access, no signing. Use this before buy_send or buy_curl to confirm the wallet is funded.

Input parameters:

- `account` (string): Account name. Defaults to the configured default account.
- `sandbox` (boolean): If true, report balances on celo-sepolia. Otherwise uses the account network.

### `buy_pay_quote` (~242 tokens)

Quote an x402 price (dry run)

DRY RUN — never pays, never signs, never touches the keychain. Fetches a URL once; if the server answers 402 with an x402 challenge, returns the price, network, asset, recipient, and any Self.xyz requirements so you can decide whether to pay before calling buy_curl. Run this before the first paid call to an endpoint: buy_curl settles without a quote, and a settled payment is irreversible.

Input parameters:

- `account` (string): buy account name, used to pick the preferred network. If omitted, uses the configured default account.
- `body` (string): Request body (raw string), same as buy_curl. Required by endpoints that validate input before pricing: quoting POST /google/vm without its JSON body returns 400, not the 402 challenge you are asking…
- `headers` (object): Extra request headers as a key/value map
- `method` (string): HTTP method
- `sandbox` (boolean): If true, prefer the celo-sepolia requirement. Otherwise uses the account network.
- `token` (string): Payment token preference.
- `url` (string, required): Absolute URL to probe

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/ai-usebuy-buy/celo-buy#diagnostics

## Score history

- 2026-11-05: 63
- 2026-11-04: 62
- 2026-11-03: 62
- 2026-11-02: 47

## Common questions

### What is the buy MCP server?

buy is an MCP server listed in the public MCP registry as ai.usebuy/buy. Pay per request for APIs, compute, browsers, RPC and LLM inference with stablecoins on Celo. This page covers its npm package (@celo/buy).

### Is the buy MCP server safe to use?

buy scores 63 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the buy MCP server expose?

buy exposes 7 tools: buy_discover, buy_curl, buy_fetch, buy_whoami, buy_verify_status, and 2 more. Their descriptions and schemas cost roughly 1,264 tokens of context every time the server is loaded.

### Is the buy MCP server still maintained?

buy is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the buy MCP server under?

buy declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the buy MCP server?

VerifyMCP ran 15 checks on buy, covering Malware scan, Known CVEs, Install scripts, Dependency health and 11 more. One item could not be completed, a gap on our side rather than a finding about buy: Security disclosure. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- npm package: https://www.npmjs.com/package/@celo/buy
- Socket report: https://socket.dev/npm/package/@celo/buy
- Website: https://usebuy.ai/docs
- Changelog RSS feed: https://verifymcp.io/servers/ai-usebuy-buy/celo-buy.xml
- Changelog JSON feed: https://verifymcp.io/servers/ai-usebuy-buy/celo-buy/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/ai-usebuy-buy/celo-buy.json
- HTML version of this page: https://verifymcp.io/servers/ai-usebuy-buy/celo-buy
