npm x402-gateway-mcpstdioupdated 10d ago
The live x402 market feed for agents. The x402marketpulse tool is FREE — no wallet, no payment, no signup: the x402 ecosystem in one snapshot, refreshed 3x/day — service listings by category with week-over-week deltas, newly listed services, npm download trends for the core x402 packages, protocol release tags, and per-source reliability grades. Every metric carries a freshness stamp; a stale source says so instead of pretending.
What can you do with Stride20k x402 Data Gateway?
x402-gateway-mcp
The live x402 market feed for agents. The x402_market_pulse tool is
FREE — no wallet, no payment, no signup: the x402 ecosystem in one snapshot,
refreshed ~3x/day — service listings by category with week-over-week deltas,
newly listed services, npm download trends for the core x402 packages,
protocol release tags, and per-source reliability grades. Every metric
carries a freshness stamp; a stale source says so instead of pretending.
Behind the feed: every x402-gateway data
endpoint as an MCP tool that pays for calls with your wallet (USDC on
Base, x402 protocol) — crypto prices, DEX pools, gas, FX, Treasury yields,
US weather, WHOIS, DNS, email validation, web-to-markdown extraction, token
risk scores, $1 domain dossiers, and more. Tool list is fetched from the
gateway's /.well-known/x402.json at startup — new gateway endpoints appear
automatically, and every response is cryptographically signed
(verify).
⚠️ Funded-wallet warning:
WALLET_PRIVATE_KEYsigns real payments. Use a dedicated wallet holding only small balances (a few dollars of USDC). Never your main wallet. The key is read from env, never logged, and payment headers are never echoed into agent-visible output.
5-minute setup (Claude Desktop / Claude Code)
- Create a fresh wallet and fund it with a small amount of USDC on Base (or Base Sepolia test USDC from https://faucet.circle.com while testing).
npm install -g x402-gateway-mcp(or usenpx).- Add to your MCP config (Claude Desktop
claude_desktop_config.json, orclaude mcp addfor Claude Code):
{
"mcpServers": {
"x402-gateway": {
"command": "npx",
"args": ["-y", "x402-gateway-mcp"],
"env": {
"GATEWAY_URL": "https://<your-gateway-host>",
"WALLET_PRIVATE_KEY": "0x<small-balance-wallet-key>",
"MAX_PER_CALL_USD": "0.25",
"MAX_SESSION_USD": "2.00"
}
}
}
}
- Restart the client. The free
x402_market_pulsetool works immediately (no wallet needed); every paid tool description states its price, e.g.[costs $0.005 USDC per call] Get the current USD price of a cryptocurrency…
Spend guardrails
MAX_PER_CALL_USD(default 0.25): tools priced above this are refused. Note: the gateway's premium/report/domaindossier costs $1.00 — setMAX_PER_CALL_USD=1.25to enable it; the default deliberately keeps premium tools opt-in.MAX_SESSION_USD(default 2.00): cumulative settled spend per server session; calls that would exceed it are refused with a clear message the agent can relay. Restart the server to reset.
Refusals happen before any payment is signed.
Env reference
| Var | Default | Purpose |
|---|---|---|
GATEWAY_URL |
https://gateway.stride20k.com |
Gateway base URL (override for local/testnet) |
WALLET_PRIVATE_KEY |
— | Buyer key (small balance!). Without it, tools list but calls fail with a clear error |
MAX_PER_CALL_USD |
0.25 |
Per-call cap |
MAX_SESSION_USD |
2.00 |
Per-session cap |
Install
Add Stride20k x402 Data Gateway to your client. Pick the one you use.
claude mcp add x402-gateway-mcp -- npx -y x402-gateway-mcpcodex mcp add x402-gateway-mcp -- npx -y x402-gateway-mcpamp mcp add x402-gateway-mcp -- npx -y x402-gateway-mcp{
"mcpServers": {
"x402-gateway-mcp": {
"command": "npx",
"args": [
"-y",
"x402-gateway-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"x402-gateway-mcp": {
"command": "npx",
"args": [
"-y",
"x402-gateway-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"x402-gateway-mcp","command":"npx","args":["-y","x402-gateway-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"x402-gateway-mcp": {
"command": "npx",
"args": [
"-y",
"x402-gateway-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"x402-gateway-mcp": {
"command": "npx",
"args": [
"-y",
"x402-gateway-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"x402-gateway-mcp": {
"command": "npx",
"args": [
"-y",
"x402-gateway-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"x402-gateway-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"x402-gateway-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"x402-gateway-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"x402-gateway-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y x402-gateway-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation22/25
- Maintenance19/25
- Trust6/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 2 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.2.0Latest | Jul 8, 2026 |
| 0.1.2 | Jul 6, 2026 |