Skip to main content
Glama
@zeromodern/mcp-server-0mod

@zeromodern/mcp-server-0mod

Official
by zeromodern

@zeromodern/mcp-server-0mod

npm TypeScript License: MIT

Model Context Protocol (MCP) server delivering institutional CEX-DEX crypto arbitrage and real-time execution telemetry alongside modular edge developer utilities for any AI agent. Per-call micropayments are settled autonomously on Base USDC via HTTP 402.

Wallet & Network Prerequisites

0mod gateway utilities use x402 HTTP 402 micropayments on Base EVM:

  • Network: Base Mainnet (eip155:8453)

  • Asset: USDC on Base

  • Environment Variable: PAYER_PRIVATE_KEY=0x... (or EVM_PRIVATE_KEY / X402_PRIVATE_KEY)

When PAYER_PRIVATE_KEY is present in the environment, tool calls transparently sign payment authorizations and execute with zero manual intervention.

Related MCP server: x402 Scraper Engine

Requirements

  • Node.js >= 18

  • npm >= 9

Install

npm install @zeromodern/mcp-server-0mod

Setup & Configuration

Claude Desktop (claude_desktop_config.json)

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "0mod": {
      "command": "npx",
      "args": ["-y", "@zeromodern/mcp-server-0mod"],
      "env": {
        "PAYER_PRIVATE_KEY": "0x_your_private_key_here"
      }
    }
  }
}

OpenCode / Cursor / CLI

Run directly via npx:

PAYER_PRIVATE_KEY=0x_your_private_key_here npx -y @zeromodern/mcp-server-0mod

Practical Real-World Example: Claude / Cursor Institutional Feed Client

Connect Claude Desktop, Cursor, or autonomous AI agents directly to institutional-grade execution telemetry without signing a $1,000/month enterprise data contract. Per-call pricing is dynamically settled via HTTP 402 on Base (see api.0mod.com for live endpoint pricing).

See examples/institutional_feed_client.ts for a full runnable script connecting via stdio and querying cross-venue latency and dislocation metrics.

Available Tools

💡 Pricing: Prices below are as listed on the gateway at release time. For live per-call pricing and endpoint status across all tools, visit api.0mod.com or fetch https://api.0mod.com/api/v1/discovery.

Institutional Crypto Telemetry & Execution Analytics

Tool Name

Description

Price / call

Input Schema Example

crypto_dislocations

Cross-venue market dislocation & spread arbitrage events (Coinbase vs Aerodrome)

$0.045

{ "pair": "AERO/USD", "date": "2026-09-14" }

crypto_execution_latency

Benchmark cross-venue execution speed, venue latencies, and fill rates

$0.075

{ "date": "2026-09-14" }

crypto_impact_simulation

Pre-trade impact simulation against live L2 book (VWAP, slippage, fill ratio)

$0.075

{ "pair": "AERO/USD", "side": "buy", "size_usd": 5000 }

crypto_spread_candles

Cross-venue CEX-DEX 15m spread candles (OHLC raw & net bps)

$0.015

{ "pair": "AERO/USD", "date": "2026-09-14" }

crypto_coverage

Query active coverage, supported token pairs (13+ pairs), and date boundaries

free

{ "pair": "AERO/USD" }

Modular Edge Utilities & Developer Tools

Tool Name

Description

Price / call

Input Schema Example

dex_price_summary

Real-time DEX token price, volume, liquidity across chains

$0.0015

{ "query": "USDC" }

stealth_dom

Headless edge web page fetch (HTML or clean Markdown)

$0.004

{ "url": "https://example.com" }

airgap_scrub

Redact SSN, credit cards, phones, emails via Workers AI

$0.004

{ "text": "Call me at 555-0199" }

domain_check

Query global RDAP registry for domain availability & nameservers

$0.008

{ "domain": "example.com" }

image_ocr_shrink

Vision OCR text and table extraction from images

$0.008

{ "imageUrl": "https://..." }

Crypto Telemetry — Usage Example: crypto_impact_simulation

crypto_impact_simulation — Pre-Trade Impact Simulation

Pre-trade impact check against the live L2 book: expected fill price (VWAP), slippage (bps), fillable size, and fill-probability estimates for a hypothetical order. Read-only PAPER simulation — no order is placed and no custody is touched. Provide size_usd or size_base.

Request (tool call):

{
  "tool": "crypto_impact_simulation",
  "arguments": {
    "pair": "AERO/USD",
    "side": "buy",
    "size_usd": 5000
  }
}

Response (simulation fields):

