Universal Blockchain MCP

io.github.nirholas由 GitHub 帳號 nirholas 發布v1.0.0更新於 Oct 24, 2026

Universal blockchain MCP - swaps bridges staking lending Ethereum Arbitrum

概覽

AI 產生的概覽

一個本機 MCP 伺服器,為助理提供 380 多個區塊鏈工具,用於跨 EVM 及其他鏈的兌換、跨鏈橋、質押、借貸、行情資料與安全檢查。

可以做什麼
提供面向 EVM 相容網路及其他鏈的大量工具:透過 DEX 聚合器進行代幣兌換、跨鏈橋轉帳、質押與借貸部位、Gas 價格、投資組合與錢包分析、ENS 網域、合約部署、簽章、事件日誌,以及來自 CoinGecko、DefiLlama 等來源的行情資料。也包含安全檢查(蜜罐、跑路、代幣與 dApp 掃描)以及帶 14 個工具的 x402 支付模組,用於為 API 付費與轉帳。以 stdio 本機執行,可選 HTTP 與 SSE 模式。
適用情境
當助理需要透過一個伺服器讀取或操作多條鏈上的區塊鏈資料與 DeFi 部位時使用,例如投資組合追蹤、兌換或跨鏈橋報價、代幣安全審查、鏈上分析。純鏈下工作不需要使用。
執行需求
透過 npx 本機執行,需要 Node.js。可選環境變數包括用於寫入操作的 PRIVATE_KEY、支付模組的 X402_PRIVATE_KEY 與 X402_CHAIN,以及可選的 API 金鑰如 COINGECKO_API_KEY、COINSTATS_API_KEY、LUNARCRUSH_API_KEY、CRYPTOPANIC_API_KEY、RUBIC_API_KEY;可自訂 RPC 位址。鏈上與行情呼叫需要網路存取。
安裝前請注意
PRIVATE_KEY 與 X402_PRIVATE_KEY 是錢包私鑰,可讓伺服器簽署交易並轉移資金;x402 模組被描述為無需人工核准即可自主付款,工具還能發送、兌換、跨鏈、授權代幣花費與部署合約。寫入操作會花費真實加密貨幣且不可撤銷。可選 API 金鑰會傳送給第三方資料供應商。建議先以唯讀方式使用,並使用專用的低價值錢包。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Universal Blockchain MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

🤖💰 Universal Crypto MCP

██╗ ██╗███╗ ██╗██╗██╗ ██╗███████╗██████╗ ███████╗ █████╗ ██╗ ██║ ██║████╗ ██║██║██║ ██║██╔════╝██╔══██╗██╔════╝██╔══██╗██║ ██║ ██║██╔██╗ ██║██║██║ ██║█████╗ ██████╔╝███████╗███████║██║ ██║ ██║██║╚██╗██║██║╚██╗ ██╔╝██╔══╝ ██╔══██╗╚════██║██╔══██║██║ ╚██████╔╝██║ ╚████║██║ ╚████╔╝ ███████╗██║ ██║███████║██║ ██║███████╗ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝ ██████╗██████╗ ██╗ ██╗██████╗ ████████╗ ██████╗ ██╔════╝██╔══██╗╚██╗ ██╔╝██╔══██╗╚══██╔══╝██╔═══██╗ ██║ ██████╔╝ ╚████╔╝ ██████╔╝ ██║ ██║ ██║ ██║ ██╔══██╗ ╚██╔╝ ██╔═══╝ ██║ ██║ ██║ ╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ███╗ ███╗ ██████╗██████╗ ████╗ ████║██╔════╝██╔══██╗ ██╔████╔██║██║ ██████╔╝ ██║╚██╔╝██║██║ ██╔═══╝ ██║ ╚═╝ ██║╚██████╗██║ ╚═╝ ╚═╝ ╚═════╝╚═╝

bash
npx @nirholas/universal-crypto-mcp

[npm version] [npm downloads] [x402 enabled] [chains]

[MCP Compatible] [TypeScript] [Node.js 18+] [License: Apache 2.0]

[GitHub Stars] [Issues]

[Universal Crypto MCP Demo]

✨ What's New: AI Service Marketplace

Monetize your AI services & discover the best APIs! 💸

The AI Service Marketplace is a complete ecosystem for AI service discovery, monetization, and reputation management:

  • 🏪 Register your AI service - Instant monetization with pay-per-use or subscriptions
  • 🔍 AI agents discover services - Automatic discovery by category, price, and rating
  • ⭐ On-chain reputation - Build trust with verified ratings and reviews
  • 💳 Flexible pricing - Pay-per-use, subscriptions, free tiers
  • 📊 Analytics dashboard - Track usage, revenue, and performance
  • 🔒 Secure payments - Escrow, dispute resolution, automatic refunds

Learn more → | View Tutorial →

x402 Payment Protocol

AI agents can now pay for things on the internet! 💸

User: "Get premium weather data for Tokyo"
Claude: 🔍 Checking x402 balance... $45.23 USDs        💳 Paying $0.01 for premium API access...        ✅ Payment confirmed! Here's your detailed forecast:                🌤️ Tokyo Weather (7-day premium forecast)...

AI agents can now:

  • 💸 Pay for premium APIs automatically
  • 🏪 Sell their own services to other agents
  • 🔄 Trade with other AI agents peer-to-peer
  • ⛓️ Work across EVM + Solana chains

⭐ If you find this useful, please star the repo! It helps others discover this project.


A Universal Model Context Protocol server for all EVM-compatible networks + Solana.

Enable AI agents (Claude, ChatGPT, Cursor) to interact with any EVM blockchain through natural language.

🆚 Why Universal Crypto MCP?

