
MGO — Multi-chain Gas Optimizer
io.github.dlrjsdl200-bytePublished by GitHub account dlrjsdl200-bytev1.2.0Updated Oct 24, 2026
Cheapest EVM chain across up to 9 networks with savings %. Free demo tools, paid tools via x402.
The publisher's own server: Agent.chain.tokyo Address Contracts
Overview
Compares real-time gas prices across up to 9 EVM chains and recommends the cheapest chain for a swap, with free and pay-per-call tools.
- What you can do
- Compare gas prices and get the cheapest-chain recommendation for a DEX swap, with savings versus Ethereum
- Fetch native token USD prices for chains such as ETH, BNB, POL, AVAX and HYPE
- Run free demo queries on 4 chains, rate limited to 10 per hour
- Query paid basic (4 chains) and premium (9 chains) gas reports, either by auto-paying through the x402 SDK or by supplying your own payment header
- When to use it
- Useful before an EVM transaction such as a bridge, deploy or swap, when you want the assistant to route to the lowest-fee chain. Also handy for quick gas and native-token price comparisons across chains.
- Requirements
- Runs locally over stdio, typically launched with npx from the npm package chain-ops-mgo. Free tools need no key or signup. Auto-payment for paid tools needs MGO_PRIVATE_KEY (an EVM key holding USDC on Base) plus the @chain-ops/agent-sdk and viem packages; MGO_MAX_PRICE optionally caps spend per call. Network access to the provider's API is required.
Installation
In SourceWeft
- Open MGO — Multi-chain Gas Optimizer in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
chain-ops-mgo
Multi-chain Gas Optimizer — Compare real-time gas prices across 9 EVM chains and get the cheapest-chain recommendation. Pay-per-call via x402 on Base. No API key, no signup.
When to use: call it before any EVM transaction (bridge, deploy, swap) to route to the lowest-fee chain — e.g. "Use Optimism — saves 97% vs Ethereum". Built for AI agents: one USDC microtransaction per call. Ships as a Node client and a stdio MCP server.
[npm version] [Powered by @chain-ops/agent-sdk] [ClawHub]
MCP server (Claude Desktop, Cursor, any MCP client)
No install needed:
Tools: get_gas_demo, get_cheapest_chain (free), get_gas_basic ($0.001), get_gas_premium ($0.002).
Without MGO_PRIVATE_KEY the paid tools return the x402 payment requirements instead of data. With it (plus @chain-ops/agent-sdk and viem installed) they pay automatically, capped at MGO_MAX_PRICE micro-USDC (default 10000 = $0.01).
Prefer not to run anything? The same tools are hosted at https://api.mgo.chain-ops.xyz/mcp (official MCP Registry: xyz.chain-ops/mgo).
Install (library)
Free endpoints only:
Auto-payment (recommended for paid endpoints):
Quick Start
Free — no payment
Paid — auto-payment via SDK (recommended)
The SDK handles the x402 402-handshake (parse requirements, sign the EIP-3009 USDC authorization, retry). One USDC microtransaction per call ($0.001 basic, $0.002 premium), hard-capped at maxPrice (default $0.01).
Endpoints
Auto-pay options
If @chain-ops/agent-sdk is not installed, the auto-pay functions throw a clear error pointing to the install command. Free functions work without it.
Manual mode (advanced)
If you build your own x402 client, you can supply a pre-built header:
Without a payment header, paid functions throw Error: Payment required with err.status === 402 and err.paymentInfo (the decoded PAYMENT-REQUIRED header: accepts[], resource, ...).
Payment
Uses x402 protocol on Base (eip155:8453) with USDC. No API key, no subscription, no account required.
Links
- API: https://api.mgo.chain-ops.xyz
- Dashboard: https://mgo.chain-ops.xyz
- SDK:
@chain-ops/agent-sdk— the underlying x402 + ERC-8004 client - Remote MCP: https://api.mgo.chain-ops.xyz/mcp
- Source: https://github.com/dlrjsdl200-byte/chain-ops-mgo
- Homepage: https://chain-ops.xyz
License
MIT
Source: README.md at commit 1539937
Tools
0Version history
2- v1.2.0LatestOct 20, 2026
- v1.0.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Chain integrations
Agent.chain.tokyo Address Contracts
tokyo.chain.agentOfficial publisher
Lets an assistant rent a Japan mailing address for an agent: browse locations and floors, create a 55 USDC payment intent, and track contracts and events.

Arki Chain
Published by GitHub account zhuhuo4374
Remote MCP server that gives an assistant on-chain verdicts: whether a token is safe to touch and what one EVM address holds across six chains.

LensExtract x402 On-Chain Data
Published by GitHub account alkeke45-cpu
Connects an assistant to the LensExtract x402 API for web-page extraction and live on-chain and crypto-market data, paid per call in USDC on Base.

Stoa: swaps on Robinhood Chain
Published by GitHub account StoaDex
Stoa's swap router MCP: quote, safety-check and build unsigned swaps on Robinhood Chain, bridge in, and read market context.
Chain Data for Agents (x402)
Published by GitHub account zuo305
Chain Data for Agents (x402)'s hosted MCP server; no sign-in required; Streamable HTTP; 7 tools.