MCP.so
Sign In

Overview

What is Blockscout MCP Server?

A Model Context Protocol (MCP) server that provides a standardized interface for AI models to interact with the Blockscout API, enabling access to blockchain data such as block numbers, account balances, transactions, and contract calls.

How to use Blockscout MCP Server?

Install globally via npm, set the BLOCKSCOUT_API_URL environment variable to a Blockscout API endpoint, then configure the server in Cursor’s mcp.json using the command npx -y blockscout-mcp. The server exposes over 40 tools for querying blockchain data.

Key features of Blockscout MCP Server

  • Supports any Blockscout API endpoint
  • Get current block number
  • Check account balances
  • Get transaction counts (nonces)
  • Retrieve block and transaction details
  • Make contract calls

Use cases of Blockscout MCP Server

  • Query real-time blockchain data from an AI assistant
  • Monitor account balances and transaction history
  • Explore block, transaction, and token details programmatically
  • Retrieve contract information and state changes

FAQ from Blockscout MCP Server

What does Blockscout MCP Server do?

It acts as a bridge between AI models and the Blockscout API, providing a set of MCP tools to fetch blockchain data without manual API calls.

What are the prerequisites?

Node.js v16 or higher and npm are required. The server must be installed globally to be discoverable by Cursor.

How do I configure the server?

Set the environment variable BLOCKSCOUT_API_URL to the desired Blockscout API endpoint (e.g., https://mainnet.game7.io/api). Then add the server to Cursor’s MCP configuration with the command npx -y blockscout-mcp.

What data can I access?

The server provides tools for transactions, blocks, token transfers, smart contracts, addresses, NFTs, withdrawals, market charts, and indexing status.

Does the server support custom Blockscout instances?

Yes, because the API URL is configurable via the BLOCKSCOUT_API_URL environment variable, allowing connection to any Blockscout-compatible endpoint.

Tags

More from Other