
Universal Blockchain MCP
io.github.nirholas由 GitHub 帳號 nirholas 發布v1.0.0更新於 Oct 24, 2026
Universal blockchain MCP - swaps bridges staking lending Ethereum Arbitrum
概覽
一個本機 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 位址。鏈上與行情呼叫需要網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Universal Blockchain MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
🤖💰 Universal Crypto MCP
██╗ ██╗███╗ ██╗██╗██╗ ██╗███████╗██████╗ ███████╗ █████╗ ██╗ ██║ ██║████╗ ██║██║██║ ██║██╔════╝██╔══██╗██╔════╝██╔══██╗██║ ██║ ██║██╔██╗ ██║██║██║ ██║█████╗ ██████╔╝███████╗███████║██║ ██║ ██║██║╚██╗██║██║╚██╗ ██╔╝██╔══╝ ██╔══██╗╚════██║██╔══██║██║ ╚██████╔╝██║ ╚████║██║ ╚████╔╝ ███████╗██║ ██║███████║██║ ██║███████╗ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝ ██████╗██████╗ ██╗ ██╗██████╗ ████████╗ ██████╗ ██╔════╝██╔══██╗╚██╗ ██╔╝██╔══██╗╚══██╔══╝██╔═══██╗ ██║ ██████╔╝ ╚████╔╝ ██████╔╝ ██║ ██║ ██║ ██║ ██╔══██╗ ╚██╔╝ ██╔═══╝ ██║ ██║ ██║ ╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ███╗ ███╗ ██████╗██████╗ ████╗ ████║██╔════╝██╔══██╗ ██╔████╔██║██║ ██████╔╝ ██║╚██╔╝██║██║ ██╔═══╝ ██║ ╚═╝ ██║╚██████╗██║ ╚═╝ ╚═╝ ╚═════╝╚═╝
[npm version] [npm downloads] [x402 enabled] [chains]
[MCP Compatible] [TypeScript] [Node.js 18+] [License: Apache 2.0]
✨ 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! 💸
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?
📦 Package Structure
The most comprehensive crypto MCP monorepo with 10+ integrated packages from the best MIT-licensed projects:
📖 View Package Documentation →
Integrated Community MCP Servers
This repo consolidates the best MIT-licensed crypto MCP projects with proper attribution:
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!)
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
x402 Tools (14 Total)
Supported Networks
Example
x402 Architecture
📖 Full Documentation:
- x402 README - Overview and quick start
- Quickstart Guide - 5-minute setup
- MCP Tools Reference - All 14 tools explained
- Architecture - Technical deep dive
- Examples - Real-world use cases
- Security Guide - Best practices
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
Cursor
Add to your MCP settings:
ChatGPT Developer Mode
- Enable Developer Mode in ChatGPT settings
- Start the HTTP server:
- In ChatGPT Settings → Apps, click Create app
- Enter your server URL:
http://localhost:3001/mcp - Select the app in conversations via Developer mode menu
For detailed setup instructions, see ChatGPT Setup Guide.
Server Modes
💬 Example Prompts (Copy & Paste!)
Real prompts you can use with Claude, ChatGPT, or Cursor. Just copy and paste!
🔄 Token Swaps
📊 Market Data & Prices
🌐 DeFi Analytics (DefiLlama)
📈 DEX Analytics
🔒 Security Checks
💰 Staking & Lending
🌉 Cross-Chain Bridges
⛽ Gas & Network
🏛️ Governance
💬 Social Sentiment (LunarCrush)
🆔 ENS Domains
📰 Crypto News
📁 Portfolio & Wallet
🚀 Advanced Operations
📉 Technical Indicators
🔮 Prediction Markets
📊 Events & Logs
✍️ Signatures & Messages
📦 Batch Operations (Multicall)
🧪 Testing
We use Vitest as our testing framework with comprehensive test coverage.
Running Tests
MCP Inspector
Test your MCP tools interactively using the official MCP 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
Local Development
🧪 Testing
Running Tests
Test Structure
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:
Test Fixtures
Reusable test data in tests/utils/fixtures.ts:
For detailed testing documentation, see tests/README.md.
⚙️ Environment Variables
Configure optional API keys for enhanced features. Create a .env file:
What Works Without API Keys
Documentation
� Documentation & Examples
📖 Documentation
Comprehensive guides and API references:
💻 Examples
Working code examples you can run and modify:
- Basic MCP Server - Minimal MCP server with market data tools
- Paid API Example - Add x402 payments to Express API
- Trading Bot - Automated trading bot with RSI + MA strategy
- Full Deployment - Production-ready server with all features
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
Blocks
Transactions
Accounts/Wallets
💰 Token Operations (click to expand)
💰 Token Operations
Native Tokens
ERC-20 (Fungible Tokens)
ERC-721 (NFTs)
ERC-1155 (Multi-Token)
Other Token Standards
🏦 DeFi - DEX, Lending, Staking, Derivatives (click to expand)
🏦 DeFi - Decentralized Exchanges (DEX)
Swaps
DEX Analytics
Liquidity Provision
AMM Types Support
🏦 DeFi - Lending & Borrowing
Lending
Borrowing
Liquidations
Isolated Markets
🥩 DeFi - Staking
Native Staking
Liquid Staking
LP Staking/Farming
Restaking
📊 DeFi - Derivatives
Perpetual Futures
Options
Synthetics
🌉 Cross-Chain, Governance, Security, NFTs (click to expand)
🌉 Cross-Chain & Bridges
Bridging
Cross-Chain Messaging
Atomic Swaps
🗳️ Governance
Voting
Token Locking
Snapshot (Off-chain)
🔐 Security & Analysis
Contract Analysis
Token Security
Wallet Security
📈 Price & Market Data
Price Feeds
Analytics
🆔 Identity & Domains
ENS (Ethereum Name Service)
Other Name Services
DIDs & Verifiable Credentials
🖼️ NFT & Metaverse
NFT Marketplace
NFT Creation
NFT Finance
Metaverse
🔔 Events & Subscriptions
Event Listening
Webhooks & Notifications
📜 Smart Contract Interaction
Read Operations
Write Operations
Contract Deployment
🤖 Advanced Features
MEV & Flashbots
Account Abstraction (ERC-4337)
Intents & Solvers
Oracles
🛠️ Utility Functions
Gas
Encoding/Decoding
Address Utils
📰 Data & Information
News & Social
On-Chain Data
🏛️ Institutional & Compliance (click to expand)
🏛️ Institutional & Compliance
KYC/AML
Custody
Reporting
Data Sources
This MCP server integrates with the following APIs:
Related MCP Servers
Additional specialized MCP servers, maintained in their own repositories:
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
Binance.US Server
US-regulated exchange with:
- Market data, spot trading, wallet
- Staking, OTC, sub-accounts
- Custodial solutions (institutional)
Credits
Built by nich (github.com/nirholas)
🏢 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
Code Style
We use Prettier for formatting and ESLint for linting:
Ways to Contribute
- 🐛 Report bugs
- 💡 Request features
- 📖 Improve docs
- 🔧 Submit pull requests
- ⭐ Star the repo
📜 License
Apache-2.0 © nich
Stop copy-pasting blockchain queries. Let AI do it.
Made with 💜 for the crypto community
🌐 Live HTTP Deployment
Universal Crypto MCP is deployed and accessible over HTTP via MCP Streamable HTTP transport — no local installation required.
Endpoint:
Connect from any MCP Client
Add to your MCP client configuration (Claude Desktop, Cursor, SperaxOS, etc.):
Available Tools (11)
Example Requests
Get crypto prices:
Market overview:
Trending coins:
List All Tools
Also Available On
- SperaxOS — Browse and install from the MCP marketplace
- All 27 MCP servers — See the full catalog at modelcontextprotocol.name
Powered by modelcontextprotocol.name — the open MCP HTTP gateway
Star History
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
- All repositories by nirholas: the full catalog, grouped by topic
- three.ws: the platform for 3D AI agents with Solana wallets, a skill marketplace and x402 payments
- Questions or ideas: open an issue or start a discussion
Contributors
來源:README.md,提交 ced238d
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。