trackmcp
Back to directory
Br0ski777

x402-agent-tools

View on GitHub

103 production-ready AI agent tools with x402 micropayments. 3-17x cheaper than StableEnrich. Hyperliquid, prediction markets, B2B enrichment, DeFi, security. Pay-per-call USDC on Base. npm: x402-agent-tools

23 stars TypeScriptOthers Updated Sep 2, 2026

Documentation

x402-agent-tools

100 production-ready AI agent tools with x402 micropayments. Pay-per-call USDC on Base. Zero API keys. Zero subscriptions. Just a wallet.

The largest collection of x402-compatible tools for autonomous AI agents. Built for LangChain, Vercel AI SDK, CrewAI, AutoGPT, and any agent framework that supports tool calling.

> 3-17x cheaper than StableEnrich, httpay, BlockRun, and Nansen. Same data. Fraction of the cost. See benchmark.

Why x402-agent-tools?

Featurex402-agent-toolsStableEnrichhttpayBlockRun
Tools available102~12~8~15
Avg price/call$0.003$0.01-0.05$0.01-0.03$0.01-0.05
API keys neededNoneYesYesYes
SubscriptionNoneMonthlyMonthlyMonthly
Hyperliquid data7 APIs000
Prediction markets2 APIs000
PaymentUSDC on BaseUSDCUSDCUSDC
Framework supportLangChain, AI SDKCustomCustomCustom

Install

bash
npm install x402-agent-tools @x402/fetch @x402/evm viem

Quick Start — 3 Lines to Your First Call

typescript
import { createClient } from "x402-agent-tools";

const client = createClient("0xYourPrivateKey");

// Crypto: whale positions on Hyperliquid
const whales = await client.call("hyperliquid_whales", { coin: "BTC" });

// B2B: enrich a company from domain
const company = await client.call("company_enrichment", { domain: "stripe.com" });

// Security: trust score any domain
const trust = await client.call("trust_score", { target: "example.com" });

// DeFi: best bridge route across 60+ chains
const route = await client.call("bridge_routes", {
  fromChain: "1", toChain: "8453", token: "USDC", amount: "1000000"
});

Vercel AI SDK Integration

Use this when building AI agents with Vercel AI SDK. Returns all 102 tools as Vercel-compatible tool objects with automatic x402 payment handling.

typescript
import { createClient } from "x402-agent-tools";
import { getX402Tools } from "x402-agent-tools/ai-sdk";
import { generateText } from "ai";
import { anthropic } from "@ai-sdk/anthropic";

const client = createClient("0xYourPrivateKey");

const { text } = await generateText({
  model: anthropic("claude-sonnet-4-20250514"),
  tools: getX402Tools(client),
  prompt: "What are the current funding rates on Hyperliquid for BTC and ETH? Also check if there are any liquidation levels near current prices on Aave.",
});

Filter by category or specific tools

typescript
// Only Hyperliquid + DeFi tools (ideal for trading agents)
const tradingTools = getX402Tools(client, {
  categories: ["hyperliquid", "defi", "crypto"]
});

// Only specific tools you need
const researchTools = getX402Tools(client, {
  tools: ["web_scraper", "web_search", "fact_checker", "research_report"]
});

LangChain.js Integration

Use this when building agents with LangChain.js. Returns DynamicStructuredTool instances compatible with all LangChain agent types.

typescript
import { createClient } from "x402-agent-tools";
import { getX402LangChainTools } from "x402-agent-tools/langchain";
import { ChatAnthropic } from "@langchain/anthropic";
import { AgentExecutor, createToolCallingAgent } from "langchain/agents";

const client = createClient("0xYourPrivateKey");
const tools = getX402LangChainTools(client);

const llm = new ChatAnthropic({ model: "claude-sonnet-4-20250514" });
const agent = createToolCallingAgent({ llm, tools, prompt: yourPrompt });
const executor = new AgentExecutor({ agent, tools });

await executor.invoke({
  input: "Find the top whale positions on Hyperliquid BTC, check token safety for the top traded token, then summarize the findings."
});

