Menu

1 / 2

An MCP server that charges your AI a penny per call

DEV Community·UltraStarz·6 months ago
#Oj7DEQbx
#mcp#ai#claude#showdev#x402
Reading 0:00
15s threshold

I built an MCP server that lets AI agents extract structured product data from any URL — and it charges them $0.01 USDC per call, automatically, with no API key. The whole thing went from idea to public-on-npm in 36 hours.

If you have Claude Desktop, Cursor, or Windsurf, you can install it right now:

{ "mcpServers" : { "x402-extract" : { "command" : "npx" , "args" : [ "-y" , "x402-extract-mcp" ], "env" : { "BUYER_PRIVATE_KEY" : "0x..." } } } }

Enter fullscreen mode

Exit fullscreen mode

Restart your client. Ask your agent:

Extract this product page: https://stormkeep-odl.bandcamp.com/album/the-nocturnes-of-iswylm-2

You'll get back a clean JSON blob — name, brand, price, availability, all 14 format variants — and your wallet will be 0.01 USDC lighter, on-chain on Base Sepolia. No accounts, no signups, no subscriptions.

What's actually happening

The protocol behind this is x402 .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.