Pay per call for AI compute in Kaspa over HTTP 402 — client library + MCP server
View on GitHub ↗Let an AI agent pay for its own compute — per call, in Kaspa (KAS) — with no account, no API key, and no human in the loop.
This repo is the client side of kaspa-ai-gateway: a live, two-sided market for machine-to-machine AI payments — agents buy AI compute, workers sell it, every call settled on-chain in Kaspa. There's a hosted gateway running at kaspai.win — point an agent at it and it can buy AI compute by broadcasting a real Kaspa transaction, or point a worker at it and get paid in KAS to serve.
- npm: kaspa-compute-mcp · kaspa-x402 - Live dashboard: kaspai.win - Protocol: docs/HTTP-402-PROTOCOL.md
- What this is - What it does (one request, start to finish) - Why it matters - A day in the life - Try it in 2 minutes (MCP) - Use it in your own code - Use it from any language - Sell compute — run a worker - The live gateway & dashboard (kaspai.win) - The payment feed - The blockDAG visualizer - The stat row - The worker pool - M05H — the trading-bot demo - Money, cost & safety - FAQ - Packages in this repo - License
Autonomous software — a bot, an agent, a scheduled script, another AI — can't sign up for a credit card or click "Buy". Traditional payment rails need a human, an account, and don't work at fractions-of-a-cent amounts. kaspa-x402 is a payment rail built for machines instead.
It uses HTTP 402 "Payment Required" (a status code reserved in the HTTP spec since 1997 and never really used) plus Kaspa, a proof-of-work cryptocurrency that confirms transactions in about one second. An agent asks a server for work, the server answers "402, here's the price and whe
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/kaspahttp402--kaspa-x402.html)
ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.
0xwilliamortiz/openclaude-improvedruns anywhere. uses anything
halofyai/halofyHalofy is the open access and governance layer for AI agents across your organization. Identity, policy, provenance, audit, and signed erasure.
OpenLabs-so/openanalyticsOpen-source, privacy-first and cookieless web analytics with revenue attribution and an MCP server.
Dominic789654/awesome-deepseek-harnessA curated list of plugins, skills, MCP servers, patch/profile layers, orchestrators & UIs for DeepSeek Harness (DSH). Visualization · PPT · Coding · Agents · Loops (auto-research) and more. #dsh
pueschel88/Tradingview-MCPTradingview MCP server for controlling Tradingview Desktop from Claude Code via Chrome DevTools Protocol
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.