Onchain MCP Server

v1.0.0APIsstable

Read contract state from a blockchain. important: In case of a tuple, don't use type tuple, but specify the inner types (found in the source) in order. For nested structs, include the substructs types. Example: struct DataTypeA { DataTypeB b;

uncategorized
Share:
0
Stars
0
Downloads
0
Weekly
0/5

About

Read contract state from a blockchain. important: In case of a tuple, don't use type tuple, but specify the inner types (found in the source) in order. For nested structs, include the substructs types. Example: struct DataTypeA { DataTypeB b;

Features

  • read_contract
  • get_proxy
  • get_abi
  • get_source
  • get_events

Use Cases

Read contract state from a blockchain. important: In case of a tuple, don't use type tuple, but specify the inner types (found in the source) in order. For nested structs, include the substructs types. Example: struct DataTypeA { DataTypeB b; //the l
Gets the proxy address for a given network and contract
Gets the ABI for a given contract on a specific network
Gets the source code for a given contract on a specific network
Fetches event logs for a given network and filter criteria
Community

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedN/A
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @bankless/onchain-mcp

Manual Installation

npx -y @bankless/onchain-mcp

Examples

Basic Configuration

Configure Onchain MCP Server

npx -y @bankless/onchain-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Web UI

Not available

Security

Authentication

RequiredNo

Features

Data Encryption
Audit Logging
RBAC Support

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

More APIs MCP Servers

Explore other servers in the APIs category.

Quick Config Preview

{ "mcpServers": { "onchain": { "command": "npx", "args": ["-y", "@bankless/onchain-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Onchain MCP Server?

Browse our complete directory of 60+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

60+ ServersFree & Open SourceStep-by-Step Guides