Provides tools for retrieving crypto-related intelligence and data from multiple sources, including GitHub.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@x402 MCP ServerGet detailed crypto intelligence for Ethereum"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
x402 MCP Server
Pay-per-use APIs for AI agents. One npm install, automatic USDC micropayments on Base.
Tools
Tool | Description | Price |
| List all APIs with pricing and health status | Free |
| Capture any URL as a base64 image | $0.01 / capture |
| Extract text from a PDF via URL | $0.01 / extraction |
| Real-time sentiment analysis for a crypto coin | $0.01 / query |
| Broad crypto market sentiment overview | $0.05 / query |
| Multi-source crypto intelligence (CoinGecko, DeFiLlama, news, GitHub) | $0.10 / query |
Quick Start — Free Mode
No wallet or private key needed. Add the server to your MCP client config:
{
"mcpServers": {
"x402": {
"command": "npx",
"args": ["-y", "github:jameswilliamwisdom/x402-mcp-server"]
}
}
}Free mode limitations:
Screenshots limited to example.com, example.org, and httpbin.org
PDF extraction limited to first 3 pages
Sentiment returns mock data with real market structure
Quick Start — Paid Mode
Requires a Base wallet funded with USDC.
{
"mcpServers": {
"x402": {
"command": "npx",
"args": ["-y", "github:jameswilliamwisdom/x402-mcp-server"],
"env": {
"X402_PRIVATE_KEY": "your-private-key-here"
}
}
}
}Never commit your private key. Store it in your system environment or a local .env file loaded by your shell.
You need USDC on the Base network. Base is an Ethereum L2 with low transaction fees. See the full wallet setup guide for detailed instructions.
MCP Client Configs
Omit the env block entirely for free mode.
Claude Desktop
Config file location:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"x402": {
"command": "npx",
"args": ["-y", "github:jameswilliamwisdom/x402-mcp-server"],
"env": {
"X402_PRIVATE_KEY": "your-private-key-here"
}
}
}
}Claude Code
claude mcp add --transport stdio x402 -- npx -y github:jameswilliamwisdom/x402-mcp-serverThen set X402_PRIVATE_KEY in your environment.
Cursor
Config file: ~/.cursor/mcp.json
{
"mcpServers": {
"x402": {
"command": "npx",
"args": ["-y", "github:jameswilliamwisdom/x402-mcp-server"],
"env": {
"X402_PRIVATE_KEY": "your-private-key-here"
}
}
}
}Windsurf
Config file: ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"x402": {
"command": "npx",
"args": ["-y", "github:jameswilliamwisdom/x402-mcp-server"],
"env": {
"X402_PRIVATE_KEY": "your-private-key-here"
}
}
}
}How It Works
Your AI agent calls a tool (e.g.,
x402_screenshot)The MCP server makes an HTTP request to the API
The API responds with
402 Payment Requiredx402-fetchautomatically signs a USDC payment on Base and retriesThe API returns the result
The payment flow is handled by x402-fetch — your agent never needs to manage transactions directly.
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.