Direct HTTP (No SDK Needed)

Every tool is also available as a standalone x402 HTTP endpoint. Use `@x402/fetch` directly:

typescript
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount("0xYourPrivateKey");
const paidFetch = wrapFetchWithPaymentFromConfig(fetch, {
  schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }],
});

// trust_score is POST /api/score. GET tools (e.g. dex_quotes -> /api/quote) take query params.
const response = await paidFetch("https://trust-score.api.klymax402.com/api/score", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ target: "example.com" }),
});
const result = await response.json();

All 102 Tools

Hyperliquid Suite — 7 tools

*#1 Hyperliquid data provider on x402. Complete DEX coverage.*

ToolPriceWhat it returns
`hyperliquid_data`$0.003Perp markets: prices, open interest, 24h volume, orderbook depth for 229 markets
`hyperliquid_whales`$0.008Whale positions: sizes, PnL, entry prices, leverage
`hl_vaults`$0.008Vault summaries: APR, TVL, PnL, depositor count
`hl_funding`$0.002Funding rates: current, 1h, 8h, 24h with arb scanner
`hl_portfolio`$0.008Account analysis: positions, PnL, fills, open orders, funding
`hl_spot`$0.005454 spot tokens: prices, volume, wallet balances

Prediction Markets — 2 tools

ToolPriceWhat it returns
`prediction_markets`$0.012Active events from Polymarket + Kalshi: probabilities, volume, trending
`event_resolver`$0.012Settlement oracle: resolve outcomes, verify claims, check thresholds

Crypto & DeFi — 16 tools

ToolPriceWhat it returns
`wallet_portfolio`$0.008Multi-chain wallet balances and token holdings
`gas_oracle`$0.003Gas prices: fast/standard/slow for any EVM chain
`gas_estimator`$0.005Multi-chain gas comparison in one call
`dex_quotes`$0.012Best swap quotes across DEXs with price impact
`token_price`$0.003Real-time crypto prices via CoinGecko
`defi_yields`$0.005Best DeFi yields: APY, TVL, risk scores
`whale_alert`$0.008Large crypto transactions and whale movements
`crypto_news`$0.005Crypto news with sentiment scores
`funding_arb`$0.002Funding rate arbitrage across exchanges
`funding_rates`$0.001Scan all perps ranked by funding, or one asset across Binance, Bybit, OKX
`ens_resolver`$0.005ENS name resolution and reverse lookup
`token_holders`$0.012Token holder distribution: whale count, concentration
`token_ohlcv`$0.005Historical OHLCV candles
`airdrop_checker`$0.012Check wallet eligibility for active airdrops
`bridge_routes`$0.008Best cross-chain bridge routes via LI.FI (60+ chains)
`currency_converter`$0.003Fiat (ECB) and crypto (CoinGecko) conversion

DeFi Advanced — 3 tools

ToolPriceWhat it returns
`base_defi`$0.008Base chain yields: Aerodrome LP, Moonwell lending
`liquidation_oracle`$0.003Liquidation levels: Aave, Compound, Morpho positions
`orderbook_depth`$0.012Uniswap V3 liquidity depth and slippage estimation

NFT — 3 tools

ToolPriceWhat it returns
`nft_collection`$0.012Collection floor price, volume, holders, rarity
`nft_rarity`$0.008Token rarity rank, score, trait floor prices
`nft_metadata`$0.008NFT metadata: name, image, attributes, collection info

Solana — 4 tools

ToolPriceWhat it returns
`solana_launches`$0.008New token launches: pump.fun, Raydium
`jupiter_quotes`$0.005Jupiter aggregator swap quotes
`solana_fees`$0.003Priority fee estimates at 6 levels
`solana_pools`$0.008DEX pool liquidity: Raydium, Orca, Meteora

Trust & Security — 8 tools

