@zeromodern/mcp-server-0mod
Official@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-0modSetup & 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-0modAvailable 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 |
| Headless web page fetch from Cloudflare edge |
|
| Redact SSN, phone, email, ZIP via Workers AI |
|
| Strip HTML boilerplate to clean Markdown for RAG |
|
| Remove comments, docstrings, sourcemaps from code |
|
| Query RDAP registry for domain availability |
|
| Real-time DEX token price, volume, liquidity |
|
| Social & market sentiment scoring |
|
| Vision OCR text and table extraction |
|
| 768-dim text embedding generation |
|
| 1024-dim multilingual text embedding generation |
|
| Executive TL;DR document summarization |
|
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