Preconfirmed transactions, gasless swaps, and programmable USDC payments. Everything your agent needs to operate on Ethereum — with sub-second guarantees.
Copy and run in your terminal to install the Primev plugin for Claude Code:
claude plugin add primev/claude-pluginInstall once — your agent gets three skills and 11 MCP tools for Ethereum preconfirmations, swaps, and payments.
Send preconfirmed transactions, check commitments, and query chain state via FAST RPC.
“Send 0.1 ETH to vitalik.eth with a preconfirmation guarantee”
claude plugin add primev/claude-pluginExecute instant gasless ERC-20 swaps with EIP-712 intents and direct ETH swaps.
“Do a fast swap of 500 USDC to WETH on Ethereum mainnet”
claude plugin add primev/claude-pluginExecute agentic USDC payments — sign EIP-3009 authorizations, settle, and verify.
“Pay 5 USDC to access this x402-protected API endpoint”
claude plugin add primev/claude-pluginThe plugin auto-registers an MCP server with 11 tools — including preconfirmation-specific methods. No API keys, no costs.
| Tool | Description |
|---|---|
| eth_sendRawTransaction | Send a preconfirmed transaction with builder commitment |
| mevcommit_getTransactionCommitments | Get preconfirmation commitments for a transaction |
| mevcommit_optInBlock | Time until next mev-commit opted-in validator block |
| mevcommit_cancelTransaction | Cancel a pending preconfirmation attempt |
| eth_getTransactionReceipt | Check if a preconfirmed tx landed on-chain |
| eth_blockNumber | Current Ethereum block number |
| eth_getBalance | ETH balance of any address |
| eth_gasPrice | Current gas price in gwei |
| eth_chainId | Chain ID (Ethereum mainnet) |
Try saying
“Send 0.5 ETH to 0xd8dA... with a preconfirmation”
“Get the preconfirmation commitments for tx 0xabc...”
“When is the next mev-commit opted-in block?”
“Cancel the preconfirmation attempt for tx 0xdef...”
claude plugin add primev/claude-pluginSend your first preconfirmed transaction, execute a gasless swap, or make an agent payment — all with a few lines of code.
$ claude plugin add primev/claude-plugin
Installed primev v1.0.0 (3 skills, 1 MCP server)
$ claude
> What's the current Ethereum block number and gas price?
Using eth_blockNumber...
Using eth_gasPrice...
Current block: 22,148,302
Gas price: 1.24 gwei
> Send 0.1 ETH to 0xd8dA6BF2...96045 with preconfirmation
Using eth_sendRawTransaction...
Transaction sent and preconfirmed!
Hash: 0x3a7f...c291
Builder commitment received — included in next block.
> Check what payment assets the x402 facilitator supports
Using x402_supported...
Supported: USDC on Ethereum mainnet (eip155:1)
Scheme: exact | x402 Version: 2Primev follows the llms.txt standard — a structured file that helps LLMs understand our products, APIs, and integration points without scraping.
Like robots.txt tells search engines how to crawl a site, llms.txt tells AI models what a site offers. It lists products, APIs, documentation links, and integration guides in a structured markdown format that LLMs can parse directly.