Ophis — Claude Code plugin: what it does, how to install
Hooks your agent to Ophis, an intent-based DEX on CoW Protocol, so it can quote, assemble and send swaps. Your wallet does the signing.
MIT ★ 1,596 updated 2026-10-29
/plugin marketplace add hashgraph-online/awesome-codex-plugins
/plugin install ophis@awesome-codex-pluginsWhat ophis does
The plugin connects an agent to Ophis, an intent-based DEX that settles through CoW Protocol. Installing it registers the hosted MCP endpoint https://mcp.ophis.fi/mcp, which exposes calls for quoting, order building and submission, plus reads on balances, prices, gas and rebate tiers. A skill named ophis-swap comes along and lays out the safe sequence for a trade.
No API key is involved, the endpoint is open. Custody stays with you as well: the server assembles an unsigned order, your wallet signs it, and the server only relays it, with the signer locked in as receiver. Ticker lookup goes through resolve_token, which checks the Ophis/CoW list and fails closed on ambiguity, so a spoofed lookalike does not get through.
You need an EVM wallet able to sign EIP-712 typed data, and one onchain approval per sell token to the CoW Protocol vault relayer from the owning wallet. Without signing rights there is nothing to submit. Only submit_order changes state, the rest read or build. Chains are at different stages, so check list_chains for the live trading set.
What it helps with
- swap tokens from inside the agent chat
- compare an Ophis quote with a public aggregator in basis points
- check balances and portfolio across several chains
- find out which chains accept orders and which are not trading yet
- send an order with no gas cost and no sandwich exposure
Example prompts for the agent
- Swap 100 USDC for ETH on Base through Ophis.
- Quote 1 ETH and tell me how many basis points Ophis beats the public aggregator by.
- List the chains where Ophis accepts orders right now.
How to install ophis
Plugin marketplace
/plugin marketplace add hashgraph-online/awesome-codex-plugins/plugin install ophis@awesome-codex-pluginsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about ophis
How do I install Ophis in Claude Code?
Add the marketplace with /plugin marketplace add hashgraph-online/awesome-codex-plugins, then run /plugin install ophis@awesome-codex-plugins.
What does Ophis do?
It wires the Ophis MCP server and the ophis-swap skill into your agent. The agent can quote, build and submit swap orders on CoW Protocol, and read balances, prices and gas.
Does it need an API key or access to my funds?
There is no API key, the MCP server is public. Funds stay put: the server handles only a signed order, and the signature comes from a wallet that supports EIP-712.
Source text
skills · MIT
# Ophis plugin for Claude Code Give your agent the ability to swap tokens onchain through [Ophis](https://ophis.fi), an intent-based DEX built on CoW Protocol. Trades are MEV-protected, gasless for the trader, and routed for best execution. Installing this plugin does two things: 1. Wires up the Ophis MCP server (`https://mcp.ophis.fi/mcp`) so the agent gets 14 tools to quote, build, validate, and submit swaps and to read balances, prices, gas, and fee-rebate tiers. 2. Adds the `ophis-swap` skill, which teaches the agent the correct, safe order of operations for a trade. ## Why an agent would use Ophis - Keyless. No API key to provision, store, or rotate. The MCP server is public. - Non-custodial. The server never holds your key or your funds. It builds an unsigned order, your wallet signs it, and the server relays the signed order. The receiver is always the signer and cannot be redirected. - MEV-protected and gasless. Orders settle through a solver competition, so the trader pays no gas and is shielded from sandwich attacks. - Safe token resolution. The `resolve_token` tool maps a symbol to its canonical address from the trusted Ophis/CoW token list and fails closed, so an agent never swaps into a token that merely spoofs a well-known symbol. - See the edge. The `expected_surplus` tool compares an Ophis quote against a public reference aggregator and returns the difference in basis points. - Rebate-eligible. Ophis applies a small volume fee and shares a rebate through its referrer program. ## Install ``` /plugin marketplace add ophis-fi/skills /plugin install ophis@ophis-fi ``` Then ask the agent to swap, and it will use the Ophis tools. For example: "swap 100 USDC for ETH on Base." ## What the agent needs - An EVM wallet it controls (an address plus the ability to sign EIP-712 typed data). Ophis only ever receives a signed order; it never sees the key. - A one-time onchain approval per sell token, to the CoW Protocol vault relayer, done from the owner wallet. ## Tools `parse_intent`, `resolve_token`, `list_chains`, `get_quote`, `expected_surplus`, `build_order`, `submit_order`, `lookup_tier`, `get_balances`, `get_portfolio`, `get_gas`, `get_token_chart`. `submit_order` is the only state-changing tool; everything else is read or build only. See `skills/ophis-swap/reference.md` for full schemas. ## Supported chains Ethereum, Optimism, BNB Chain, Gnosis, Unichain, Polygon, Base, Arbitrum, Avalanche, Plasma, Ink, and Linea. Some chains are settlement-deployed but not yet live for trading; `list_chains` reports the authoritative live set. ## Links - App: https://swap.ophis.fi - Site: https://ophis.fi - Contact: [email protected]
© Ophis · MIT · hashgraph-online/awesome-codex-plugins