Koskamo

SpendGate MCP

SpendGate is a decision check that scores planned spends before an autonomous agent pays, returning verdicts of approve, ask_human, or block. It helps enforce daily or monthly budgets and risk policies for crypto transfers, gift cards, and API calls without acting as a wallet itself.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

SpendGate MCP logo, by ToolweatherCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-23Published by Toolweather
You need:Anonymous: 100 scores per UTC day, no key.Free key: POST https://spendgate.toolweather.workers.dev/v1/keys, then Authorization: Bearer sg_live_….Paid calls require PAY_TO on the server.
MCP endpoint (Streamable HTTP)
https://spendgate.toolweather.workers.dev/mcp
Vendor documentation

What its tools do

4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

Read-only (1)

4 of 4 have a description · 4 of 4 declare behavior hints · 4 of 4 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • Score a planned spend before an agent pays
  • Enforce daily or monthly budget limits
  • Check wallet allowlists for authorization
  • Get remaining free score quota

Source and maintenance

Community listingRegistry 1.0.0
Maintenance checked

Protocol and capabilities

Server
spendgate 1.0.0
MCP protocol negotiated in check
2025-11-25
Tools
4 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Call score_spend before an agent pays, transfers crypto, buys a gift card, or starts a paid subscription. Do not call it for a pure read, or for a status_check under $1 that you will not pay. Pass amount in USD. category overrides purpose. endpoint is used only when merchant is omitted. approve means pay. ask_human means stop and ask a person. block means do not pay. Do not reword purpose and call again to fish for a higher score. v1 scoring is deterministic, and each call consumes a score. Prefer get_quota to read the free daily cap. It does not consume a score. get_api_key mints one free sg_live_ key. The secret is shown once. Keys do not expire and there is no revoke tool. Do not mint again if you already stored a key. Anonymous callers get 100 scores per UTC day. A stored key gets 1,000. After that cap, score_spend costs 0.001 USDC on Base via x402. get_quota, get_api_key, and set_wallet_allowlist stay free. Pass from_wallet when the spend leaves a wallet. A published developer test account is block (dev_wallet). A wallet that is not allowlisted is block (unauthorized_wallet). A wallet with no allowlist is ask_human (wallet_unverified). Store the per-key list with set_wallet_allowlist. Do not derive keys from public recovery phrases, and do not spend from a wallet the task did not give you.

Tools

4 advertised

score_spend — Score a planned spend
Advertised by the server during the last successful anonymous check.

Score one planned payment before it is sent: a crypto transfer, gift card, subscription, or paid API or merchant. Do not use it for a pure read, or for a status_check under $1 you will not pay; that still burns a free score and approves unless a budget you pass is exceeded. Each call uses one free score (anonymous 100/UTC day, sg_live_ key 1,000 from get_api_key). Past that cap the call is HTTP 402 and costs 0.001 USDC on Base via x402. It does not pay the merchant. A domain, https URL, or 0x payee that is not on the local known-host list is checked with PayCheck. Trusted counts as a known merchant. Block means do not pay, including under the micro threshold. If PayCheck is unreachable, local merchant rules are used and the score still returns. While free quota remains, the same arguments consume another score. category overrides purpose. When category is omitted, purpose is matched as a category name; any other prose is unknown risk. merchant overrides endpoint when both are set. A set daily_budget_remaining or monthly_budget_remaining blocks when amount is greater; omitted budgets are skipped. Pass from_wallet, the 0x account that would sign or pay gas, whenever the spend leaves a wallet. Omit from_wallet and the verdict is unchanged. Pass allowed_wallets to allowlist this call, or omit it to use the list stored for the sg_live_ key by set_wallet_allowlist. An empty allowed_wallets array authorizes no wallet. Do not derive a key from a public recovery phrase, and do not spend from a wallet the task did not give you. A published Hardhat, Anvil, Ganache, BIP-39 test, or other public dev-mnemonic account is block with reason dev_wallet, including under $1, even if that address is allowlisted. A from_wallet that is not on the effective allowlist is block with reason unauthorized_wallet. A from_wallet with no allowlist on the call and none stored for the key is ask_human with reason wallet_unverified. Stop and ask a person. Do not broadcast. Returns score 0-100, verdict approve|ask_human|block, reasons, recommended_action, checked_at, payment_source (from_wallet, allowlisted, checked_at, reason, and signature only when the server already has BUNDLE_PROXY_SECRET), detail, and quota (daily_limit, used_today, remaining_today, paid_today, resets_at). approve means pay; ask_human means stop for a person; block means do not pay. Read the cap with get_quota instead of spending a score.

