blockscout-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@blockscout-mcpWhat is the current block number?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Blockscout MCP Server
This is a Model Context Protocol (MCP) server implementation for interacting with the Blockscout API. It provides a standardized interface for AI models to interact with the Blockscout API.
Features
Support for any Blockscout API endpoint
Get current block number
Check account balances
Get transaction counts (nonces)
Retrieve block information
Get transaction details
Make contract calls
Related MCP server: MCP Etherscan Server
Prerequisites
Node.js (v16 or higher)
npm (Node Package Manager)
Installation
Clone the repository:
git clone <repository-url>
cd blockscout-mcpInstall dependencies:
npm installBuild the project:
npm run buildInstall globally:
npm install -g .This global installation makes the blockscout-mcp command available system-wide, which is required for Cursor to find and execute the MCP server.
Configuration
The server uses the following environment variable:
BLOCKSCOUT_API_URL: The Blockscout API endpoint URL to connect to (e.g., 'https://mainnet.game7.io/api' or 'https://testnet.game7.io/api')
Cursor MCP Configuration
Add the following to your mcp.json file in your Cursor (Settings > MCP > Add New Global Server):
{
"mcpServers": {
"blockscout-mcp": {
"command": "npx",
"args": ["-y", "blockscout-mcp"],
"env": {
"BLOCKSCOUT_API_URL": "YOUR_API_ENDPOINT"
}
}
}
}This configuration will make the following tools available in Cursor:
searchget_transactionsget_blocksget_token_transfersget_statsget_transaction_infoget_transaction_token_transfersget_transaction_internal_txsget_transaction_logsget_block_infoget_block_transactionsget_address_infoget_address_token_transfersget_token_infoget_token_holdersget_internal_transactionsget_main_page_transactionsget_main_page_blocksget_indexing_statusget_transaction_chartget_market_chartget_transaction_raw_traceget_transaction_state_changesget_transaction_summaryget_block_withdrawalsget_address_countersget_address_internal_transactionsget_address_logsget_address_blocks_validatedget_address_coin_balance_historyget_address_coin_balance_history_by_dayget_smart_contractsget_smart_contract_countersget_smart_contractget_json_rpc_urlget_account_abstraction_statusget_addressesget_address_transactionsget_address_token_balancesget_address_tokensget_address_withdrawalsget_address_nftsget_address_nft_collectionsget_tokensget_token_transfers_listget_token_countersget_token_instancesget_token_instance_by_idget_token_instance_transfersget_token_instance_holdersget_token_instance_transfers_countrefetch_token_instance_metadataget_withdrawalssearch_redirect
This server cannot be deployed
Maintenance
Related MCP Connectors
Blockscout - 56 tools for data, metrics, and on-chain analytics
Provide AI agents and automation tools with contextual access to blockchain data including balance…
Read-only BTC/XMR/ZEC/DOGE/LTC chain data for AI agents (16 tools)
Etherscan Api - 71 tools for data, metrics, and on-chain analytics
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables comprehensive blockchain data analysis and exploration through the BlockScout API. Provides 56+ tools for transaction analysis, address exploration, token management, smart contract analysis, and market research across multiple blockchain networks.-
- AlicenseAqualityDmaintenanceProvides Ethereum blockchain data tools via Etherscan's API, enabling users to check balances, view transactions, track token transfers, fetch contract ABIs and code, monitor gas prices, and resolve ENS names.7MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with blockchain data across 48 networks via the 3xpl JSON API, supporting tools for transactions, addresses, blocks, and more.5MIT
- FlicenseNot gradedqualityDmaintenanceProvides AI agents with 71 tools to query Etherscan's blockchain analytics via the Etherscan API, with no authentication required.-