X402 Api
Rank #30,445io.github.fernsugi/x402-api
Eight paid DeFi tools: prices, gas, swaps, token security, holders, yields, funding and wallets
What you can do with X402 Api
X402 Api is a Model Context Protocol (MCP) server published by fernsugi. It ranks #30,445 of 171,126 active servers on MCP Toplist. X402 Api is listed across 3 registries — Official MCP, Glama and PulseMCP, with 4 tracked versions. It was first listed on Feb 26, 2026 and most recently updated on Sep 30, 2026.
Not verifiedMCP Toplist has not yet written a checked profile for this server, so the paragraph above is assembled from registry data only. The repository README is the authority on what it does.
What X402 Api can and cannot do
Not verifiedMCP Toplist has not catalogued this server's tools or limitations. The repository README lists them.
What you need before using X402 Api
The registry listing declares no required environment variables or authentication. This is declared metadata, not a verified install — the repository README is the authority.
Declared by Glama, last synced Nov 7, 2026. Not independently verified by MCP Toplist.
- X402_API_BASE_URL · optional
- X402_WALLET_PRIVATE_KEY · optional
- X402_MAX_PER_CALL_USDC · optional
- X402_REFERRAL_SOURCE · optional
- X402_EXPECTED_PAY_TO · optional
Connect X402 Api and confirm it works
claude mcp add x402-api -e "X402_API_BASE_URL=<your X402_API_BASE_URL>" -e "X402_WALLET_PRIVATE_KEY=<your X402_WALLET_PRIVATE_KEY>" -e "X402_MAX_PER_CALL_USDC=<your X402_MAX_PER_CALL_USDC>" -e "X402_REFERRAL_SOURCE=<your X402_REFERRAL_SOURCE>" -e "X402_EXPECTED_PAY_TO=<your X402_EXPECTED_PAY_TO>" -- npx -y @x402-api/mcp-serverReplace each placeholder with your own value before saving.
[mcp_servers.x402-api]
command = "npx"
args = ["-y", "@x402-api/mcp-server"]
[mcp_servers.x402-api.env]
X402_API_BASE_URL = "<your X402_API_BASE_URL>"
X402_WALLET_PRIVATE_KEY = "<your X402_WALLET_PRIVATE_KEY>"
X402_MAX_PER_CALL_USDC = "<your X402_MAX_PER_CALL_USDC>"
X402_REFERRAL_SOURCE = "<your X402_REFERRAL_SOURCE>"
X402_EXPECTED_PAY_TO = "<your X402_EXPECTED_PAY_TO>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"x402-api": {
"command": "npx",
"args": [
"-y",
"@x402-api/mcp-server"
],
"env": {
"X402_API_BASE_URL": "<your X402_API_BASE_URL>",
"X402_WALLET_PRIVATE_KEY": "<your X402_WALLET_PRIVATE_KEY>",
"X402_MAX_PER_CALL_USDC": "<your X402_MAX_PER_CALL_USDC>",
"X402_REFERRAL_SOURCE": "<your X402_REFERRAL_SOURCE>",
"X402_EXPECTED_PAY_TO": "<your X402_EXPECTED_PAY_TO>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"x402-api": {
"command": "npx",
"args": [
"-y",
"@x402-api/mcp-server"
],
"env": {
"X402_API_BASE_URL": "<your X402_API_BASE_URL>",
"X402_WALLET_PRIVATE_KEY": "<your X402_WALLET_PRIVATE_KEY>",
"X402_MAX_PER_CALL_USDC": "<your X402_MAX_PER_CALL_USDC>",
"X402_REFERRAL_SOURCE": "<your X402_REFERRAL_SOURCE>",
"X402_EXPECTED_PAY_TO": "<your X402_EXPECTED_PAY_TO>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"x402-api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@x402-api/mcp-server"
],
"env": {
"X402_API_BASE_URL": "<your X402_API_BASE_URL>",
"X402_WALLET_PRIVATE_KEY": "<your X402_WALLET_PRIVATE_KEY>",
"X402_MAX_PER_CALL_USDC": "<your X402_MAX_PER_CALL_USDC>",
"X402_REFERRAL_SOURCE": "<your X402_REFERRAL_SOURCE>",
"X402_EXPECTED_PAY_TO": "<your X402_EXPECTED_PAY_TO>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"x402-api": {
"command": "npx",
"args": [
"-y",
"@x402-api/mcp-server"
],
"env": {
"X402_API_BASE_URL": "<your X402_API_BASE_URL>",
"X402_WALLET_PRIVATE_KEY": "<your X402_WALLET_PRIVATE_KEY>",
"X402_MAX_PER_CALL_USDC": "<your X402_MAX_PER_CALL_USDC>",
"X402_REFERRAL_SOURCE": "<your X402_REFERRAL_SOURCE>",
"X402_EXPECTED_PAY_TO": "<your X402_EXPECTED_PAY_TO>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"x402-api": {
"command": "npx",
"args": [
"-y",
"@x402-api/mcp-server"
],
"env": {
"X402_API_BASE_URL": "<your X402_API_BASE_URL>",
"X402_WALLET_PRIVATE_KEY": "<your X402_WALLET_PRIVATE_KEY>",
"X402_MAX_PER_CALL_USDC": "<your X402_MAX_PER_CALL_USDC>",
"X402_REFERRAL_SOURCE": "<your X402_REFERRAL_SOURCE>",
"X402_EXPECTED_PAY_TO": "<your X402_EXPECTED_PAY_TO>"
}
}
}
}Replace each placeholder with your own value before saving.
After adding the config, ask your client to list this server's tools. A tool list confirms the connection; an empty list or an error means the server did not start or needs credentials.
When to choose another server
No task-specific alternatives are catalogued for X402 Apiyet; the list above is its publisher's other servers.
What changed, and when this was checked
- First listed
- Feb 26, 2026
- Latest version published
- Sep 30, 2026
- Version history
- 4 versions tracked (below)
- Requirements evidence
- Declared by Glama, last synced Nov 7, 2026. Not independently verified by MCP Toplist.
- Profile checked
- Not yet — purpose, capabilities and requirements above come from registry data only
- Ranking data as of
- Nov 7, 2026
- Official MCP ↗listed since Apr 25, 2026 · still listed
- Glama ↗listed since May 6, 2026 · still listed
- PulseMCP ↗listed since May 22, 2026 · still listed
Do you maintain X402 Api? to correct or enrich this profile.
Available versions (4)
| Version | Published |
|---|---|
| 1.0.5 | Sep 30, 2026 |
| 1.0.4 | Sep 29, 2026 |
| 1.0.2 | Feb 26, 2026 |
| 0.1.0 | Nov 25, 2024 |
Ranks ahead of 140,681 of 171,126 servers on MCP Toplist.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.fernsugi%2Fx402-api)<a href="https://mcptoplist.com/server/io.github.fernsugi%2Fx402-api"><img src="https://mcptoplist.com/badge/io.github.fernsugi%2Fx402-api.svg" alt="MCP Toplist: Top 25% of 171,126" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Frequently asked questions
- Who maintains X402 Api?
- X402 Api is maintained by fernsugi, which publishes 2 MCP servers (4 total versions) tracked on MCP Toplist.
- Is X402 Api listed on the Official MCP Registry?
- Yes — X402 Api is listed on the Official MCP Registry, alongside Glama and PulseMCP.
- How many versions does X402 Api have?
- MCP Toplist tracks 4 versions of X402 Api, most recently published on Sep 30, 2026.
- Where can I find the source code for X402 Api?
- The source code for X402 Api is hosted at github.com/fernsugi/x402-api-mcp-server.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.