ToolPriceWhat it returns
`trust_score`$0.02Unified trust scoring 0-100: domains, wallets, APIs
`token_safety`$0.008Rug pull detection: honeypot, liquidity, ownership
`domain_intelligence`$0.012Full domain intel: DNS, WHOIS, SSL, registrar
`ssl_checker`$0.005SSL/TLS cert: validity, expiry, chain, grade
`http_headers`$0.003HTTP security headers: HSTS, CSP, server detection
`port_scanner`$0.008TCP port scan: open/closed, response time
`password_strength`$0.003Password score 0-100, entropy, crack time
`jwt_decoder`$0.003JWT decode: header, payload, claims, expiry

B2B Enrichment — 6 tools

ToolPriceWhat it returns
`email_verification`$0.005Email validation: syntax, MX, disposable, score 0-100
`company_enrichment`$0.02Company data: industry, size, tech, social, founded
`person_enrichment`$0.02Person data: name, role, company, social, location
`email_finder`$0.012Find email from name + domain
`tech_enrichment`$0.01250+ technologies detected on any website
`social_profile`$0.015Social profiles: Twitter, GitHub, LinkedIn, YouTube

Email — 2 tools

ToolPriceWhat it returns
`email_deliverability`$0.012Deliverability audit: SPF, DKIM, DMARC, score 0-100

Web & SEO — 6 tools

ToolPriceWhat it returns
`web_scraper`$0.012URL to clean markdown, headless rendering
`seo_analyzer`$0.06Full SEO audit: meta, headings, schema, score 0-100
`screenshot_pdf`$0.015Screenshots (PNG/JPEG/WebP) and PDF capture
`web_search`$0.008Web search: title, URL, snippet, 10 results
`keyword_research`$0.02SEO keywords: Google Suggest, intent, long-tail
`webhook_tester`$0.005Test webhooks: custom methods, headers, latency

Social — 1 tool

ToolPriceWhat it returns
`twitter_scraper`$0.012Twitter/X profiles, search, timelines. No API key

Network — 3 tools

ToolPriceWhat it returns
`dns_lookup`$0.005DNS records: A, MX, TXT, CNAME via Cloudflare DoH
`ip_geolocation`$0.008IP geolocation: country, city, ISP, VPN detection
`ip_geolocation_batch`$0.02Batch geolocate up to 20 IPs

NLP — 5 tools

ToolPriceWhat it returns
`ai_summarizer`$0.03Summarize text/URLs -- fast extractive summarization
`sentiment_analyzer`$0.015Sentiment, emotions, confidence scores
`text_translator`$0.012Translate 50+ languages with auto-detection
`text_classifier`$0.012Topic classification, readability, content type
`language_detector`$0.005Language detection: 30+ languages, script, confidence

Finance — 1 tool

ToolPriceWhat it returns
`stock_price`$0.005Real-time stock quotes: price, change, volume, mcap

Media — 3 tools

ToolPriceWhat it returns
`image_resize`$0.008Resize images: dimensions, format conversion
`ocr_extract`$0.012OCR text extraction from images
`text_to_speech`$0.012Text to speech: 20+ languages, MP3 output

Text Processing — 8 tools

ToolPriceWhat it returns
`diff_checker`$0.005Line-by-line text diff with similarity score
`word_counter`$0.003Words, chars, sentences, paragraphs, reading time
`lorem_ipsum`$0.003Placeholder text: paragraphs, sentences, words
`slug_generator`$0.003URL-friendly slugs with transliteration
`regex_tester`$0.003Regex testing: matches, groups, explanations
`html_to_markdown`$0.003HTML to clean Markdown conversion
`markdown_to_html`$0.003Markdown to HTML conversion
`markdown_renderer`$0.005Markdown to styled HTML (light/dark/GitHub themes)

Research — 2 tools

ToolPriceWhat it returns
`fact_checker`$0.012Verify claims with evidence and sources
`research_report`$0.06Multi-source research reports in markdown

Compliance — 2 tools

ToolPriceWhat it returns
`gdpr_scanner`$0.03GDPR compliance: consent, privacy, trackers
`pii_detector`$0.012PII detection: emails, SSNs, credit cards, redaction

