Finance · Developer Tools

Foundry MCP Server logo

Foundry MCP Server

PraneshASP/foundry-mcp-server

A simple, lightweight and fast MCP (Model Context Protocol) server that provides Solidity development capabilities using the Foundry toolchain (Forge, Cast, and Anvil).

Install

npx @pranesh.asp/foundry-mcp-server

Client configuration

{
  "mcpServers": {
    "server": {
      "command": "npx",
      "args": [
        "@pranesh.asp/foundry-mcp-server"
      ],
      "env": {
        "RPC_URL": "<RPC_URL>",
        "PRIVATE_KEY": "<PRIVATE_KEY>"
      }
    }
  }
}

Environment variables

RPC_URLPRIVATE_KEY
GitHub stars
99
Category
Finance, Developer Tools
Updated
Oct 6, 2026

Features

  • Start and manage local Anvil instances

  • Connect to any remote network (just specify the RPC)

  • Get network/chain information

  • Call contract functions (read-only)

  • Send transactions to contracts (if PRIVATE_KEY is configured)

  • Get transaction receipts

  • Read contract storage

  • Analyze transaction traces

  • Retrieve contract ABIs and sources from block explorers

  • Maintain a dedicated Forge workspace

Tools (26)

  • anvil_start

    Start a new Anvil instance

  • anvil_stop

    Stop a running Anvil instance

  • anvil_status

    Check if Anvil is running and get its status

  • cast_call

    Call a contract function (read-only)

  • cast_send

    Send a transaction to a contract function

  • cast_balance

    Check the ETH balance of an address

  • cast_receipt

    Get the transaction receipt

  • cast_storage

    Read contract storage at a specific slot

  • cast_run

    Run a published transaction in a local environment

  • cast_logs

    Get logs by signature or topic

  • cast_sig

    Get the selector for a function or event signature

  • cast_4byte

    Lookup function or event signature from the 4byte directory

  • cast_chain

    Get information about the current chain

  • forge_script

    Run a Forge script from the workspace

  • install_dependency

    Install a dependency for the Forge workspace

  • create_solidity_file

    Create or update a Solidity file in the workspace

  • read_file

    Read the content of a file from the workspace

  • convert_eth_units

    Convert between EVM units (wei, gwei, hex)

  • compute_address

    Compute the address of a contract that would be deployed

  • contract_size

    Get the bytecode size of a deployed contract

  • estimate_gas

    Estimate the gas cost of a transaction

  • heimdall_disassemble

    Disassemble EVM bytecode into human-readable opcodes

  • heimdall_decode

    Decode raw calldata without requiring ABI

  • heimdall_decompile

    Decompile EVM bytecode to Solidity source code and ABI

  • heimdall_cfg

    Generate visual control flow graph for EVM bytecode

  • heimdall_inspect

    Detailed inspection of Ethereum transactions

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux
Windsurf logo

Windsurf

Desktop · Freemium · Proprietary

The first agentic IDE. The Windsurf editor truly merges how developers and AI work together.

WindowsMacOSLinux

Related MCP servers

More servers
Stripe Agent Toolkit logo

Stripe Agent Toolkit

stripe/agent-toolkit

677

It contains a collection of SDKs to help you integrate Stripe with LLMs and agent frameworks, including.

Finance
Awesome Web3 MCP Servers logo

Awesome Web3 MCP Servers

demcp/awesome-web3-mcp-servers

405

MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.

Finance
Financial Datasets logo

Financial Datasets

financial-datasets/mcp-server

225

This is a Model Context Protocol (MCP) server that provides access to stock market data from Financial Datasets.

Finance
lyraios logo

lyraios

GalaxyLLMCI/lyraios

216

LYRAI is a Model Context Protocol (MCP) operating system for multi-AI AGENTs designed to extend the functionality of AI applications (such as Claude Desktop and Cursor) by enabling them to interact with financial networks and blockchain public chains.

Finance
EVM Blockchain logo

EVM Blockchain

mcpdotdirect/evm-mcp-server

216

A comprehensive Model Context Protocol (MCP) server that provides blockchain services across 60+ EVM-compatible networks. This server enables AI agents to interact with Ethereum, Optimism, Arbitrum, Base, Polygon, and many other EVM chains with a unified interface through 22 tools and 10 AI-guided prompts.

Finance
longport logo

longport

longportapp/openapi

206

Longport OpenAPI provides programmatic quote trading interfaces for investors with research and development capabilities and assists them to build trading or quote strategy analysis tools based on their own investment strategies. The functions fall into the following categories.

Finance