Country economic momentum score (GDP, inflation, unemployment) via x402 USDC micropayments.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An x402-protected endpoint that gives AI agents a computed "economic momentum score" per country. Built entirely on free, public-domain World Bank data (https://data.worldbank.org) β nothing here repackages a licensed/paid feed.
GET /macro-pulse/{country_code} (e.g. /macro-pulse/US) β price: $0.02/call
Pulls GDP growth, inflation, and unemployment trend data from the World Bank API and synthesizes a single directional "momentum" score + label (improving / stable / deteriorating), with the raw indicator history included for transparency.
Tested locally β confirmed the payment gate correctly returns HTTP 402 with valid payment requirements (scheme=exact, asset=USDC, network=Base) when no payment is attached, and the underlying data/scoring logic returns correct World Bank data.
Get a Base wallet address (Coinbase Wallet or MetaMask configured for
Base). This is where USDC payments land. Set it as PAY_TO_ADDRESS.
NEVER share your private key/seed phrase with anyone, including me.
Decide testnet vs. mainnet:
NETWORK=eip155:84532) β what this is configured
for right now. Safe to test with fake USDC, $0 real risk.NETWORK=eip155:8453) β real money. For mainnet settlement
you need a facilitator that supports it. The public
https://x402.org/facilitator is testnet-only β for mainnet, sign up
for a free Coinbase Developer Platform (CDP) account
(https://portal.cdp.coinbase.com) and use their hosted facilitator +
API key.Deploy it somewhere publicly reachable (a real domain/URL, not localhost) so agents and marketplaces can find it β happy to help with this once wallet + network choice are set.
List it on a discovery layer β https://www.x402scan.com or
https://x402.org's Bazaar so agents can find and pay for it automatically.
Also add a /.well-known/x402 manifest for auto-discovery.
At $0.02/call, this needs real volume (hundreds to thousands of calls) to add up to meaningful money. Treat this as a slow-build side project, not a quick win β see prior discussion for realistic revenue ranges.
app.py β the full FastAPI service with x402 payment middlewareNo reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/macro-pulse-x402)<a href="https://allmcps.com/mcp/macro-pulse-x402"><img src="https://allmcps.com/api/badge/macro-pulse-x402?style=directory" alt="Macro Pulse X402 on AllMCPs" /></a>