Validation — 5 tools

ToolPriceWhat it returns
`phone_validation`$0.008Phone validation: carrier, line type, E.164
`phone_validation_batch`$0.035Batch validate up to 50 phones
`sms_validator`$0.005SMS-capable validation with carrier type
`address_validator`$0.008Postal address parsing and normalization
`json_validator`$0.003JSON syntax + schema validation

Developer — 1 tool

ToolPriceWhat it returns
`code_sandbox`$0.02Execute Python/JS/SQL in sandbox with output

Generators — 5 tools

ToolPriceWhat it returns
`qr_code`$0.003QR codes as base64 PNG
`barcode_generator`$0.003Barcodes: EAN-13, UPC-A, Code128, Code39
`hash_generator`$0.003MD5, SHA1, SHA256, SHA512, bcrypt hashes
`uuid_generator`$0.003UUID v4, v7, ULID, nanoid (batch 100)
`color_palette`$0.003Harmonious color palettes from hex

Documents — 1 tool

ToolPriceWhat it returns
`pdf_generator`$0.015PDF from HTML/Markdown with custom layout

Utility — 8 tools

ToolPriceWhat it returns
`base64_codec`$0.003Base64 encode/decode (standard + URL-safe)
`csv_to_json`$0.003CSV to JSON with auto-detect delimiter
`cron_parser`$0.003Parse cron expressions with next run times
`crontab_generator`$0.003Natural language to cron expression
`timezone_converter`$0.003Datetime conversion between IANA timezones
`unit_converter`$0.003Length, weight, temp, volume, speed conversion
`url_shortener`$0.003URL shortening with custom aliases
`user_agent_parser`$0.003Parse user agent: browser, OS, device, bot

Data — 2 tools

ToolPriceWhat it returns
`weather`$0.003Current weather + 7-day forecast
`vector_search`$0.012TF-IDF cosine similarity document search

How x402 Payment Works

code
Your Agent                    x402-agent-tools                  API Server
    |                              |                                |
    |-- call("trust_score", {})  ->|                                |
    |                              |-- POST /api/score ------------>|
    |                              ||
    |                              |= 18
- A wallet with USDC on Base L2 (even $1 gets you 100-1000+ calls)
- Private key for signing payments (use a dedicated agent wallet, **not** your main wallet)

## AI Discovery

klymax402 publishes a machine-readable catalog for AI systems and LLM crawlers:

- **llms.txt**: [klymax402.com/llms.txt](https://klymax402.com/llms.txt) — full API catalog in llms.txt format (99 APIs, pricing, MCP install snippets, x402 payment reference)
- **MCP endpoint**: `https://klymax402.com/mcp` — self-hosted MCP gateway, all 99 APIs, Streamable HTTP
- **Live stats**: [klymax402.com/stats](https://klymax402.com/stats/) — 99.9% uptime, P50 57ms, P95 104ms, 766 txs on-chain

Compatible with Claude, Claude Code, Cursor, Codex, and ElizaOS (plugin: `eliza-plugin-klymax402`).

## Links

- [klymax402.com](https://klymax402.com) — marketplace homepage
- [llms.txt](https://klymax402.com/llms.txt) — AI-readable catalog
- [Live stats](https://klymax402.com/stats/) — real-time dashboard
- [GitHub](https://github.com/Br0ski777/x402-agent-tools)
- [x402 Protocol](https://www.x402.org/)
- [x402scan Analytics](https://www.x402scan.com/)

## License

MIT

Frequently asked questions

What is x402-agent-tools?

x402-agent-tools is 103 production-ready AI agent tools with x402 micropayments. 3-17x cheaper than StableEnrich. Hyperliquid, prediction markets, B2B enrichment, DeFi, security. Pay-per-call USDC on Base. npm: x402-agent-tools

How do I install x402-agent-tools?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is x402-agent-tools open source?

Yes — it is hosted on GitHub at https://github.com/Br0ski777/x402-agent-tools and has 23 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP