tx402 MCP server
io.github.Mahesvannan/tx402·v0.2.0Explain Algorand transactions, groups, batches, and account activity with x402.
0 stars27 downloads/wk
Reviews
Write oneNobody has reviewed tx402 yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
tx402 tools (4)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
explain_algorand_atomic_groupExplain every outer and inner transaction in the atomic group containing a transaction ID.
explain_algorand_transactionExplain one Algorand transaction in plain English using tx402. Returns payment requirements if the endpoint requires x402 payment and payments are not enabled in this MCP wrapper.
explain_algorand_transaction_batchExplain 1 to 10 Algorand transaction IDs in one request, with per-item results.
summarize_algorand_account_activitySummarize recent asset flows, fees, counterparties, and verified protocol interactions for an Algorand account.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 52 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How tx402 compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,255 servers
- Tools
- 4
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 27
- more than 14% of 12,191 servers with a package
What its tools let an agent do: 4 read
Install tx402 in Claude Code, Cursor or VS Code
Runs npx -y tx402-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add tx402 -- npx -y tx402-mcp
What the publisher says
From the tx402 repository's README, as published. We do not edit it. Read it on GitHub
tx402
Plain-English explanations of Algorand transactions, sold as a pay-per-call API with x402 on Algorand.
Live service:
https://tx402-production.up.railway.appExplain one transaction, every leg of an atomic group, a batch of IDs, or recent account activity. Responses include scaled amounts, inner transactions, asset names, fees, timestamps, counterparties, and source-verified protocol labels.
Try the free fixed-transaction demo without a wallet:
https://tx402-production.up.railway.app/demo?example=algoGET /explain?txid=YRSG7IKDPCK4XMKFFTFFFYMIHF6SJOMHUOIE4FFUWNLEQ4WG2ZOQExample response after payment:
{
"txid": "YRSG7IKDPCK4XMKFFTFFFYMIHF6SJOMHUOIE4FFUWNLEQ4WG2ZOQ",
"network": "mainnet",
"summary": "On June 16, 2019, wallet VCINCV...JPMIPM sent 1 ALGO to CRBMB5...QLXZOY. Paid 0.001 ALGO in fees.",
"details": {
"type": "pay",
"sender": "VCINCVUX2DBKQ6WP63NOGPEAQAYGHGSGQX7TSH4M5LI5NBPVAGIHJPMIPM",
"transfer": {
"amount": "1",
"assetId": 0,
"unit": "ALGO"
}
}
}Raw Algorand indexer JSON is optimized for machines doing bookkeeping: amounts are base units, assets are numeric IDs, and notes are base64. tx402 is the translation layer for agents and applications that need to explain a transaction to a person.
API
Public routes:
- GET / - landing page with service metadata links
- GET /health - process liveness
- GET /health?deep=1&network=mainnet - readiness check for upstream services
- GET /discovery - machine-readable service description and pricing metadata
- GET /openapi.json - OpenAPI 3.1 specification
- GET /.well-known/agent.json - agent marketplace manifest
- GET /.well-known/x402 - x402 resource manifest
- GET /llms.txt - agent-readable documentation
- GET /demo?example=algo|usdc - free allowlisted Mainnet examples
- GET /explain?txid=...&network=mainnet - paid transaction explanation
- GET /group?txid=...&network=mainnet - paid atomic-group explanation
- POST /batch - paid batch of 1 to 10 transaction IDs
Default prices are $0.005 for /explain, $0.01 for /group, $0.02 for /batch, and $0.01 for /account/activity. Production accepts Mainnet USDC:
- network: algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=
- asset: 31566704
- receiver: 6RK3U3OF2B4Q773L4KC7OVFHQGU5I74NHRZ36QN6CVF527CKXAL62YR754
Architecture
tx402 has a small deterministic core and a thin serving shell.
Core:
normalized transaction object.
- src/decoder.js converts raw Algorand indexer JSON into a
readable sentence.
- src/narrator.js converts that normalized object into one
single, group, batch, and account products.
- src/insights.js builds group and account-level summaries.
- src/explainer.js resolves assets and orchestrates the
labels with a verification source for every narrated protocol claim.
- src/knownApps.js maps known app and asset IDs to human
Serving shell:
rate limits, health checks, and graceful shutdown.
- src/index.js owns HTTP routes, middleware ordering, logging,
public indexer.
- src/indexer.js is the only module that talks to AlgoNode's
delegates verification and settlement to the hosted GoPlausible facilitator.
- src/payments.js declares the x402 price and receiver, then
counters without cookies, raw wallet addresses, query strings, or IP history.
- src/rateLimit.js provides the in-memory per-IP limiter.
- src/analytics.js keeps aggregate process-local adoption
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
tx402: common questions
- Is tx402 MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the tx402 safety report
- How do I install tx402?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does tx402 need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is tx402 maintained?
- The last commit was 93 days ago (2026-08-03). The latest release is v0.2.0.
- How does tx402 compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,255 servers); tools 4 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.