MCP Simulate logo

MCP Simulate

Simulates Ethereum mainnet and Sepolia transactions through Crypto APIs without broadcasting them.

Install MCP Simulate

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-simulate": {
      "command": "npx",
      "args": [
        "-y",
        "@cryptoapis-io/mcp-simulate"
      ],
      "env": {
        "CRYPTOAPIS_API_KEY": "YOUR_VALUE_HERE",
        "MCP_AUTH_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env CRYPTOAPIS_API_KEY=YOUR_VALUE_HERE --env MCP_AUTH_TOKEN=YOUR_VALUE_HERE --transport stdio mcp-simulate -- npx -y @cryptoapis-io/mcp-simulate

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @cryptoapis-io/mcp-simulate

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

mcp-simulate connects MCP clients to Crypto APIs' Simulate product for dry-run Ethereum transaction execution. Its `simulate_evm` tool accepts transaction details and returns previews including gas usage and state changes without broadcasting. It supports Ethereum mainnet and Sepolia, using either stdio or HTTP transport. Reach for it when an agent needs to validate or inspect a transaction before submission.

Use cases

  • Preview Ethereum contract calls before broadcasting
  • Estimate gas usage for mainnet or Sepolia transactions
  • Inspect predicted state changes from a transaction
  • Validate transaction parameters in an agent workflow

Key features

  • Dry-run Ethereum transaction simulation
  • Support for mainnet and Sepolia
  • Gas usage and state-change previews
  • stdio and HTTP MCP transports
  • Startup-key and per-request API-key modes

Tools1

What MCP Simulate lets your agent do. Expand a tool for its parameters.

Self-reported~31 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

31/31 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · @cryptoapis-io/mcp-simulate (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads588Package downloads in the last 30 days.
Last commit22d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed1Callable tools this server registers over MCP.

How MCP Simulate works

What mcp-simulate does

mcp-simulate exposes Crypto APIs' Ethereum transaction simulation endpoint through the Model Context Protocol. Agents can submit a transaction as a dry run and inspect the predicted outcome without sending it to the network. The service is intended for pre-broadcast checks, such as reviewing gas consumption, contract-call behavior, and resulting state changes.

The server is Ethereum-only. Its supported networks are mainnet and Sepolia; the underlying Crypto APIs endpoint does not accept a blockchain selector for other chains.

How it works

The server provides one MCP tool, simulate_evm. A caller supplies the target network, sender and recipient addresses, native-coin value, optional contract call data, gas limit, and gas price. mcp-simulate forwards the request to Crypto APIs and returns the simulation result to the MCP client.

By default, the process uses stdio transport, which is suitable for local MCP clients. It can also run an HTTP MCP endpoint. HTTP listens on 127.0.0.1 by default, uses port 3000, and serves the MCP endpoint at /mcp. The host, port, path, and stateless HTTP behavior can be changed with command-line options.

Setup and configuration

Node.js 18 or newer and a Crypto APIs account with an API key are required. Install the package with:

Terminal
npm install @cryptoapis-io/mcp-simulate

Run it with a startup key using either the --api-key option or CRYPTOAPIS_API_KEY:

Terminal
npx @cryptoapis-io/mcp-simulate --api-key YOUR_API_KEY

Claude Desktop and Cursor can launch the package with npx and provide CRYPTOAPIS_API_KEY in their MCP configuration. HTTP mode is enabled with --transport http; --port changes the listening port. When binding beyond localhost, use --allowed-hosts to restrict accepted Host headers and protect the endpoint. A remote HTTP deployment using a fixed API key should also require a bearer token through MCP_AUTH_TOKEN or --auth-token.

HTTP deployments support two API-key patterns. Supplying --api-key makes the server use that key for every request. Omitting it makes each caller send its own x-api-key header, which supports per-request credentials. Stdio mode requires an API key when the process starts.

Tools and capabilities

simulate_evm

Simulates an Ethereum transaction on mainnet or sepolia. Parameters include:

  • network
  • fromAddress
  • toAddress
  • value, specified in the native coin
  • data, containing hexadecimal contract-call data
  • gasLimit
  • gasPrice

The returned preview can include transaction results, gas usage, and state changes.

Limitations and notes

A valid Crypto APIs key should be configured before making requests. Invalid or missing credentials may result in an IP ban from the Crypto APIs ecosystem. The tool cannot simulate non-Ethereum blockchains, and the endpoint does not expose a blockchain parameter.

The package is available under the MIT license. Crypto APIs also operates a hosted MCP endpoint at https://ai.cryptoapis.io/mcp, which provides its available tools over HTTP Streamable transport and accepts the API key through the x-api-key header.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Simulate

mcp-simulate is an MCP server that connects AI clients to Crypto APIs' Simulate product for dry-run Ethereum transactions. Its main tool, `simulate_evm`, accepts transaction details for Ethereum mainnet or Sepolia and returns predicted results, gas usage, and state changes without broadcasting the transaction.

Install it with `npm install @cryptoapis-io/mcp-simulate`, then run it with `npx @cryptoapis-io/mcp-simulate --api-key YOUR_API_KEY`. Node.js 18 or newer and a Crypto APIs account with a valid API key are required.

Yes, mcp-simulate works with Cursor through its MCP configuration. Add an entry that launches `npx -y @cryptoapis-io/mcp-simulate` and set `CRYPTOAPIS_API_KEY` in the entry's environment.

Run `npx @cryptoapis-io/mcp-simulate --transport http --port 3000 --api-key YOUR_API_KEY`; the MCP endpoint is then available at `http://127.0.0.1:3000/mcp`. Use `--host`, `--allowed-hosts`, and an authentication token when accepting connections beyond localhost.

No, mcp-simulate supports Ethereum only, specifically mainnet and Sepolia. Its `simulate_evm` endpoint has no blockchain parameter for selecting other networks.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Simulate AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-simulate?style=directory)](https://allmcps.com/mcp/mcp-simulate)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-simulate"><img src="https://allmcps.com/api/badge/mcp-simulate?style=directory" alt="MCP Simulate on AllMCPs" /></a>