FeatureUniversal Crypto MCPOther MCP Servers
Tools380+ tools10-50 tools
Chains20+ chains (EVM + multi-chain)1-3 chains
DEX SupportMulti-aggregator (1inch, 0x, ParaSwap)Single DEX or none
SecurityGoPlus, honeypot, rug pull detectionBasic or none
DeFiAave, Compound, Lido, UniswapLimited
Market DataCoinGecko, DefiLlama, LunarCrushBasic prices
BridgesLayerZero, Stargate, WormholeNone
MEV ProtectionFlashbots integrationNone
Transportstdio, HTTP, SSEUsually only stdio
ChatGPT Support✅ Native HTTP mode❌ Most don't

📦 Package Structure

The most comprehensive crypto MCP monorepo with 10+ integrated packages from the best MIT-licensed projects:

packages/├── core/               # Shared types, utilities, configuration├── trading/            # CEX exchange integrations│   ├── binance/        # Binance spot & futures│   ├── binance-us/     # Binance US│   └── bybit/          # Bybit exchange (ethancod1ng) ⭐ NEW├── market-data/        # Prices, news, analytics  │   ├── prices/         # CoinGecko, DexPaprika, CoinMarketCap│   ├── news/           # CryptoPanic, aggregated news│   ├── analytics/      # Whale tracking, Fear/Greed, Dune│   ├── predictions/    # AI price predictions│   ├── crypto-indicators/  # Technical analysis (Kukapay) ⭐ NEW│   ├── crypto-sentiment/   # Sentiment analysis (Kukapay) ⭐ NEW│   ├── crypto-feargreed/   # Fear & Greed Index (Kukapay) ⭐ NEW│   ├── cryptopanic/        # News aggregation (Kukapay)│   └── coinmarketcap/      # CMC API (Shinzo Labs) ⭐ NEW├── defi/               # On-chain DeFi tools (60+ networks!)│   ├── protocols/      # EVM MCP Server (360⭐), Sperax, DEX│   │   ├── algorand/   # Algorand tools (GoPlausible) ⭐ NEW│   │   └── bsc-ops/    # BSC operations (TermiX) ⭐ NEW│   ├── chain-tools/    # BNB Chain, Onchain MCP│   └── agents/         # Autonomous DeFi agents├── wallets/            # Wallet management│   ├── evm/            # Ethereum & EVM wallets│   └── solana/         # Solana wallets├── payments/           # Payment infrastructure│   └── x402/           # x402 protocol, USDC transfers├── automation/         # Bots & automation│   ├── social/         # XActions Twitter automation│   ├── sweep/          # Dust sweeping│   └── volume/         # Volume tools└── generators/         # Meta-tools for building MCP servers    ├── abi-to-mcp/     # Convert ABIs to MCP tools    ├── repo-to-mcp/    # GitHub repos → MCP servers    ├── doc-extractor/  # Extract docs for LLMs    ├── registry/       # Lyra tool registry    └── discovery/      # Tool discovery & search

📖 View Package Documentation →

Integrated Community MCP Servers

This repo consolidates the best MIT-licensed crypto MCP projects with proper attribution:

ProjectAuthorCategoryDescription
evm-mcp-servermcpdotdirectdefi60+ networks, 22+ tools
crypto-indicators-mcp ⭐ NEWKukapaymarket-dataTechnical indicators (RSI, MACD, Bollinger)
crypto-sentiment-mcp ⭐ NEWKukapaymarket-dataMulti-source sentiment analysis
crypto-feargreed-mcp ⭐ NEWKukapaymarket-dataFear & Greed Index
cryptopanic-mcp-serverKukapaymarket-dataCrypto news aggregation
coinmarketcap-mcp ⭐ NEWShinzo Labsmarket-dataComplete CMC API
whale-tracker-mcpKukapayanalyticsLarge wallet tracking
mcp-web3-statscrazyrabbitLTCanalyticsDune Analytics integration
dexpaprika-mcpCoinPaprikapricesDEX price data
algorand-mcp ⭐ NEWGoPlausibleblockchain40+ Algorand tools
bybit-mcp-server ⭐ NEWethancod1ngexchangeBybit API integration
bsc-mcp ⭐ NEWTermiXdefiBSC operations & security
onchain-mcpBanklessdefiOn-chain tools
mcp-free-usdc-transferMagnetAIpaymentsFree USDC transfers

All integrated projects maintain their original MIT licenses with full attribution.
See CONTRIBUTORS.md for detailed attribution and our modifications.


Supported Networks

EVM Chains

  • Ethereum, BNB Smart Chain (BSC), Polygon, Arbitrum, Base, Optimism
  • Avalanche, Fantom, zkSync Era, Linea, Scroll, Blast, Mode, Mantle
  • opBNB + All testnets

Multi-Chain (NEW)

  • Cosmos/IBC - ATOM, OSMO, JUNO, INJ, and more
  • Near Protocol - NEAR native + contracts
  • Sui - SUI with Move support
  • Aptos - APT with Move support
  • Bitcoin, Litecoin, Solana, TON, XRP, THORChain

