@zeromodern/mcp-server-0mod
Wraps the 0mod API Gateway to provide tools for web scraping, data redaction, code cleaning, domain checks, DEX pricing, sentiment analysis, OCR, embeddings, and summarization, with automatic handling of HTTP 402 micropayments.
README
@zeromodern/mcp-server-0mod
Model Context Protocol (MCP) server wrapping the 0mod API Gateway edge tools for any AI agent. HTTP 402 micropayments on Base EVM are handled automatically.
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...(orEVM_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.
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
Available Tools
💡 Pricing: For live per-call pricing and endpoint status across all tools, visit api.0mod.com or fetch
https://api.0mod.com/api/v1/discovery.
| Tool Name | Description | Input Schema Example |
|---|---|---|
stealth_dom |
Headless web page fetch from Cloudflare edge | { "url": "https://example.com" } |
airgap_scrub |
Redact SSN, phone, email, ZIP via Workers AI | { "text": "Call me at 555-0199" } |
rag_shrink |
Strip HTML boilerplate to clean Markdown for RAG | { "html": "<html>...</html>" } |
code_denoise |
Remove comments, docstrings, sourcemaps from code | { "code": "const x = 1;" } |
domain_check |
Query RDAP registry for domain availability | { "domain": "example.com" } |
dex_price_summary |
Real-time DEX token price, volume, liquidity | { "query": "USDC" } |
x_sentiment |
Social & market sentiment scoring | { "topic": "crypto market" } |
image_ocr_shrink |
Vision OCR text and table extraction | { "imageUrl": "https://..." } |
embed_text |
768-dim text embedding generation | { "text": "sample text" } |
embed_multilingual |
1024-dim multilingual text embedding generation | { "text": "sample text" } |
summarize_text |
Executive TL;DR document summarization | { "text": "long text string" } |
Ecosystem Packages
- 🤖 MCP Server (Any AI Agent):
@zeromodern/mcp-server-0mod - 🟣 ElizaOS Plugin:
@zeromodern/eliza-plugin-0mod - 🔵 Coinbase AgentKit Provider:
@zeromodern/agentkit-provider-0mod - ⚡️ Live Gateway Service: api.0mod.com
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_KEYis passed in theenvblock. - Authentication / Payment errors: Ensure
PAYER_PRIVATE_KEYis 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.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.