{
  "expected_fill_price": 1.2843,
  "slippage_bps": 11.6,
  "fillable_size_base": 3900.5,
  "fillable_size_usd": 5009.4,
  "fill_ratio": 0.98,
  "full_fill_probability": 0.94,
  "partial_fill_probability": 0.05,
  "executable": true,
  "levels_consumed": 4
}

Ecosystem Packages

Smithery

This server is registered on Smithery for one-click deployment.

Troubleshooting

  • Server not connecting: Verify your MCP client supports stdio transport. Check that PAYER_PRIVATE_KEY is passed in the env block.

  • Authentication / Payment errors: Ensure PAYER_PRIVATE_KEY is set with a valid Base EVM private key holding a USDC balance for x402 micropayments.

  • Timeout errors: Micropayment verification on Base adds network latency. Increase your MCP client's request timeout if needed.

Release Process

Releases are cut manually by the owner via a GitHub Release — publishing to npm is triggered by creating the Release, and the owner chooses the major/minor/patch bump. See RELEASING.md for the full steps.

License

MIT

Available Tools

10 tools
airgap_scrubB

Redact SSN, phone, email, and ZIP codes using Workers AI

Inputs: text (required).

crypto_coverageA

Check data coverage, supported pairs, and date boundaries for crypto telemetry

Inputs: pair.

crypto_dislocationsC

Fetch cross-venue market dislocation and spread arbitrage events for a token pair

Inputs: pair (required), date, time.

crypto_execution_latencyB

Benchmark cross-venue execution speed, venue latencies, and fill rates

Inputs: date, time, venue.

crypto_impact_simulationA

Pre-trade impact simulation against the live L2 book: expected fill price (VWAP), slippage (bps), fillable size, and fill-probability estimates. Read-only PAPER simulation — no order is placed.

Inputs: pair (required), side (required), size_usd, size_base.

crypto_spread_candlesB

Fetch cross-venue CEX-DEX spread candles (OHLC) for a token pair

Inputs: pair (required), date, time, interval.

dex_price_summaryA

Fetch real-time DEX price, 24h volume, liquidity, and top pair stats across chains

Inputs: query (required).

domain_checkA

Query global RDAP registry from edge for domain availability and WHOIS status

Inputs: domain (required).

image_ocr_shrinkA

Extract clean text and table markdown from images via Workers AI Vision Llama 3.2

Inputs: imageUrl (required).

stealth_domA

Fetch web pages from Cloudflare edge bypassing simple IP blocks

Inputs: url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 10 tools

    Disambiguation4/5

    The six crypto_* tools mostly target distinct operations (coverage, spread candles, dislocations, latency, impact simulation), though crypto_spread_candles and crypto_dislocations overlap somewhat since both concern cross-venue spreads. The four non-crypto utilities (airgap_scrub, domain_check, image_ocr_shrink, stealth_dom) are each clearly distinct in purpose. No two tools appear to do the same thing, so misselection risk is low.

    Naming Consistency3/5

    There is a loose domain-prefix convention (crypto_, dex_, domain_, image_, stealth_, airgap_) but the suffix styles vary between noun phrases (crypto_coverage, dex_price_summary, domain_check) and verb phrases (airgap_scrub, image_ocr_shrink, stealth_dom). The result is readable but not a predictable verb_noun pattern throughout. Mixed conventions keep this mid-range.

    Tool Count4/5

    Ten tools is a reasonable, well-scoped count with no redundancy or bloat. However, the set is a grab-bag that bundles crypto telemetry with unrelated utility functions, so the count is appropriate per-tool but the server's scope is unfocused. Slightly over/under rather than a clean fit.

    Completeness3/5

    For crypto telemetry the surface covers coverage, spreads, dislocations, latency, impact simulation, and DEX pricing, which is decent, but there is no historical OHLC retrieval, order-book snapshot, or order execution to complete the workflow. The four utility tools are standalone one-shot operations with no lifecycle coverage (e.g. no domain registration or batch OCR). Notable gaps exist across both halves of the server.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables machine-payable, zero-subscription AI utility tools via HTTP 402 on Base and Solana, including markdown web scraping, prompt injection detection, Solana token audits, and domain intelligence.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI agents to access pay-per-call web unlocking, structured extraction, clean scraping, Python sandbox execution, persistent key-value memory, and clearinghouse task bounties, with settlement via Bitcoin Lightning L402 or Base/Solana USDC x402.
      15
      149 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to autonomously pay for metered web APIs on a per-call basis, settling x402 v2 USDC micropayments via EIP-3009 authorization on Base Sepolia without human involvement. Spending is bounded by configurable per-call caps and host restrictions, and exposes tools to fetch paywalled URLs and inspect the agent wallet's address and balance.
      MIT