
Universal Blockchain MCP
io.github.nirholasPublished by GitHub account nirholasv1.0.0Updated Oct 24, 2026
Universal blockchain MCP - swaps bridges staking lending Ethereum Arbitrum
Overview
A local MCP server giving an assistant 380+ blockchain tools for swaps, bridges, staking, lending, market data and security checks across EVM and other chains.
- What you can do
- Exposes a large toolset for interacting with EVM-compatible networks and other chains: token swaps via DEX aggregators, cross-chain bridges, staking and lending positions, gas prices, portfolio and wallet analytics, ENS domains, contract deployment, signatures, event logs, and market data from sources such as CoinGecko and DefiLlama. It also bundles security checks (honeypot, rug-pull, token and dApp scanning) and an x402 payment module with 14 tools for paying for APIs and sending funds. It runs locally over stdio, with optional HTTP and SSE modes.
- When to use it
- Use it when an assistant needs to read or act on blockchain data and DeFi positions across many chains from one server, for example portfolio tracking, swap or bridge quotes, security vetting of tokens, or on-chain analytics. It is not needed for purely off-chain tasks.
- Requirements
- Runs locally via npx, so Node.js is required. Optional environment variables include PRIVATE_KEY for write operations, X402_PRIVATE_KEY and X402_CHAIN for the payment module, and optional API keys such as COINGECKO_API_KEY, COINSTATS_API_KEY, LUNARCRUSH_API_KEY, CRYPTOPANIC_API_KEY and RUBIC_API_KEY; custom RPC URLs can be set. Network access is needed for on-chain and market data calls.
Installation
In SourceWeft
- Open Universal Blockchain MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: README.md at commit ced238d
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.