
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 分
请在仓库或注册中心条目中声明许可证。