mcp-x402
Provides tools for sending prompts to the OpenAI Responses API, enabling AI-powered URL analysis, summarization, and condition verification with per-request payment via x402.
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., "@mcp-x402Check if https://example.com mentions a money-back guarantee"
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.
MCP x402 — Evidence-Backed Web Verification for AI Agents
Verify a seller, product, offer, policy, or claim before an agent acts
Give an AI agent a public HTTP(S) page and 1 to 10 concrete conditions. The verificar_condicoes tool returns an evidence-based decision for every condition:
confirmado— the page clearly supports the condition.rejeitado— the page clearly contradicts the condition.incerto— the available page evidence is insufficient.
Each verification includes the final source URL, page title, timestamp, condition-by-condition explanation, quoted evidence when available, a unique verificationId, and a SHA-256 pageHash.
Designed for
AI purchasing and procurement agents;
seller, product and offer verification;
pre-purchase due diligence;
policy and terms checking;
commercial automation that requires evidence before taking action.
Simple x402 integration
Free preflight validation before payment.
$0.05 USDCper verification on Base mainnet.No account or subscription required.
Available through MCP and HTTP.
Ready-to-run buyer included in this repository.
Coinbase x402 validation passed and Bazaar discovery enabled.
Live endpoints
MCP:
https://mcp-x402-production.up.railway.app/mcpFree verification preflight:
POST https://mcp-x402-production.up.railway.app/preflight/verify-conditionsPaid verification:
POST https://mcp-x402-production.up.railway.app/verify-conditionsHealth:
GET https://mcp-x402-production.up.railway.app/health
The service also provides paid public URL analysis and general AI consultation through analisar_url and consultar_ia.
Related MCP server: Pylon MCP Server
Live Service
Base URL:
https://mcp-x402-production.up.railway.appHealth check:
GET /healthMCP endpoint:
POST /mcpPaid URL analysis:
POST /analyzePrice:
$0.05 USDCper paid requestNetwork: Base mainnet (
eip155:8453)
Production Status
Production deployment active on Railway
x402 version 2 payment flow
Base mainnet payments (
eip155:8453)Coinbase x402 validation passed
Simulation accepted with HTTP 402
Bazaar discovery metadata enabled
Coinbase index active
MCP Tools
Decision verification
verificar_condicoes — $0.05 USDC
A paid decision-verification tool for agents.
Give it a public URL and one or more concrete conditions. It returns a decision based only on evidence extracted from that page:
confirmado— the page clearly proves the condition.rejeitado— the page clearly contradicts the condition.incerto— the page does not provide enough evidence.
Each result includes the final source URL, page title, verification timestamp, condition-by-condition explanation, and a short quoted proof where available.
Example conditions:
“The page identifies the seller.”
“The product is available in Portugal.”
“The page shows a price in euros.”
“The document states that the service supports x402.”
This is designed for agents that need an evidence-based decision before taking the next action.
Tool | Description | Price |
| Sends a prompt to the OpenAI Responses API. | $0.02 USDC |
| Fetches and analyzes a public HTTP or HTTPS page. | $0.05 USDC |
| Verifies concrete conditions on a public page and returns evidence-based decisions. | $0.05 USDC |
Technology
Node.js and TypeScript
Express
Model Context Protocol
OpenAI Responses API
x402 payments
viem
Cheerio
Railway
Security
HTTPS provided by Railway
Helmet security headers
Rate limit of 100 requests per 15 minutes
Structured request logs with unique request IDs
Host validation and Railway health-check support
Restricted OpenAI API key with access only to
/v1/responsesEnvironment files and secrets excluded from Git
Environment Variables
Server
Variable | Required | Description |
| Yes | OpenAI project API key. |
| No | OpenAI model. Defaults to |
| No | Listening host. Defaults to |
| No | Listening port. Defaults to |
| Railway | Automatically supplied by Railway. |
Local Buyer
Variable | Required | Description |
| Yes | Private key of the Base mainnet buyer wallet. Never commit this value. |
Example local .env.test file:
EVM_PRIVATE_KEY=your_private_key_hereLocal Development
Install dependencies:
npm installStart the development server:
npm run devBuild the project:
npm run buildStart the compiled server:
npm startHealth Check
The health endpoint is public and does not require payment:
curl https://mcp-x402-production.up.railway.app/healthReady-to-Run x402 Buyer
The repository includes ready-to-run buyers for applications and AI agents. The MCP buyer connects to the live service, validates the x402 payment requirements against Base mainnet USDC and a maximum payment of $0.05, signs the payment, retries the same tool call, and prints the settlement receipt and result.
Clone and prepare the buyer:
git clone https://github.com/Diogoup26/mcp-x402.git
cd mcp-x402
npm installCreate a local .env.test file in the project root:
EVM_PRIVATE_KEY=0xYOUR_64_HEX_CHARACTER_PRIVATE_KEYNever commit .env.test or expose the private key.
Build the project:
npm run buildThe following commands authorize real x402 payments on Base mainnet:
consultar_ia: $0.02 USDCanalisar_url: $0.05 USDCverificar_condicoes: $0.05 USDC
HTTP URL Analysis
npm run analyze -- "https://example.com" "Summarize this page."HTTP Decision Verification
npm run verify -- "https://example.com" "The page identifies the seller."MCP URL Analysis
npm run mcp:analyze -- "https://example.com" "Summarize this page."MCP AI Consultation
npm run mcp:consult -- "Reply only with: MCP OK"MCP Decision Verification
npm run mcp:verify -- "https://example.com" "The page identifies the seller."A successful MCP payment prints:
PAGAMENTO MCP: successthe settlement receipt
the tool response
The MCP buyer never prints the private key and rejects any payment that:
is not on Base mainnet;
does not use the configured Base USDC contract;
exceeds $0.05 USDC.
Deployment
The main branch is connected to Railway. Every successful push triggers a new deployment. Railway uses:
npm run build
npm startThe deployment health-check path is /health.
License
ISC
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to access paid content by integrating cryptocurrency payments through the x402 protocol, allowing LLMs to verify payments and retrieve paid resources automatically.1

Pylon MCP Serverofficial
FlicenseNot gradedqualityFmaintenanceProvides 20+ AI agent capabilities like web scraping, PDF parsing, OCR, and more, with pay-per-use micropayments via x402.1- AlicenseNot gradedqualityDmaintenanceEnables AI agents to pay for protected HTTP resources using Stellar USDC via the x402 protocol, facilitating automated payments and access to paid APIs.MIT
- AlicenseNot gradedqualityBmaintenanceWebsite intelligence tools for AI agents. Ten pay-per-call tools via x402 micropayments (USDC on Base) — no accounts, no API keys.2MIT
Related MCP Connectors
Pay for HTTP APIs and charge for your own: x402 micropayments in USDC on Base.
Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.
Pay-per-call web scraping for AI agents via x402 on Base USDC. Six tools, no signup.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Diogoup26/mcp-x402'
If you have feedback or need assistance with the MCP directory API, please join our Discord server