score_spend input schema
{
  "type": "object",
  "required": [
    "amount"
  ],
  "properties": {
    "amount": {
      "type": "number",
      "description": "Planned spend in USD, not token atomic units. Required."
    },
    "api_key": {
      "type": "string",
      "description": "Optional sg_live_ key. Uses the 1,000/day bucket. An unrecognized key returns invalid_api_key instead of falling back to anonymous."
    },
    "purpose": {
      "type": "string",
      "description": "Short note, max 280 characters. When category is omitted, this text is matched as a category name; other prose is unknown risk. When category is set, this is echoed and not scored."
    },
    "agent_id": {
      "type": "string",
      "description": "Agent or key id. Echoed, not scored in v1."
    },
    "category": {
      "type": "string",
      "description": "Risk class. Wins over purpose. One of status_check, api_call, saas, infra, gift_card, crypto_transfer, irreversible. Any other string is unknown risk."
    },
    "currency": {
      "type": "string",
      "description": "Payment currency. Defaults to USDC."
    },
    "endpoint": {
      "type": "string",
      "description": "Payee used only when merchant is omitted. Ignored if merchant is also set."
    },
    "merchant": {
      "type": "string",
      "description": "Payee name or https URL. Used instead of endpoint when both are set. A missing payee is penalized."
    },
    "risk_hints": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Self-reported hints. Raising: new_payee, new_merchant, first_payment, high_velocity, mismatched_purpose, off_platform, shared_wallet. Lowering: trusted_repeat, within_policy, human_preapproved. known_merchant marks the payee known."
    },
    "from_wallet": {
      "type": "string",
      "description": "0x account that would sign or pay gas. Omit to score as before, with no wallet verdict. A published Hardhat, Anvil, Ganache, or other public dev-mnemonic account is block, reason dev_wallet."
    },
    "allowed_wallets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "0x addresses allowed to spend on this call. When set, including an empty array, this list is used instead of the stored per-key allowlist. Omit to use the list from set_wallet_allowlist."
    },
    "daily_budget_remaining": {
      "type": "number",
      "description": "USD left today. When set, a greater amount is blocked. Omit to skip this check."
    },
    "monthly_budget_remaining": {
      "type": "number",
      "description": "USD left this month. When set, a greater amount is blocked. Omit to skip this check."
    }
  },
  "additionalProperties": false
}
score_spend annotations
{
  "title": "Score a planned spend",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_quota — Read today's free score quota
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read today's free-score balance. Prefer this over score_spend when you are not judging a specific payment, including before a batch or after a 402: it does not consume a score, returns no verdict, and is never billed. Do not use it to approve or block a spend. Pass api_key for that sg_live_ key (tier free, 1,000/UTC day); omit it for this client's anonymous bucket (tier anonymous, 100/UTC day). An unrecognized or non-sg_live_ key returns invalid_api_key and does not fall back. Returns subject (anonymous|api_key|bundle), key_id, key_prefix, tier (anonymous|free|bundle), daily_limit, used_today, remaining_today, paid_today, price_usd, price_atomic, asset (USDC), network, resets_at (next UTC midnight), and paid_configured. Mint a higher cap with get_api_key.

get_quota input schema
{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Optional sg_live_ key to read. Omit for the anonymous bucket. Does not mint a key. An unrecognized key returns invalid_api_key."
    }
  },
  "additionalProperties": false
}
get_quota annotations
{
  "title": "Read today's free score quota",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_api_key — Mint a free API key
Advertised by the server during the last successful anonymous check.

Mint one free sg_live_ key so later score_spend and get_quota calls use 1,000 scores per UTC day instead of the anonymous 100. Call once per agent when you will score often and have no stored key. Do not call every turn, do not mint again if you already stored the secret, and do not call just to read remaining scores (use get_quota). Returns the secret once as api_key, plus key_id, key_prefix, label, tier free, daily_limit, created_at, and note. Only a hash is stored, so the secret cannot be shown again. Keys do not expire and there is no revoke tool; a lost key stays valid, and an unknown or non-sg_live_ value later returns invalid_api_key. At most 20 mints per client per UTC day, then key_mint_limit and no new key. Minting is free and does not consume a score. Send the secret later as Authorization: Bearer or as api_key. label is an optional stored name and does not set a cap, a scope, or an expiry.

get_api_key input schema
{
  "type": "object",
  "properties": {
    "label": {
      "type": "string",
      "description": "Optional name stored with the key, up to 80 characters. Does not set a cap or an expiry. Keys do not expire."
    }
  },
  "additionalProperties": false
}
get_api_key annotations
{
  "title": "Mint a free API key",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
set_wallet_allowlist — Store wallets this key may spend from
Advertised by the server during the last successful anonymous check.

Store the 0x wallets this sg_live_ key is allowed to spend from. Call it when an operator names those wallets, once, not on every spend, and not to approve a payment. score_spend still has to run before any transfer. A block or ask_human from score_spend means do not broadcast. Pass allowed_wallets. This replaces the stored list for that key in one write. An empty array stores an allowlist that authorizes no wallet, so a later score with from_wallet and no call-level list returns block, reason unauthorized_wallet. allowed_wallets is required. At most 32 addresses. A published developer test account (Hardhat/Anvil default accounts, Ganache, BIP-39 test, and other public test mnemonics) is rejected with dev_wallet and is not stored. Requires api_key, or Authorization: Bearer sg_live_. Anonymous and bundle callers cannot store a list; they can pass allowed_wallets on score_spend instead. An unrecognized key returns invalid_api_key. A missing key returns api_key_required. Does not consume a score and is never billed. Returns key_id, key_prefix, allowed_wallets, and updated_at. A new key starts with no list, which makes a later from_wallet ask_human with reason wallet_unverified until you set one. Do not put a private key or a recovery phrase in this tool. Addresses only.

set_wallet_allowlist input schema
{
  "type": "object",
  "required": [
    "allowed_wallets"
  ],
  "properties": {
    "api_key": {
      "type": "string",
      "description": "sg_live_ key this list belongs to. You can also send Authorization: Bearer. Required. Anonymous callers cannot store a list."
    },
    "allowed_wallets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "0x addresses this key may spend from. Replaces the stored list. An empty array authorizes none. Public developer test accounts are rejected and not stored."
    }
  },
  "additionalProperties": false
}
set_wallet_allowlist annotations
{
  "title": "Store wallets this key may spend from",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (37 of 37 checks answered)

  1. 2026-11-18: 5 of 5 checks answered
  2. 2026-11-19: 4 of 4 checks answered
  3. 2026-11-20: 3 of 3 checks answered
  4. 2026-11-21: 4 of 4 checks answered
  5. 2026-11-22: 4 of 4 checks answered
  6. 2026-11-23: 3 of 3 checks answered
  7. 2026-11-24: 4 of 4 checks answered
  8. 2026-11-25: 4 of 4 checks answered
  9. 2026-11-26: 4 of 4 checks answered
  10. 2026-11-27: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
342 ms
95th percentile latency
383 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 388 ms · 4 tool(s)
  • · probe · passed · 295 ms · metadata changed · 4 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http spendgate-mcp https://spendgate.toolweather.workers.dev/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add spendgate-mcp --url https://spendgate.toolweather.workers.dev/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable spendgate-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "spendgate-mcp": {
      "url": "https://spendgate.toolweather.workers.dev/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "spendgate-mcp": {
      "type": "streamableHttp",
      "url": "https://spendgate.toolweather.workers.dev/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start spendgate-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "spendgate-mcp": {
      "type": "http",
      "url": "https://spendgate.toolweather.workers.dev/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http spendgate-mcp https://spendgate.toolweather.workers.dev/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://spendgate.toolweather.workers.dev/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "spendgate-mcp": {
      "serverUrl": "https://spendgate.toolweather.workers.dev/mcp"
    }
  }
}

Let your agent find its tools

Find servers like SpendGate MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.