Features

  • 🔄 Swap/DEX - Token swaps via 1inch, 0x, ParaSwap
  • 🌉 Bridge - Cross-chain transfers via LayerZero, Stargate, Wormhole
  • ⛽ Gas - Gas prices across chains, EIP-1559 suggestions
  • 📦 Multicall - Batch read/write operations
  • 📊 Events/Logs - Query historical events, decode logs
  • 🔒 Security - Rug pull detection, honeypot check, GoPlus token/address security, dApp phishing detection
  • 💰 Staking - Liquid staking (Lido), LP farming
  • ✍️ Signatures - Sign messages, verify signatures, EIP-712
  • 🏦 Lending - Aave/Compound positions, borrow rates
  • 📈 Price Feeds - Historical prices, TWAP, oracle aggregation
  • 📁 Portfolio - Track holdings across chains
  • 🏛️ Governance - Snapshot votes, on-chain proposals
  • 🚀 Deployment - Deploy contracts, CREATE2, upgradeable proxies, verification
  • 🛡️ MEV Protection - Flashbots Protect, private transactions, bundle simulation
  • 🆔 ENS/Domains - Register, transfer, renew, set records, subdomains
  • 📊 Market Data - CoinGecko & CoinStats prices, OHLCV, trending, categories, exchanges
  • 🌐 DeFi Analytics - DefiLlama TVL, yields, fees, bridges, stablecoins, protocol data
  • 💬 Social Sentiment - LunarCrush social metrics, influencers, trending topics
  • 📈 DEX Analytics - DexPaprika & GeckoTerminal pools, trades, OHLCV, trending tokens
  • 🔮 Predictions - Polymarket prediction markets, crypto forecasts
  • 📉 Technical Indicators - 50+ indicators (RSI, MACD, Bollinger Bands, etc.)
  • 🔔 Alerts - Price alerts, whale movement alerts, gas alerts (NEW)
  • 📡 WebSockets - Real-time price streams, trade feeds, mempool monitoring (NEW)
  • 🐋 Wallet Analytics - Whale tracking, wallet scoring, behavior analysis (NEW)
  • 🌐 Multi-Chain - Cosmos, Near, Sui, Aptos native support (NEW)
  • 💰 x402 Payments - AI agents can pay for premium APIs automatically (NEW)

💰 x402 Payment Protocol (NEW!)

[x402] [Give Claude Money]

Give Claude Money! AI agents can now make and receive cryptocurrency payments.

What is x402?

x402 implements HTTP 402 Payment Required, enabling AI agents to:

  • 💸 Pay for APIs - Automatically pay for premium API access
  • 🤖 Autonomous Payments - No human approval needed
  • 🏦 Hold funds - Agents have their own crypto wallets
  • 📈 Earn yield - Payments use USDs stablecoin (~5% APY auto-yield)

Quick Setup

bash
# Add to your environmentexport X402_PRIVATE_KEY=0x...  # Your EVM private keyexport X402_CHAIN=arbitrum      # Default chain (or base, ethereum, polygon)

x402 Tools (14 Total)

ToolDescription
x402_pay_requestMake HTTP request with automatic 402 payment
x402_balanceCheck wallet balance (USDC/USDs + native)
x402_sendSend direct payment to an address
x402_batch_sendSend multiple payments in one transaction
x402_gasless_sendSend payment without paying gas
x402_estimateCheck cost before paying
x402_addressGet your wallet address
x402_networksList supported networks
x402_yieldCheck USDs auto-yield earnings
x402_apyGet current APY rate
x402_yield_estimateProject future yield
x402_approveApprove token spending
x402_tx_statusCheck transaction status
x402_configView current configuration

Supported Networks

NetworkCAIP-2Status
Baseeip155:8453✅ Recommended
Arbitrumeip155:42161✅ Supported
Ethereumeip155:1✅ Supported
Polygoneip155:137✅ Supported
Solanasolana:mainnet✅ Supported

Example

User: "Get premium weather data for Tokyo"Agent: [calls x402_pay_request to weather API]       [automatically pays $0.01 in USDs]       "Here's the detailed forecast..."

x402 Architecture

┌─────────┐      ┌───────────┐      ┌───────────┐│ Claude  │─────▶│ MCP Server│─────▶│ Paid API  ││  (AI)   │      │  (x402)   │      │   (402)   │└─────────┘      └───────────┘      └───────────┘     │                │                   │     │  "Get data"    │  HTTP + Payment   │     │                │                   │     └────────────────┴───────────────────┘

📖 Full Documentation:


Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "universal-crypto-mcp": {      "command": "npx",      "args": ["-y", "@nirholas/universal-crypto-mcp@latest"],      "env": {        "PRIVATE_KEY": "your_private_key_here (optional)"      }    }  }}

Cursor

Add to your MCP settings:

json
{  "mcpServers": {    "universal-crypto-mcp": {      "command": "npx",      "args": ["-y", "@nirholas/universal-crypto-mcp@latest"],      "env": {        "PRIVATE_KEY": "your_private_key_here (optional)"      }    }  }}

ChatGPT Developer Mode

  1. Enable Developer Mode in ChatGPT settings
  2. Start the HTTP server:
    bash
    npx @nirholas/universal-crypto-mcp@latest --http
  3. In ChatGPT Settings → Apps, click Create app
  4. Enter your server URL: http://localhost:3001/mcp
  5. Select the app in conversations via Developer mode menu

For detailed setup instructions, see ChatGPT Setup Guide.

Server Modes

ModeCommandUse Case
stdionpx @nirholas/universal-crypto-mcpClaude Desktop, Cursor
HTTPnpx @nirholas/universal-crypto-mcp --httpChatGPT Developer Mode
SSEnpx @nirholas/universal-crypto-mcp --sseLegacy HTTP clients

💬 Example Prompts (Copy & Paste!)

Real prompts you can use with Claude, ChatGPT, or Cursor. Just copy and paste!

🔄 Token Swaps

Swap 0.1 ETH for USDC on Arbitrum
Get me a quote to swap 100 USDC to WBTC on Base
What's the best rate to swap 500 DAI to ETH across all DEXs on Ethereum?

📊 Market Data & Prices

What's the current price of Bitcoin and Ethereum in USD?
Show me the top 10 trending coins on CoinGecko right now
Get the 7-day OHLCV data for Solana
What's the market cap and 24h volume of BNB?
Show me the price of token 0xdAC17F958D2ee523a2206206994597C13D831ec7 on Ethereum

🌐 DeFi Analytics (DefiLlama)

What's the total TVL of Aave across all chains?
Show me the top 10 protocols by TVL
What are the best yield opportunities for stablecoins right now?
How much volume did bridges process in the last 24 hours?
Show me the TVL history of Uniswap over the last 30 days

📈 DEX Analytics

Show me the top trending pools on Uniswap V3
Get the most traded tokens on Base in the last 24 hours
Find all liquidity pools for PEPE on Ethereum
What's the price and liquidity of the ETH/USDC pool on Aerodrome?

🔒 Security Checks

Is this token safe? 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE (SHIB)
Check if this token is a honeypot: 0x... on BSC
Scan my wallet for risky approvals: 0xYourAddress
Is this dApp URL safe to connect to? https://suspicious-site.xyz

💰 Staking & Lending

What's the current staking APY for ETH on Lido?
Show me Aave lending rates for USDC on Arbitrum
What's my health factor on Aave if I borrow 1000 USDC against 2 ETH?

🌉 Cross-Chain Bridges

Bridge 100 USDC from Ethereum to Arbitrum
What's the cheapest way to bridge ETH from mainnet to Base?
Get a bridge quote for 0.5 ETH from Polygon to Optimism

⛽ Gas & Network

What's the current gas price on Ethereum?
Get EIP-1559 gas fees for all supported chains
Is it cheap to transact on Arbitrum right now?

🏛️ Governance

Show me active proposals on Uniswap
What's my voting power on Compound?
Get the results of the latest Aave governance vote

💬 Social Sentiment (LunarCrush)

What's the social sentiment for Bitcoin right now?
Show me the top crypto influencers on social media
What tokens are trending on Twitter/X today?
Get the Galaxy Score for Ethereum

🆔 ENS Domains

Resolve vitalik.eth to an address
Who owns the ENS domain "ethereum.eth"?
Register the domain mycoolname.eth for 1 year

📰 Crypto News

Get the latest crypto news
Search news about Bitcoin ETF
What's the breaking news in DeFi?

📁 Portfolio & Wallet

Show my token balances on Ethereum: 0xYourAddress
Get all NFTs owned by vitalik.eth
What approvals have I granted from my wallet?
Track my portfolio across all EVM chains

🚀 Advanced Operations

Deploy a new ERC-20 token called "MyToken" (MTK) with 1 million supply on Base
Submit this transaction privately via Flashbots to avoid MEV
Encode a call to the transfer function for 100 USDC
Simulate this transaction before executing: 0x...

📉 Technical Indicators

Calculate RSI for Bitcoin over the last 14 days
Get MACD signal for ETH/USDT on the 4-hour timeframe
Show Bollinger Bands for SOL with 20-period SMA
What's the current trend signal for BTC using multiple indicators?
Run a momentum strategy analysis on DOGE

🔮 Prediction Markets

What are the top crypto prediction markets on Polymarket?
Search for Bitcoin price predictions
What's the current odds for ETH reaching $5000?

📊 Events & Logs

Get all Transfer events for USDC in the last 100 blocks on Ethereum
Show me Approval events for my wallet address
Decode this transaction log: 0x...

✍️ Signatures & Messages

Sign this message with my wallet: "Hello World"
Verify this signature is from vitalik.eth
Create an EIP-712 typed data signature for a permit

📦 Batch Operations (Multicall)

Get token balances for 10 different tokens in one call
Read multiple contract values at once from Aave
Batch check allowances for all my approved tokens

🧪 Testing

We use Vitest as our testing framework with comprehensive test coverage.

Running Tests

bash
# Run all unit testsnpm test
# Run tests in watch mode (re-runs on file changes)npm run test:watch
# Run tests with coverage reportnpm run test:coverage
# Run E2E tests (requires network access)npm run test:e2e
# Run E2E tests in watch modenpm run test:e2e:watch
# Open interactive test UInpm run test:ui

MCP Inspector

Test your MCP tools interactively using the official MCP Inspector:

bash
npm run test:inspector

This opens a browser-based UI where you can:

  • Browse all available tools and prompts
  • Test tool execution with custom parameters
  • View tool responses and debug issues
  • Validate your MCP server implementation

Test Structure

tests/├── setup.ts              # Global test setup├── e2e/                  # End-to-end tests│   ├── evm-tools.e2e.test.ts│   └── market-data.e2e.test.ts├── integration/          # Integration tests│   ├── evm-tools.test.ts│   └── multichain.test.ts└── mocks/                # Test mocks and fixtures
src/├── evm/│   ├── chains.test.ts    # Unit tests alongside source│   └── modules/│       └── */tools.test.ts└── utils/    ├── errors.test.ts    ├── helper.test.ts    └── validation.test.ts

Local Development

bash
# Clonegit clone https://github.com/nirholas/universal-crypto-mcpcd universal-crypto-mcp
# Installnpm install
# Run dev server (stdio - Claude)npm run dev
# Run dev server (HTTP - ChatGPT)npm run dev:http
# Run dev server (SSE - legacy)npm run dev:sse

🧪 Testing

[Code Coverage] [Tests]

Running Tests

bash
# Run all testsnpm test
# Run unit tests onlynpm run test:unit
# Run integration testsnpm run test:integration
# Run E2E tests (requires network access)npm run test:e2e
# Run tests with coverage reportnpm run test:coverage
# Run tests in watch mode (development)npm run test:watch

Test Structure

TypeLocationDescription
Unitsrc/**/*.test.tsTest individual functions/modules
Integrationtests/integration/Test multiple components together
E2Etests/e2e/Test full MCP server flow

E2E Tests

End-to-end tests verify the complete tool execution flow:

  • EVM Tools - Block, balance, token operations across chains
  • DeFi Tools - Protocol TVL, yields, stablecoins via DefiLlama
  • Market Data - CoinGecko, Fear & Greed index
  • Multichain - Same operations across different networks
  • Error Recovery - Error handling, invalid inputs, edge cases

Custom Test Utilities

The project includes custom Vitest matchers for MCP responses:

