Catalog npm
Back to packageRELEASE DETAILS

1.0.1

npm

@0xagmaso/blockscout-mcp

Fork of blockscout-mcp for MCP access in n8n Cloud

Published26 May 2025
Direct dependencies11
Transitive dependenciesNot calculated

README

Current package documentation

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

Prerequisites

  • Node.js (v16 or higher)
  • npm (Node Package Manager)

Installation

  1. Clone the repository:
git clone <repository-url>
cd blockscout-mcp
  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Install 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:

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:

  • search
  • get_transactions
  • get_blocks
  • get_token_transfers
  • get_stats
  • get_transaction_info
  • get_transaction_token_transfers
  • get_transaction_internal_txs
  • get_transaction_logs
  • get_block_info
  • get_block_transactions
  • get_address_info
  • get_address_token_transfers
  • get_token_info
  • get_token_holders
  • get_internal_transactions
  • get_main_page_transactions
  • get_main_page_blocks
  • get_indexing_status
  • get_transaction_chart
  • get_market_chart
  • get_transaction_raw_trace
  • get_transaction_state_changes
  • get_transaction_summary
  • get_block_withdrawals
  • get_address_counters
  • get_address_internal_transactions
  • get_address_logs
  • get_address_blocks_validated
  • get_address_coin_balance_history
  • get_address_coin_balance_history_by_day
  • get_smart_contracts
  • get_smart_contract_counters
  • get_smart_contract
  • get_json_rpc_url
  • get_account_abstraction_status
  • get_addresses
  • get_address_transactions
  • get_address_token_balances
  • get_address_tokens
  • get_address_withdrawals
  • get_address_nfts
  • get_address_nft_collections
  • get_tokens
  • get_token_transfers_list
  • get_token_counters
  • get_token_instances
  • get_token_instance_by_id
  • get_token_instance_transfers
  • get_token_instance_holders
  • get_token_instance_transfers_count
  • refetch_token_instance_metadata
  • get_withdrawals
  • search_redirect

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 11

Native requirements
11 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@modelcontextprotocol/sdk
Environment
{
  "local_name": "@modelcontextprotocol/sdk",
  "alias": false,
  "peer_metadata": null
}
^1.0.1runtime
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^22runtime
@types/node-fetch
Environment
{
  "local_name": "@types/node-fetch",
  "alias": false,
  "peer_metadata": null
}
^2.6.12runtime
dotenv
Environment
{
  "local_name": "dotenv",
  "alias": false,
  "peer_metadata": null
}
^16.4.7runtime
node-fetch
Environment
{
  "local_name": "node-fetch",
  "alias": false,
  "peer_metadata": null
}
^3.3.2runtime
universal-user-agent
Environment
{
  "local_name": "universal-user-agent",
  "alias": false,
  "peer_metadata": null
}
^7.0.2runtime
zod
Environment
{
  "local_name": "zod",
  "alias": false,
  "peer_metadata": null
}
^3.24.2runtime
zod-to-json-schema
Environment
{
  "local_name": "zod-to-json-schema",
  "alias": false,
  "peer_metadata": null
}
^3.24.5runtime
shx
Environment
{
  "local_name": "shx",
  "alias": false,
  "peer_metadata": null
}
^0.3.4development
tsx
Environment
{
  "local_name": "tsx",
  "alias": false,
  "peer_metadata": null
}
^4.19.3development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.6.2development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-/yhTUXXHwP4XGck7p1XEvya6Na5kEi+u741f8aNcUdmMN85WW288wYxrXT5MxqPjKzmkoEN3MD+mSf8pe/V13Q==",
  "shasum": "161974ae3f22e0fd080d5d4dec4992971d8ad6f0",
  "tarball": "https://registry.npmjs.org/@0xagmaso/blockscout-mcp/-/blockscout-mcp-1.0.1.tgz",
  "fileCount": 5,
  "unpackedSize": 35266,
  "signatures": [
    {
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
      "sig": "MEQCICEosU2Snn8j6uDtXLTBYc4n5WnBhXocQY498KbhDoq0AiBnIwuVkLiDC4HAg4p+d538sedxsS5rq3hQYxfAPKFp0A=="
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:39 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:fd3a16821c2b0d5f4fd7914a0fa56f57d8af2cf06459bb862f0ed5eac3cfe406

Other collected versions

1.0.026 MayView all collected versions →