
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

An MCP server that lets AI assistants query multiple etherscan-like blockchain explorer APIs for on-chain data.
1scan MCP Server is cataloged as an MCP server attributed to huahuayu. An MCP server that lets AI assistants query multiple etherscan-like blockchain explorer APIs for on-chain data. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for 1scan MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports many etherscan-like explorers including Ethereum, Binance Smart Chain, Arbitrum One, Polygon, Optimism, Avalanche C-Chain, Base, zkSync Era, Gnosis, Fantom, Mantle and others in the supported networks table.
It supports sse or stdio transport, defaulting to sse.
README.md · 9a987aa2b83f · Fetched 2026-11-13 10:17:31 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.
1scan provides two main components:
Apply for your own API key from the corresponding blockchain explorer
| Network Name | Chain ID | Explorer Link | Explorer API Endpoint |
|---|---|---|---|
| Ethereum | 1 | https://etherscan.io | api.etherscan.io |
| Binance Smart Chain | 56 | https://bscscan.com | api.bscscan.com |
| Arbitrum One | 42161 | https://arbiscan.io | api.arbiscan.io |
| Polygon | 137 | https://polygonscan.com | api.polygonscan.com |
| Optimism | 10 | https://optimistic.etherscan.io | api-optimistic.etherscan.io |
| Avalanche C-Chain | 43114 | https://snowtrace.io | api.snowtrace.io |
| Base | 8453 | https://basescan.org | api.basescan.org |
| zkSync Era | 324 | https://explorer.zksync.io | block-explorer-api.mainnet.zksync.io |
| Gnosis | 100 | https://gnosisscan.io | api.gnosisscan.io |
| Fantom | 250 | https://ftmscan.com | api.ftmscan.com |
| Mantle | 5000 | https://mantlescan.info | api.mantlescan.info |
| Cronos | 25 | https://cronoscan.com | api.cronoscan.com |
| Polygon ZkEVM | 1101 | https://zkevm.polygonscan.com | api-zkevm.polygonscan.com |
| Linea | 59144 | https://lineascan.build | api.lineascan.build |
| Moonbeam | 1284 | https://moonscan.io | api.moonscan.io |
| Celo | 42220 | https://celoscan.io | api.celoscan.io |
| Scroll | 534352 | https://scrollscan.com | api.scrollscan.com |
| OpBNB | 204 | https://opbnbscan.com | api.opbnbscan.com |
| Moonriver | 1285 | https://moonriver.moonscan.io | api-moonriver.moonscan.io |
| Arbitrum Nova | 42170 | https://nova.arbiscan.io | api-nova.arbiscan.io |
| Blast | 81457 | https://blastscan.io | api.blastscan.io |
| Fraxtal | 252 | https://fraxscan.com | api.fraxscan.com |
| Wemix | 1111 | https://wemixscan.com | api.wemixscan.com |
| Xai | 660279 | https://xaiscan.io | api.xaiscan.io |
| World Chain | 480 | https://worldscan.org | api.worldscan.org |
| Ape | 33139 | https://apescan.io/ | api.apescan.io |
| Kroma | 255 | https://kromascan.com | api.kromascan.com |
| Taiko | 167000 | https://taikoscan.io | api.taikoscan.io |
| Bittorrent | 199 | https://bttcscan.com | api.bttcscan.com |
| Xdc | 50 | https://xdcscan.io | api.xdcscan.io |
go install github.com/huahuayu/1scan@latest
# Clone the repository
git clone https://github.com/huahuayu/1scan.git
cd 1scan
# Build both 1scan API server and MCP server
make build
Create a config.json file with your API keys:
{
"1": {
"endpoint": "api.etherscan.io",
"keys": {
"YOUR_ETHERSCAN_API_KEY_1": 5,
"YOUR_ETHERSCAN_API_KEY_2": 10
}
},
"56": {
"endpoint": "api.bscscan.com",
"keys": {
"YOUR_BSCSCAN_API_KEY": 5
}
}
}
Each chain entry contains:
chainID: The blockchain network IDendpoint: The API endpoint for the blockchain explorerkeys: Map of API keys and their rate limits (requests per second)# Run with default settings
1scan -config /path/to/config.json
# Or using make
make run-1scan
# Run with default settings
1scanmcp -config /path/to/config.json # default serve at port 3000
# Or using make
make run-1scanmcp
# With custom settings
1scanmcp -config /path/to/config.json -port 3000 -path /mcp
To use 1scan MCP in Cursor IDE:
Start both the API server and MCP server
# Terminal 1
make run-1scan
# Terminal 2
make run-1scanmcp
In Cursor IDE, go to Settings → AI → MCP Servers
Add a new MCP server with the URL:
{
"mcpServers": {
"1scan": {
"url": "http://localhost:3000/mcp/sse"
}
}
}
Restart Cursor IDE if necessary
Now you can use blockchain data in your AI conversations:
Can you check the balance of address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e on Ethereum?
When running the MCP server, you can customize it with these parameters:
-port: Port to run the MCP server on (default: "3000")-path: Path for the MCP server endpoint (default: "/mcp")-config: Path to configuration file (default: "config.json")-transport: Transport type (sse or stdio) (default: "sse")Example:
1scanmcp -port 3000 -config /path/to/config.json
The MCP server exposes these tools to AI models:
getAccountBalance - Get the balance of an account on a specific blockchaingetTokenBalance - Get the token balance of an account on a specific blockchaingetTransactionByHash - Get transaction details by hashgetBlockByNumber - Get block information by block numbergetContractABI - Get the ABI for a verified contractgetContractSourceCode - Get the source code of a verified contractgetTokenInfo - Get information about an ERC20 tokengetGasPrice - Get current gas price on a specific blockchaingetLogs - Get event logs matching specified parametersgetTransaction - Get details of a transaction by its hashgetTransactionCount - Get the number of transactions sent from an addressgetTransactionReceipt - Get transaction receipt by transaction hashgetBlockTransactionCountByNumber - Get the number of transactions in a blockgetBlockTransactionCountByHash - Get the number of transactions in a block by block hashgetBlockByHash - Get information about a block by its hashgetNormalTransactions - Get normal transactions by addressgetInternalTransactions - Get internal transactions by address or transaction hashgetERC20Transfers - Get ERC-20 token transfer events by address or contractgetERC721Transfers - Get ERC-721 NFT transfer events by address or contractgetValidators - Get validator information (for networks with validator sets)getContractCreation - Get contract creation informationgetContractVerificationStatus - Check contract verification statusHere are examples of how to interact with blockchain data through the MCP interface:
# Get account balance
What's the ETH balance of vitalik.eth (0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045) on Ethereum?
# Check a token balance
What's the USDC balance of address 0x28C6c06298d514Db089934071355E5743bf21d60 on Ethereum?
# Examine a transaction
Can you analyze transaction 0xdd6d7f687c9821404ae8c2ea7de5cfb5a23fc4c01ef1e7f535748cb147aa76dd on Ethereum?
# Look up block information
What transactions were in Ethereum block 18700000?
# Get contract ABI
Can you show me the ABI for the USDC contract (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) on Ethereum?
# Analyze contract source code
I need to understand how the Uniswap V3 router works. Can you show me the source code for 0xE592427A0AEce92De3Edee1F18E0157C05861564 on Ethereum?
# Check multiple chains
What's the difference in gas fees between Ethereum and Arbitrum right now?
# Examine token information
Tell me about the tokenomics of the APE token on Ethereum.
The MCP server exposes these tools to AI models:
getAccountBalance - Get the balance of an account on a specific blockchaingetTokenBalance - Get the token balance of an account on a specific blockchaingetTransactionByHash - Get transaction details by hashgetBlockByNumber - Get block information by block numbergetContractABI - Get the ABI for a verified contractgetContractSourceCode - Get the source code of a verified contractgetTokenInfo - Get information about an ERC20 tokengetGasPrice - Get current gas price on a specific blockchaingetLogs - Get event logs matching specified parametersgetTransaction - Get details of a transaction by its hashgetTransactionCount - Get the number of transactions sent from an addressgetTransactionReceipt - Get transaction receipt by transaction hashgetBlockTransactionCountByNumber - Get the number of transactions in a blockgetBlockTransactionCountByHash - Get the number of transactions in a block by block hashgetBlockByHash - Get information about a block by its hashgetNormalTransactions - Get normal transactions by addressgetInternalTransactions - Get internal transactions by address or transaction hashgetERC20Transfers - Get ERC-20 token transfer events by address or contractgetERC721Transfers - Get ERC-721 NFT transfer events by address or contractgetValidators - Get validator information (for networks with validator sets)getContractCreation - Get contract creation informationgetContractVerificationStatus - Check contract verification statusIf you encounter issues connecting to the MCP server from Cursor:
Verify both servers are running:
# Check if servers are running
ps aux | grep 1scanmcp
Ensure the correct URL is configured in Cursor
MIT License
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for 1scan MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/1scan)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.