Agentpay logo

Agentpay

Budget-capped MCP tools for crypto data, web research, DeFi analysis, trade checks, and x402 service discovery.

Install Agentpay

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "agentpay-5": {
      "command": "npx",
      "args": [
        "-y",
        "@romudille/agentpay-mcp"
      ],
      "env": {
        "AGENTPAY_ENABLE_PAID": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

agentpay MCP server provides agents with crypto market data, DeFi analytics, web retrieval, wallet lookups, and x402 marketplace routing. Its session model tracks calls, costs, receipts, and a hard spending cap enforced before payment is signed. Most tools are free, while session creation, pre-trade checks, and verified routing can settle USDC on Base. Reach for agentpay when an agent needs current financial data or must plan, constrain, and account for paid tool usage.

Use cases

  • Check crypto prices, sentiment, gas, and derivatives conditions before an agent acts
  • Compare DeFi yields and protocol TVL for a selected token or protocol
  • Estimate and enforce a budget across a multi-tool agent workflow
  • Screen a planned trade for liquidity, funding, crowding, and token-contract risk
  • Find and vet paid x402 services before sending them a request

Key features

  • Hard session spending caps enforced before payment signing
  • Receipts with calls, costs, timestamps, transaction hashes, and networks
  • Crypto market, DeFi, derivatives, wallet, and token-security tools
  • Web search, URL extraction, and Dune query access
  • Pre-trade checks and x402 provider trust routing
  • Base, Stellar, and Stacks settlement support

Tools22

What Agentpay lets your agent do. Expand a tool for its parameters.

Verified live~6.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 83d

What it can do

From the 22 tools this server returned when we ran it; 22 declare their own safety hints.

Runs commands · 1Handles credentials · 11Makes network requests · 22Read-only tools · 21
Network at startup4 connections
Files written at startup1
Install scriptsNone
npm provenanceNot published
Package age219 days
Maintainers1

Observed 2026-10-27 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @romudille/agentpay-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads1.8kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed22Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Agentpay works

What agentpay does

agentpay combines finance and web-research tools with controls for agent spending. Its free tools cover token prices, Ethereum gas, market snapshots, wallet balances, DeFi TVL and yields, derivatives metrics, order-book depth, token security, crypto news, Dune results, URL reading, and web search. The service also exposes tools for finding and evaluating paid x402 services.

The main use case is an agent that needs current crypto information while keeping tool costs explicit. A session can enforce a maximum spend, record each call, and produce a receipt containing costs, timestamps, transaction hashes, and settlement networks. The SDK can also estimate a multi-tool plan before spending and suggest cheaper alternatives for paid steps.

How it works

The Python quickstart registers an agent, creates a wallet, and returns a budget-capped session. A session may use the managed wallet or a caller-supplied wallet, with a maximum spend such as 0.50. Calls are session-tracked, and the cap is checked before a payment is signed.

Free tools can be used without USDC, a wallet, or API keys through quickstart(). Paid calls use x402 over MCP: an unpaid request returns PaymentRequired, and payment is supplied through _meta with x402/payment. Supported settlement paths include USDC on Base and Stellar, plus sBTC on Stacks mainnet.

Setup and configuration

Install the Python package with:

Terminal
pip install agentpay-x402

Use the [base] extra for payment tools that settle on Base, or [stacks] for the Stacks/sBTC option. A minimal session can be created as follows:

server.ts
from agentpay import quickstart

session = quickstart(max_spend="0.50")
result = session.call("token_price", {"symbol": "ETH"})

Sessions can be configured with an allowed-tool list, per-tool limits, a call rate limit, a preferred chain, permitted recipients, a per-call maximum, and an approval threshold. estimate_plan() prices a sequence before execution, while remaining_usd(), would_exceed(), and spending_summary() expose budget state and receipts.

Tools and capabilities

  • Retrieve token prices, market capitalization, 24-hour changes, trading volume, all-time highs, and sentiment.
  • Inspect Ethereum gas, perpetual funding, open interest, long/short ratios, and centralized-exchange order-book depth.
  • Compare DeFi protocol TVL and token yield pools, including APY, chain, TVL, and heuristic risk level.
  • Check Ethereum and BSC token contracts for honeypots, taxes, minting, ownership, and holder data.
  • Read wallet balances on Ethereum or Stellar and track large Ethereum ERC-20 transfers.
  • Search the web, extract clean page markdown, query Dune results, and read crypto headlines with sentiment.
  • Run a pre-trade verdict combining liquidity, funding, crowding, and contract checks; Stacks assets can include Bitflow route data.
  • Discover paid x402 services with verified_route, estimate planned costs with estimate_plan, and open a paid session with session_create.

Limitations and notes

wallet_balance supports Ethereum and Stellar addresses only. token_security covers Ethereum and BSC contracts, while whale_activity covers Ethereum ERC-20 transfers. orderbook_depth uses centralized-exchange books from Binance, Bybit, and OKX rather than DEX pools, and gas_tracker reports Ethereum mainnet gas.

verified_route has a free preview that withholds the provider URL and ready-to-pay challenge. Paid mode requires funding the install wallet on Base and setting AGENTPAY_ENABLE_PAID=1; the paid call costs $0.01. route remains as a legacy alias. session_create and pre_trade_check also cost $0.01, while the listed data and research tools are free.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agentpay

agentpay is an MCP server that connects AI agents to crypto market, DeFi, wallet, web, and x402 marketplace data. Its main tools include token pricing, gas tracking, yield scanning, trade checks, web search, URL reading, session budgeting, and verified routing for paid services, with receipts and spending caps for agent workflows.

Install it with `pip install agentpay-x402`. Add `[base]` for Base payment tools or `[stacks]` for the Stacks/sBTC option, then create a session with Python's `quickstart()` function.

No, the free tools work through `quickstart()` without USDC, wallet setup, or API keys. Paid calls require the applicable payment setup, and `session_create` settles $0.01 on-chain.

It checks the session's hard `max_spend` cap before signing a payment. Sessions can also restrict tools, set per-tool and per-call limits, apply rate limits, restrict recipients, and require approval above a threshold.

agentpay supports USDC settlement on Base and Stellar and sBTC settlement on Stacks mainnet. A session can set a preferred chain such as Base, Stellar, or Stacks when configuring payment behavior.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgentpay AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agentpay-5?style=directory)](https://allmcps.com/mcp/agentpay-5)
HTML Embed
<a href="https://allmcps.com/mcp/agentpay-5"><img src="https://allmcps.com/api/badge/agentpay-5?style=directory" alt="Agentpay on AllMCPs" /></a>