typescript
// In your test fileimport "../utils/assertions"
expect(result).toBeSuccessfulToolResponse()expect(result).toHaveJsonProperty("balance")expect(result).toContainValidAddress()expect(result).toContainToolError(/invalid/i)

Test Fixtures

Reusable test data in tests/utils/fixtures.ts:

typescript
import {  ETH_MAINNET_ADDRESSES,  MOCK_TOKEN_DATA,  generateRandomAddress} from "../utils/fixtures"

For detailed testing documentation, see tests/README.md.


⚙️ Environment Variables

Configure optional API keys for enhanced features. Create a .env file:

bash
# Required for write operations (swaps, transfers, etc.)PRIVATE_KEY=your_private_key_here
# Market Data (optional - has free tier)COINGECKO_API_KEY=your_key        # https://coingecko.com/apiCOINSTATS_API_KEY=your_key        # https://coinstats.app
# Social Sentiment (optional)LUNARCRUSH_API_KEY=your_key       # https://lunarcrush.com/developers
# News (optional)CRYPTOPANIC_API_KEY=your_key      # https://cryptopanic.com/developers
# Cross-chain Swaps (optional)RUBIC_API_KEY=your_key            # https://rubic.exchange
# Custom RPC endpoints (optional - uses public RPCs by default)ETHEREUM_RPC_URL=https://mainnet.infura.io/v3/YOUR_KEYARBITRUM_RPC_URL=https://arb1.arbitrum.io/rpcBASE_RPC_URL=https://mainnet.base.org

What Works Without API Keys

FeatureWithout API KeyWith API Key
Token prices✅ CoinGecko free tier✅ Higher rate limits
DeFi analytics✅ DefiLlama (free)-
Security checks✅ GoPlus (free)-
DEX analytics✅ GeckoTerminal (free)-
Social sentiment❌✅ LunarCrush
Crypto news❌✅ CryptoPanic
Cross-chain swaps✅ Basic✅ Best routes

Documentation

https://mcp.giving


� Documentation & Examples

📖 Documentation

Comprehensive guides and API references:

💻 Examples

Working code examples you can run and modify:

Each example includes:

  • Complete source code
  • README with setup instructions
  • Package configuration
  • Environment setup guide

�🗺️ Roadmap

A comprehensive roadmap of all crypto/blockchain/DeFi/Web3 features to be implemented.

Legend

  • ✅ Implemented
  • 🚧 In Progress
  • 📋 Planned
🔗 Core Blockchain Operations (click to expand)

🔗 Core Blockchain Operations

Network & Chain
FeatureStatus
Get chain ID, block number, gas price✅
Get network status/health✅
Switch networks/chains✅
Get supported networks list✅
Get RPC endpoints✅
Estimate block time✅
Get chain metadata (name, symbol, explorers)✅
Get finality status✅
Get mempool/pending transactions✅
Get network peers/nodes✅
Get gas oracle✅
Blocks
FeatureStatus
Get block by number/hash✅
Get latest block✅
Get block transactions✅
Get block receipts✅
Get uncle blocks✅
Subscribe to new blocks📋
Get block rewards✅
Get block gas used/limit✅
Get block range✅
Get blocks by miner✅
Transactions
FeatureStatus
Send transaction✅
Get transaction by hash✅
Get transaction receipt✅
Get transaction status✅
Estimate gas✅
Speed up transaction (replace with higher gas)✅
Cancel transaction✅
Decode transaction input✅
Simulate transaction✅
Get transaction trace📋
Get internal transactions📋
Batch transactions✅
Get pending transactions✅
Get transaction history by address✅
Accounts/Wallets
FeatureStatus
Get balance (native/token)✅
Get nonce✅
Get transaction count✅
Create wallet✅
Import wallet (private key/mnemonic)✅
Export private key📋
Sign message✅
Verify signature✅
Get address from private key✅
Generate mnemonic✅
Derive addresses (HD wallet)✅
Multi-sig wallet operations📋
Get wallet permissions📋
Revoke approvals✅
Account abstraction (ERC-4337)📋
Social recovery📋
Hardware wallet integration📋
Get wallet portfolio✅
Get token approvals✅
💰 Token Operations (click to expand)

💰 Token Operations

Native Tokens
FeatureStatus
Get native balance✅
Transfer native tokens✅
Wrap/unwrap native tokens (WETH, WBNB)✅
ERC-20 (Fungible Tokens)
FeatureStatus
Get token info (name, symbol, decimals, total supply)✅
Get token balance✅
Transfer tokens✅
Approve spending✅
Get allowance✅
Transfer from (delegated)✅
Burn tokens✅
Mint tokens✅
Get token holders✅
Get token transfers✅
Permit (gasless approvals - EIP-2612)✅
Batch transfers✅
Token snapshots📋
Get token supply info✅
Check/revoke token approval✅
ERC-721 (NFTs)
FeatureStatus
Get NFT metadata✅
Get NFT owner✅
Transfer NFT✅
Approve NFT✅
Set approval for all✅
Get NFTs by owner✅
Get NFT collection info✅
Mint NFT📋
Burn NFT📋
Get NFT transfer history📋
Get NFT traits/attributes✅
Get NFT rarity📋
Verify NFT authenticity📋
Batch transfer NFTs✅
Check NFT approval✅
Revoke NFT approval✅
Approve for marketplace✅
Fetch NFT metadata from URI✅
ERC-1155 (Multi-Token)
FeatureStatus
Get token balance (fungible + NFT)✅
Batch transfers📋
Batch balance queries📋
Safe transfer✅
Get URI✅
Other Token Standards
FeatureStatus
ERC-777 (advanced fungible)📋
ERC-3525 (semi-fungible)📋
ERC-4626 (tokenized vaults)📋
ERC-6551 (token-bound accounts)📋
ERC-404 (hybrid tokens)📋
Soulbound tokens (SBTs)📋
🏦 DeFi - DEX, Lending, Staking, Derivatives (click to expand)

