New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

X402 Middleware

58 tools. 11 can modify or destroy data without limits.

5 destructive tools with no built-in limits. Policy required.

Last updated:

11 can modify or destroy data
47 read-only
58 tools total

Community server · catalogue entry checked 14/07/2026 · full schemas captured for 52 of 58 tools

How to control X402 Middleware ↓

What X402 Middleware exposes to your agents

Read (47) Write / Execute (6) Destructive / Financial (5)

What X402 Middleware costs in tokens

7,783 tokens of tool definitions, loaded on every request
3.9% of a 200k context window
360 heaviest tool: generate_qr_code
Critical Risk

The most dangerous X402 Middleware tools

11 of X402 Middleware's 58 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control X402 Middleware

PolicyLayer is an MCP gateway — it sits between your AI agents and X402 Middleware, and nothing reaches the server without passing your rules. These are the rules we recommend:

Block financial tools by default
{
  "wallet_buy": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Requires human approval."
      }
    ]
  }
}

Financial tools should be explicitly enabled per use case, not open by default.

Deny destructive operations
{
  "agent_memory": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Blocked by default. Requires approval."
      }
    ]
  }
}

Destructive tools should never be available to autonomous agents without human approval.

Rate limit write operations
{
  "chat_completion": {
    "limits": [
      {
        "counter": "chat_completion_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "analyze_readability": {
    "limits": [
      {
        "counter": "analyze_readability_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register X402 Middleware — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON X402 MIDDLEWARE →

Instant setup, no code required.

All 58 X402 Middleware tools

READ 47 tools
Read analyze_readability Calculate Flesch-Kincaid readability score, grade level, and reading ease. Parameters: text — Tex Read analyze_url Analyze any URL and return a structured summary with key points, sentiment, and topics. Use this to under Read bmr_calc Calculate Basal Metabolic Rate (BMR) using Mifflin-St Jeor equation. Parameters: weight — Weight Read calculate_bmi Calculate BMI (Body Mass Index) from weight and height. Parameters: weight — Weight (kg for metri Read calculate_date Date arithmetic and difference calculations. Use this to find days between dates, add/subtract time, Read check_ssl_certificate Check if a domain has a valid SSL/TLS certificate and is reachable. Use this to verify a website is servi Read classify {d} Read compare_items Compare two products, services, or options and get a structured comparison with verdict. Use this for buy Read convert_currency Convert between currencies using real-time exchange rates. Use this for currency conversion, financial ca Read convert_timestamp Convert a timestamp between Unix epoch and human-readable date formats. Use this to translate Unix timest Read convert_timezone Convert timestamps between timezones. Use this when you need to express times in a different timezone. Read decode_jwt Decode a JWT token into its header, payload, and signature parts. Use this to inspect JWT tokens without Read detect_language Detect the language of provided text with confidence score. Parameters: text — Text to detect lan Read dns_lookup Look up DNS records and SSL information for any domain. Use this to check A, AAAA, MX, NS, TXT, and CNAME Read extract_contacts Extract email addresses, social media links, and phone numbers from any URL. Use this for lead generation Read generate_seo_metadata Generate SEO-optimized title, meta description, keywords, and slug. Use this when publishing content — ge Read generate_uuid Generate one or more UUID v4 (random) identifiers. Use this when you need unique identifiers for database Read geocode Forward geocode an address or place name to coordinates. Uses Nominatim (free, no key). Returns lat, lon, Read geolocate_ip Get geolocation data for an IP address. Use this to determine the geographical location, ISP, and timezon Read get_air_quality Get current air quality data for any city. Uses Open-Meteo Air Quality API (free, no key) after geocoding Read get_crypto_prices Get real-time cryptocurrency prices from Binance. Use this to check current crypto prices, 24-hour price Read get_forecast Get a 7-day weather forecast for any city. Uses Open-Meteo (free, no key) after geocoding the city via No Read get_og_metadata Extract Open Graph metadata, title, description, and favicon from any URL. Use this when an agent needs t Read get_weather Get current weather conditions for any city. Uses Open-Meteo (free, no key) after geocoding the city via Read grammar {d} Read hash_text Generate a cryptographic hash of input text. Use this for password hashing, data integrity checks, digita Read heart_rate_zones Calculate target heart rate zones for exercise. Parameters: age — Age in years. resting_h Read keywords {d} Read list_countries Get a list of all countries with ISO codes, calling codes, and continent. Parameters: (no paramet Read list_currencies Get a list of all currencies with ISO codes, symbols, and country usage. Parameters: (no paramete Read list_languages Get a list of all languages with ISO codes and native names. Parameters: (no parameters needed) Read mortgage_calculator Calculate monthly mortgage payments, total interest, and amortization. Parameters: principal — Lo Read paraphrase {d} Read parse_rss_feed Parse RSS or Atom XML feeds into clean JSON with entries. Use this to monitor news feeds, blog updates, o Read process_json Prettify, validate, or minify a JSON string. Use this for debugging, formatting API responses, cleaning u Read research_topic Research any topic and return a structured report with key findings and recommendations. Use this when yo Read reverse_geocode Reverse geocode coordinates to a human-readable address. Uses Nominatim (free, no key). Returns display n Read rewrite_content Rewrite content with AI — change tone, length, audience, or format. Use this to repurpose content for dif Read summarize {d} Read translate {d} Read url_encode_decode Encode or decode URL/URI strings. Use this to safely encode special characters for URLs or decode per Read validate_iban Validate IBAN format and check digit for international bank accounts. Parameters: iban — IBAN num Read validate_vat Validate a VAT number format for EU countries. Parameters: vat — VAT number to validate. Read verify_email Verify whether an email address is valid and deliverable. Use this to validate user-provided email addres Read wallet_balance Check your wallet credit balance. Use this to see how many credits you have remaining. Credits are us Read word_count Count words, characters, sentences, paragraphs, and average word length. Parameters: text — Text Read x402_wallet_info x402_wallet_info

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about X402 Middleware

Can an AI agent move money through the X402 Middleware MCP server? +

Yes. The X402 Middleware server exposes 4 financial tools including wallet_buy, x402_payment_request, x402_pricing. Without a policy, an autonomous agent can call these with no spend caps, no rate limits, and no approval flow. PolicyLayer lets you block financial tools by default, require human approval, or set per-tool rate limits — enforced on every call.

Can an AI agent delete data through the X402 Middleware MCP server? +

Yes. The X402 Middleware server exposes 1 destructive tools including agent_memory. These permanently remove resources with no undo. PolicyLayer blocks destructive tools by default so they never reach the upstream server.

How do I prevent bulk modifications through X402 Middleware? +

The X402 Middleware server has 6 write tools including chat_completion, convert_csv_to_json, convert_json_to_csv. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach X402 Middleware.

How many tools does the X402 Middleware MCP server expose? +

58 tools across 4 categories: Destructive, Execute, Read, Write. 47 are read-only. 11 can modify, create, or delete data.

How do I enforce a policy on X402 Middleware? +

Register the X402 Middleware MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every X402 Middleware tool call.

Deterministic rules across all 58 X402 Middleware tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

58 X402 Middleware tools catalogued and risk-classified — across an index of 46,500+ MCP servers.

// WHERE THIS COMES FROM

These policies come from X402 Middleware's registry record.

The record behind this page: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.