Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Policy

MCP server by base-buzz Verified · npm:@paystage

Checks x402 payment challenges against a spending policy before an agent's wallet signs. It is built for AI agents that pay for API calls, and each check returns pay, review, or do_not_pay with the rule that fired.

  • Score 85
  • 9 stars
  • 3.6k a week
  • MIT
  • Updated

Install Policy

Built from the published package, never by AI.

claude mcp add policy -- npx -y @paystage/policy

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Policy in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the policy block.

About

PayStage is an MCP server and guard library that answers one question before an agent pays: should this x402 payment happen? It evaluates the seller's 402 challenge against a policy that can cover amount caps, payees, networks, assets and time windows. Every tool returns pay, review, or do_not_pay, along with the rule that fired and a receipt.

The @paystage/x402-guard package wraps the fetch function, so a refused payment returns the seller's 402 unsigned with a verdict header. The umbrella @paystage/mcp server exposes ten tools over stdio, and a hosted Streamable HTTP endpoint is also available. It is aimed at developers whose agents make many small paid calls and need a check before signing.

Written from the project's README and checked against it.

Tools it gives your assistant

  • evaluate_hip3_tradeNamed in the source as one of the ten tools in the umbrella MCP server.
  • evaluate_velocityNamed in the source as one of the ten tools in the umbrella MCP server.
  • request_testnet_fundsAsks the Base Sepolia faucet for 0.5 test USDC so the paid path can be tested.

What you need

  • Node.js and npm for the local npx install
  • USDC on Base for paid calls beyond the free tier

Try asking

  • Should I pay this x402 challenge for 12.5 USDC against a 5 USDC cap?
  • Evaluate this 402 payment challenge against my spending policy.
  • Request 0.5 test USDC from the Base Sepolia faucet.

Good to know

  • Nine of the ten tools are read-only and do not sign or move money.
  • request_testnet_funds moves testnet funds only and cannot reach mainnet.
  • The free allowance of 1,000 calls a day is counted per instance, not globally per IP.
  • The source says LIMITS.md lists what the gate does not catch, including settlements that already happened.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Policy

All alternatives →
mcp stripe
96

Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.

AAA Remote 2.1k
TradingMCPatilaahmettaner
94

Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.

AAA Remote 5.4k
CCXTccxt
94

CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.

AAA Local 45k
Finance ToolkitJerBouma
94

Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.

AAA Local and remote 5.6k
Vapi Network MCP vAPI-Network
94

Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.

AAA Local 6.2k
Finance DatabaseJerBouma
94

Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.

AAA Local and remote 9.7k

Compare with mcp, TradingMCP or CCXT

Policy: common questions

How much does the hosted PayStage endpoint cost?

The source says the first 1,000 calls a day need no payment or account. After that it is $0.002 per call over x402, paid in USDC on Base.

What does PayStage return for a payment check?

Each tool returns pay, review, or do_not_pay, with the rule that fired. The source says a refusal returns the seller's 402 with a verdict header and nothing is signed.

Does PayStage hold keys or sign payments?

The source says none of the read-only tools signs, holds a key, or moves money. The agent stays the only signer.

How do I install Policy?

In Claude Code run claude mcp add policy -- npx -y @paystage/policy. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Policy the official server?

Policy is published by npm:@paystage from its verified domain in the official MCP Registry.

Is Policy free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Policy safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Policy?

Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.

Does Policy work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Policy Install

Add to stack

Loading.