🏦 DeFi - Decentralized Exchanges (DEX)

Swaps
FeatureStatus
Get quote/price✅
Swap exact tokens for tokens✅
Swap tokens for exact tokens✅
Multi-hop swaps✅
Split route swaps📋
Cross-DEX aggregation✅
Limit orders📋
TWAP orders (time-weighted)📋
Stop-loss orders📋
Get slippage estimate✅
Get price impact✅
MEV protection (private transactions)📋
DEX Analytics
FeatureStatus
Get trending pools✅
Get new pools✅
Get top pools by volume✅
Get pool OHLCV data✅
Get pool trades✅
Get token pools✅
Get DEX list✅
Search pools cross-chain✅
Get token price by contract✅
Get pool transactions✅
Multi-token price lookup✅
Liquidity Provision
FeatureStatus
Add liquidity✅
Remove liquidity✅
Get LP token balance✅
Get pool reserves✅
Get pool APY/APR📋
Get impermanent loss estimate📋
Concentrated liquidity (Uniswap V3)📋
Set price range📋
Collect fees📋
Rebalance position📋
Add liquidity with native token✅
Calculate arbitrage opportunities✅
AMM Types Support
FeatureStatus
Constant product (x*y=k)✅
Stable swap (Curve)📋
Concentrated liquidity📋
Order book hybrid📋
Virtual AMM (perpetuals)📋

🏦 DeFi - Lending & Borrowing

Lending
FeatureStatus
Supply/deposit assets✅
Withdraw assets✅
Get supply APY✅
Get supplied balance✅
Get utilization rate📋
Enable/disable as collateral📋
Borrowing
FeatureStatus
Borrow assets✅
Repay debt✅
Get borrow APY✅
Get borrowed balance✅
Get health factor✅
Get liquidation threshold✅
Get max borrowable amount📋
Flash loans✅
Get borrow limit📋
Get flash loan info✅
Liquidations
FeatureStatus
Liquidate unhealthy positions📋
Get liquidatable positions✅
Get liquidation bonus📋
Partial liquidations📋
Isolated Markets
FeatureStatus
Supply to isolated pool📋
Borrow from isolated pool📋
Get isolation mode debt ceiling📋

🥩 DeFi - Staking

Native Staking
FeatureStatus
Stake native tokens✅
Unstake/withdraw✅
Claim rewards✅
Get staking APY✅
Get validator list📋
Delegate to validator📋
Redelegate📋
Get unbonding period📋
Liquid Staking
FeatureStatus
Stake for liquid staking tokens (stETH, rETH)✅
Unwrap liquid staking tokens✅
Get exchange rate✅
Get staking rewards rate✅
LP Staking/Farming
FeatureStatus
Stake LP tokens✅
Unstake LP tokens✅
Claim farming rewards✅
Get farming APY✅
Compound rewards📋
Get pending rewards✅
Boost rewards (veTokens)📋
Restaking
FeatureStatus
Restake assets (EigenLayer)📋
Get restaking points📋
Choose operators📋
Withdraw from restaking📋

📊 DeFi - Derivatives

Perpetual Futures
FeatureStatus
Open long/short position📋
Close position📋
Add/remove margin📋
Set leverage📋
Get funding rate📋
Get open interest📋
Get liquidation price📋
Set stop-loss/take-profit📋
Get PnL📋
Partial close📋
Options
FeatureStatus
Buy call/put options📋
Sell/write options📋
Exercise options📋
Get option greeks📋
Get implied volatility📋
Get option chain📋
Spread strategies📋
Synthetics
FeatureStatus
Mint synthetic assets📋
Burn synthetic assets📋
Get collateral ratio📋
Get synthetic price feed📋
Liquidate synthetic positions📋
🌉 Cross-Chain, Governance, Security, NFTs (click to expand)

🌉 Cross-Chain & Bridges

Bridging
FeatureStatus
Bridge tokens cross-chain✅
Get bridge quote✅
Get bridge status✅
Get supported chains✅
Get supported tokens✅
Claim bridged tokens📋
Get bridge fees✅
Get estimated time✅
Cross-Chain Messaging
FeatureStatus
Send cross-chain message📋
Receive cross-chain message📋
LayerZero operations📋
Axelar operations📋
Wormhole operations📋
CCIP (Chainlink)📋
Hyperlane operations📋
Atomic Swaps
FeatureStatus
Initiate atomic swap📋
Complete atomic swap📋
Refund atomic swap📋

🗳️ Governance

Voting
FeatureStatus
Create proposal✅
Vote on proposal✅
Delegate votes✅
Get voting power✅
Get proposal state✅
Queue proposal✅
Execute proposal✅
Cancel proposal✅
Get vote receipt✅
Token Locking
FeatureStatus
Lock tokens for voting (veTokens)📋
Extend lock period📋
Increase locked amount📋
Withdraw unlocked tokens📋
Get lock info📋
Snapshot (Off-chain)
FeatureStatus
Create space📋
Create off-chain proposal📋
Vote off-chain📋
Get snapshot results📋

🔐 Security & Analysis

Contract Analysis
FeatureStatus
Verify contract source✅
Get contract ABI✅
Check if contract is proxy✅
Get implementation address✅
Detect honeypots✅
Check for rug pull risks✅
GoPlus token security check✅
GoPlus rug pull detection✅
Audit score📋
Get contract creator✅
Get contract age✅
Detect malicious functions✅
Token Security
FeatureStatus
Check token safety✅
Get holder distribution✅
Check if mintable✅
Check if pausable✅
Check for hidden fees✅
Check liquidity locked✅
Get top holders✅
Check ownership renounced✅
GoPlus NFT security✅
GoPlus approval security✅
Wallet Security
FeatureStatus
Get approval list✅
Revoke approvals✅
Check for drainers✅
Simulate transaction safety✅
Get wallet risk score📋
GoPlus address security✅
GoPlus dApp phishing check✅
GoPlus signature decode✅

