my-x402-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
my-x402-mcp
MCP tool with x402 payment middleware for fetching cryptocurrency data from DexScreener.
Features
Payment-protected API: $0.002 USDC per call via x402
Network: Base Mainnet (eip155:8453)
Data source: DexScreener public API
MCP compliant: Tool metadata endpoint included
Related MCP server: santyvv-data-mcp
Setup
Install dependencies:
npm installCreate
.envfile:
cp .env.example .envRun the server:
npm startAPI Endpoints
GET /api/cryptodata
Fetch token data from DexScreener (payment required).
Query Parameters:
token(required): Token contract address
Example:
curl "http://localhost:3000/api/cryptodata?token=0x..."Payment:
Price: $0.002 USDC
Network: Base Mainnet
Payment address: 0xf081ee84c0d85278a6242bc265f0b312021ebeb1
GET /mcp/tools
Get MCP tool metadata.
GET /health
Health check endpoint.
Deployment
Deploy to Vercel:
vercelThe vercel.json configuration is already set up for Express.
Response Format
{
"token": "0x...",
"timestamp": "2026-09-04T13:40:35.000Z",
"pairs": [...],
"schemaVersion": "1.0.0"
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
24 pay-per-call data APIs over x402 (USDC on Base), plus a free search tool.
Market and on-chain crypto data for AI agents. Pay per call in USDC on Base (x402).
Pay-per-call crypto market intelligence for AI agents. USDC on Base via x402.
Pay-per-call crypto data over x402 (USDC on Base). Hosted, no wallet or key held by the server.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables real-time cryptocurrency price lookups for 10,000+ tokens, returning 24h change, market cap, and volume via CoinGecko with x402 micropayment-based pay-per-call access.MIT
- AlicenseAqualityCmaintenanceEnables AI agents to fetch crypto market and on-chain data, including prices across venues, token facts, OHLC candles, market overview, DeFi TVL, and wallet balances, with two free tools and the rest paid per call in USDC on Base via x402.8MIT
- AlicenseAqualityCmaintenanceEnables AI agents to access pay-per-call Base and Polygon onchain data (balances, tokens, transactions, gas, blocks, and trending pairs) settled in USDC via x402, with no API key required.18MIT
- AlicenseNot gradedqualityCmaintenanceProvides onchain intelligence tools for Base, including token risk checks, wallet PnL, and leaderboard data, with paid calls settled per-request in USDC via x402.30 npmMIT