📈 Price & Market Data

Price Feeds
FeatureStatus
Get current price✅
Get historical prices✅
Get OHLCV data✅
Get price from DEX✅
Get price from oracle (Chainlink, Pyth)✅
Get TWAP price✅
Get price across exchanges✅
Get volume✅
Get market cap✅
Get trending coins✅
Get token by contract address✅
Get exchange rates✅
Get coin categories✅
Get derivatives data✅
Get company BTC/ETH holdings✅
Analytics
FeatureStatus
Get TVL (Total Value Locked)✅
Get protocol metrics✅
Get yield farming APYs✅
Get gas tracker✅
Get whale transactions📋
Get token flow analysis📋
Get DEX volume✅
Get lending metrics📋
Get DeFi fees & revenue✅
Get stablecoin data✅
Get bridge volumes✅
Get liquidation data✅
Get DeFi hacks history✅
Get perpetuals data✅

🆔 Identity & Domains

ENS (Ethereum Name Service)
FeatureStatus
Register domain✅
Resolve name to address✅
Reverse resolve address to name✅
Set primary name📋
Set records (text, address, content hash)✅
Transfer domain✅
Renew domain✅
Get expiry date📋
Set subdomains✅
Other Name Services
FeatureStatus
Unstoppable Domains📋
Space ID (.bnb)📋
Bonfida (.sol)📋
ANS (.avax)📋
DIDs & Verifiable Credentials
FeatureStatus
Create DID📋
Resolve DID📋
Issue verifiable credential📋
Verify credential📋
Revoke credential📋

🖼️ NFT & Metaverse

NFT Marketplace
FeatureStatus
List NFT for sale📋
Buy NFT📋
Make offer📋
Accept offer📋
Cancel listing📋
Auction NFT📋
Bid on auction📋
Get floor price📋
Get collection stats📋
NFT Creation
FeatureStatus
Deploy NFT collection📋
Mint NFTs📋
Set royalties📋
Set metadata📋
Reveal NFTs📋
Whitelist management📋
Airdrop NFTs📋
NFT Finance
FeatureStatus
NFT collateralized loans📋
NFT fractionalization📋
NFT renting📋
NFT staking📋
Metaverse
FeatureStatus
Buy virtual land📋
Sell virtual land📋
Build on land📋
Transfer assets between metaverses📋

🔔 Events & Subscriptions

Event Listening
FeatureStatus
Subscribe to contract events📋
Subscribe to pending transactions📋
Subscribe to new blocks📋
Subscribe to logs📋
Filter events by topic✅
Get historical events✅
Decode event logs✅
Webhooks & Notifications
FeatureStatus
Set up webhook for events📋
Get transaction notifications📋
Get price alerts📋
Get whale alerts📋
Get governance notifications📋

📜 Smart Contract Interaction

Read Operations
FeatureStatus
Call view/pure functions✅
Get storage at slot✅
Get contract bytecode✅
Multicall (batch reads)✅
Static call simulation✅
Write Operations
FeatureStatus
Send transaction to contract✅
Encode function call✅
Decode function result✅
Estimate gas for call✅
Batch transactions✅
Contract Deployment
FeatureStatus
Deploy contract✅
Deploy with CREATE2✅
Deploy proxy contract✅
Upgrade proxy✅
Verify on explorer✅

🤖 Advanced Features

MEV & Flashbots
FeatureStatus
Submit private transaction✅
Submit bundle✅
Get MEV opportunities✅
Backrun protection✅
Frontrun protection✅
Sandwich protection✅
Account Abstraction (ERC-4337)
FeatureStatus
Create smart account📋
Execute user operation📋
Batch operations📋
Sponsor gas (Paymaster)📋
Session keys📋
Social recovery📋
Intents & Solvers
FeatureStatus
Submit intent📋
Get solver quotes📋
Execute via solver📋
Oracles
FeatureStatus
Get Chainlink price✅
Get Pyth price📋
Get Band Protocol price📋
Get API3 price📋
Request randomness (VRF)📋
Request external data📋

🛠️ Utility Functions

Gas
FeatureStatus
Get gas price✅
Get priority fee✅
Get base fee✅
Get gas history✅
Estimate gas for transaction✅
Get EIP-1559 fees✅
Encoding/Decoding
FeatureStatus
ABI encode✅
ABI decode✅
Keccak256 hash✅
Pack/unpack data✅
Sign typed data (EIP-712)✅
Address Utils
FeatureStatus
Validate address✅
Checksum address✅
Get address from ENS✅
Check if contract✅
Get contract type📋

📰 Data & Information

News & Social
FeatureStatus
Get crypto news✅
Search crypto news✅
Get DeFi news✅
Get Bitcoin news✅
Get breaking news✅
Get social sentiment✅
Get influencer rankings✅
Get trending topics✅
Get coin social metrics✅
Get social feed✅
Get market sentiment index✅
Get Galaxy Score✅
Get AltRank✅
Get Twitter mentions📋
Get Discord activity📋
Get GitHub activity📋
On-Chain Data
FeatureStatus
Get token holders📋
Get whale wallets📋
Get smart money movements📋
Get protocol users📋
Get daily active addresses📋
Get network hash rate📋
🏛️ Institutional & Compliance (click to expand)

🏛️ Institutional & Compliance

KYC/AML
FeatureStatus
Wallet screening📋
Transaction monitoring📋
Risk scoring📋
Sanctions checking📋
Custody
FeatureStatus
Multi-sig operations📋
Cold storage📋
Hot wallet management📋
Policy enforcement📋
Reporting
FeatureStatus
Tax reporting📋
Portfolio tracking✅
P&L reporting📋
Transaction history export📋

Data Sources

This MCP server integrates with the following APIs:

ProviderData TypeAPI Key Required
CoinGeckoMarket data, prices, OHLCVOptional (free tier)
CoinStatsPortfolio, prices, walletsYes
DefiLlamaTVL, yields, fees, protocolsNo
LunarCrushSocial sentiment, influencersYes
GoPlusSecurity analysis, honeypot detectionNo
GeckoTerminalDEX pools, trades, OHLCVNo
DexPaprikaDEX analytics, poolsNo
CryptoPanicCrypto newsYes
Alternative.meFear & Greed IndexNo

Related MCP Servers

Additional specialized MCP servers, maintained in their own repositories:

ServerDescriptionTools
Binance-MCPBinance.com global exchange API156+ tools
Binance-US-MCPBinance.US exchange API71+ tools

Binance.com Server

Full Binance global API coverage including:

  • Spot trading, wallet, staking, mining
  • Convert, Simple Earn, Algo Trading (TWAP/VP)
  • NFT, Pay, Copy Trading, Dual Investment
  • VIP Loans, C2C/P2P, Fiat
json
{  "mcpServers": {    "binance": {      "command": "npx",      "args": ["ts-node", "binance-mcp-server/src/index.ts"],      "env": {        "BINANCE_API_KEY": "your_key",        "BINANCE_API_SECRET": "your_secret"      }    }  }}

Binance.US Server

US-regulated exchange with:

  • Market data, spot trading, wallet
  • Staking, OTC, sub-accounts
  • Custodial solutions (institutional)
json
{  "mcpServers": {    "binance-us": {      "command": "node",      "args": ["binance-us-mcp-server/build/index.js"],      "env": {        "BINANCE_US_API_KEY": "your_key",        "BINANCE_US_API_SECRET": "your_secret"      }    }  }}

Credits

Built by nich (github.com/nirholas)

[Follow on X]


🏢 Who's Using This?

Universal Crypto MCP is used by developers and teams building:

  • 🤖 AI Trading Bots - Automated portfolio management
  • 📊 Analytics Dashboards - DeFi monitoring tools
  • 🔒 Security Auditors - Token vetting workflows
  • 🏦 DeFi Applications - Cross-chain operations
  • 📱 Mobile Apps - Crypto portfolio trackers
  • 🎓 Educational Tools - Blockchain learning platforms

Using Universal Crypto MCP? Let us know! We'd love to feature your project.


🤝 Contributing

We welcome contributions of all kinds! Please read our Contributing Guide for details.

Quick Start for Contributors

bash
# Fork and clone the repogit clone https://github.com/YOUR_USERNAME/universal-crypto-mcp.gitcd universal-crypto-mcp
# Install dependenciesnpm install
# Create a feature branchgit checkout -b feat/your-feature
# Make your changes, then run checksnpm run lint          # Check code stylenpm test              # Run testsnpm run test:coverage # Check coverage
# Commit with conventional commitsgit commit -m "feat(module): add new feature"
# Push and create a PRgit push origin feat/your-feature

Code Style

We use Prettier for formatting and ESLint for linting:

bash
npm run format    # Format codenpm run lint      # Check types and lintnpm run lint:fix  # Auto-fix issues

Ways to Contribute


📜 License

Apache-2.0 © nich


Stop copy-pasting blockchain queries. Let AI do it.
Made with 💜 for the crypto community

[Star on GitHub]


🌐 Live HTTP Deployment

Universal Crypto MCP is deployed and accessible over HTTP via MCP Streamable HTTP transport — no local installation required.

Endpoint:

https://modelcontextprotocol.name/mcp/universal-crypto-mcp

Connect from any MCP Client

Add to your MCP client configuration (Claude Desktop, Cursor, SperaxOS, etc.):

json
{  "mcpServers": {    "universal-crypto-mcp": {      "type": "http",      "url": "https://modelcontextprotocol.name/mcp/universal-crypto-mcp"    }  }}

Available Tools (11)

ToolDescription
get_priceGet crypto prices
get_market_overviewMarket overview
get_trendingTrending coins
search_coinsSearch coins
get_coin_detailCoin details
get_global_statsGlobal stats
get_defi_protocolsDeFi protocols
get_protocol_detailProtocol detail
get_chain_tvlChain TVL
get_gas_pricesEthereum gas prices
get_token_infoToken by contract

Example Requests

Get crypto prices:

bash
curl -X POST https://modelcontextprotocol.name/mcp/universal-crypto-mcp \  -H "Content-Type: application/json" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_price","arguments":{"ids":"bitcoin","vs_currencies":"usd"}}}'

Market overview:

bash
curl -X POST https://modelcontextprotocol.name/mcp/universal-crypto-mcp \  -H "Content-Type: application/json" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_market_overview","arguments":{"limit":10}}}'

Trending coins:

bash
curl -X POST https://modelcontextprotocol.name/mcp/universal-crypto-mcp \  -H "Content-Type: application/json" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_trending","arguments":{}}}'

List All Tools

bash
curl -X POST https://modelcontextprotocol.name/mcp/universal-crypto-mcp \  -H "Content-Type: application/json" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Also Available On

Powered by modelcontextprotocol.name — the open MCP HTTP gateway

Star History

[Star History Chart]

Support the project

If universal-crypto-mcp saves you time, star it on GitHub. Stars are how other developers and AI agents find the repositories worth trusting, and they cost you one click.

Know someone who would use it? Post on X · Share on Bluesky · Share on LinkedIn · Submit to Hacker News · Share on Reddit

Built for AI agents too

Coding agents and LLM tooling can read this repo directly: AGENTS.md, llms.txt, llms-full.txt. Point an agent at https://github.com/nirholas/universal-crypto-mcp and it has the context it needs.

More from the same author

Contributors

[Contributors]

來源:README.md,提交 ced238d

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。