# Universal Crypto MCP
A Universal Model Context Protocol server for all EVM-compatible networks.
Enable AI agents to interact with any EVM blockchain through natural language.
## Supported Networks
- BNB Smart Chain (BSC)
- opBNB
- Arbitrum One
- Ethereum
- Polygon
- Base
- Optimism
- + All testnets
## 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, holder analysis, contract permissions
- π° **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
## 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](https://chatgpt.com/#settings/Connectors/Advanced) 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](https://universal-crypto-mcp.vercel.app/mcp-server/chatgpt-setup/).
## Server Modes
| Mode | Command | Use Case |
|------|---------|----------|
| stdio | `npx @nirholas/universal-crypto-mcp` | Claude Desktop, Cursor |
| HTTP | `npx @nirholas/universal-crypto-mcp --http` | ChatGPT Developer Mode |
| SSE | `npx @nirholas/universal-crypto-mcp --sse` | Legacy HTTP clients |
## Local Development
```bash
# Clone
git clone https://github.com/nirholas/universal-crypto-mcp
cd universal-crypto-mcp
# Install
bun install
# Run dev server (stdio - Claude)
bun dev
# Run dev server (HTTP - ChatGPT)
bun dev:http
# Run dev server (SSE - legacy)
bun dev:sse
```
## Documentation
https://universal-crypto-mcp.vercel.app
---
## πΊοΈ Roadmap
A comprehensive roadmap of all crypto/blockchain/DeFi/Web3 features to be implemented.
### Legend
- β
Implemented
- π§ In Progress
- π Planned
---
### π Core Blockchain Operations
#### Network & Chain
| Feature | Status |
|---------|--------|
| 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
| Feature | Status |
|---------|--------|
| 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
| Feature | Status |
|---------|--------|
| 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
| Feature | Status |
|---------|--------|
| 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
#### Native Tokens
| Feature | Status |
|---------|--------|
| Get native balance | β
|
| Transfer native tokens | β
|
| Wrap/unwrap native tokens (WETH, WBNB) | β
|
#### ERC-20 (Fungible Tokens)
| Feature | Status |
|---------|--------|
| 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)
| Feature | Status |
|---------|--------|
| 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)
| Feature | Status |
|---------|--------|
| Get token balance (fungible + NFT) | β
|
| Batch transfers | π |
| Batch balance queries | π |
| Safe transfer | β
|
| Get URI | β
|
#### Other Token Standards
| Feature | Status |
|---------|--------|
| 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 - Decentralized Exchanges (DEX)
#### Swaps
| Feature | Status |
|---------|--------|
| 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) | π |
#### Liquidity Provision
| Feature | Status |
|---------|--------|
| 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
| Feature | Status |
|---------|--------|
| Constant product (x*y=k) | β
|
| Stable swap (Curve) | π |
| Concentrated liquidity | π |
| Order book hybrid | π |
| Virtual AMM (perpetuals) | π |
---
### π¦ DeFi - Lending & Borrowing
#### Lending
| Feature | Status |
|---------|--------|
| Supply/deposit assets | β
|
| Withdraw assets | β
|
| Get supply APY | β
|
| Get supplied balance | β
|
| Get utilization rate | π |
| Enable/disable as collateral | π |
#### Borrowing
| Feature | Status |
|---------|--------|
| 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
| Feature | Status |
|---------|--------|
| Liquidate unhealthy positions | π |
| Get liquidatable positions | β
|
| Get liquidation bonus | π |
| Partial liquidations | π |
#### Isolated Markets
| Feature | Status |
|---------|--------|
| Supply to isolated pool | π |
| Borrow from isolated pool | π |
| Get isolation mode debt ceiling | π |
---
### π₯© DeFi - Staking
#### Native Staking
| Feature | Status |
|---------|--------|
| Stake native tokens | β
|
| Unstake/withdraw | β
|
| Claim rewards | β
|
| Get staking APY | β
|
| Get validator list | π |
| Delegate to validator | π |
| Redelegate | π |
| Get unbonding period | π |
#### Liquid Staking
| Feature | Status |
|---------|--------|
| Stake for liquid staking tokens (stETH, rETH) | β
|
| Unwrap liquid staking tokens | β
|
| Get exchange rate | β
|
| Get staking rewards rate | β
|
#### LP Staking/Farming
| Feature | Status |
|---------|--------|
| Stake LP tokens | β
|
| Unstake LP tokens | β
|
| Claim farming rewards | β
|
| Get farming APY | β
|
| Compound rewards | π |
| Get pending rewards | β
|
| Boost rewards (veTokens) | π |
#### Restaking
| Feature | Status |
|---------|--------|
| Restake assets (EigenLayer) | π |
| Get restaking points | π |
| Choose operators | π |
| Withdraw from restaking | π |
---
### π DeFi - Derivatives
#### Perpetual Futures
| Feature | Status |
|---------|--------|
| 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
| Feature | Status |
|---------|--------|
| Buy call/put options | π |
| Sell/write options | π |
| Exercise options | π |
| Get option greeks | π |
| Get implied volatility | π |
| Get option chain | π |
| Spread strategies | π |
#### Synthetics
| Feature | Status |
|---------|--------|
| Mint synthetic assets | π |
| Burn synthetic assets | π |
| Get collateral ratio | π |
| Get synthetic price feed | π |
| Liquidate synthetic positions | π |
---
### π Cross-Chain & Bridges
#### Bridging
| Feature | Status |
|---------|--------|
| 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
| Feature | Status |
|---------|--------|
| Send cross-chain message | π |
| Receive cross-chain message | π |
| LayerZero operations | π |
| Axelar operations | π |
| Wormhole operations | π |
| CCIP (Chainlink) | π |
| Hyperlane operations | π |
#### Atomic Swaps
| Feature | Status |
|---------|--------|
| Initiate atomic swap | π |
| Complete atomic swap | π |
| Refund atomic swap | π |
---
### π³οΈ Governance
#### Voting
| Feature | Status |
|---------|--------|
| Create proposal | β
|
| Vote on proposal | β
|
| Delegate votes | β
|
| Get voting power | β
|
| Get proposal state | β
|
| Queue proposal | β
|
| Execute proposal | β
|
| Cancel proposal | β
|
| Get vote receipt | β
|
#### Token Locking
| Feature | Status |
|---------|--------|
| Lock tokens for voting (veTokens) | π |
| Extend lock period | π |
| Increase locked amount | π |
| Withdraw unlocked tokens | π |
| Get lock info | π |
#### Snapshot (Off-chain)
| Feature | Status |
|---------|--------|
| Create space | π |
| Create off-chain proposal | π |
| Vote off-chain | π |
| Get snapshot results | π |
---
### π Security & Analysis
#### Contract Analysis
| Feature | Status |
|---------|--------|
| Verify contract source | β
|
| Get contract ABI | β
|
| Check if contract is proxy | β
|
| Get implementation address | β
|
| Detect honeypots | β
|
| Check for rug pull risks | β
|
| Audit score | π |
| Get contract creator | β
|
| Get contract age | β
|
| Detect malicious functions | β
|
#### Token Security
| Feature | Status |
|---------|--------|
| 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 | β
|
#### Wallet Security
| Feature | Status |
|---------|--------|
| Get approval list | β
|
| Revoke approvals | β
|
| Check for drainers | β
|
| Simulate transaction safety | β
|
| Get wallet risk score | π |
---
### π Price & Market Data
#### Price Feeds
| Feature | Status |
|---------|--------|
| 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 | π |
#### Analytics
| Feature | Status |
|---------|--------|
| 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 | π |
---
### π Identity & Domains
#### ENS (Ethereum Name Service)
| Feature | Status |
|---------|--------|
| 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
| Feature | Status |
|---------|--------|
| Unstoppable Domains | π |
| Space ID (.bnb) | π |
| Bonfida (.sol) | π |
| ANS (.avax) | π |
#### DIDs & Verifiable Credentials
| Feature | Status |
|---------|--------|
| Create DID | π |
| Resolve DID | π |
| Issue verifiable credential | π |
| Verify credential | π |
| Revoke credential | π |
---
### πΌοΈ NFT & Metaverse
#### NFT Marketplace
| Feature | Status |
|---------|--------|
| 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
| Feature | Status |
|---------|--------|
| Deploy NFT collection | π |
| Mint NFTs | π |
| Set royalties | π |
| Set metadata | π |
| Reveal NFTs | π |
| Whitelist management | π |
| Airdrop NFTs | π |
#### NFT Finance
| Feature | Status |
|---------|--------|
| NFT collateralized loans | π |
| NFT fractionalization | π |
| NFT renting | π |
| NFT staking | π |
#### Metaverse
| Feature | Status |
|---------|--------|
| Buy virtual land | π |
| Sell virtual land | π |
| Build on land | π |
| Transfer assets between metaverses | π |
---
### π Events & Subscriptions
#### Event Listening
| Feature | Status |
|---------|--------|
| 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
| Feature | Status |
|---------|--------|
| Set up webhook for events | π |
| Get transaction notifications | π |
| Get price alerts | π |
| Get whale alerts | π |
| Get governance notifications | π |
---
### π Smart Contract Interaction
#### Read Operations
| Feature | Status |
|---------|--------|
| Call view/pure functions | β
|
| Get storage at slot | β
|
| Get contract bytecode | β
|
| Multicall (batch reads) | β
|
| Static call simulation | β
|
#### Write Operations
| Feature | Status |
|---------|--------|
| Send transaction to contract | β
|
| Encode function call | β
|
| Decode function result | β
|
| Estimate gas for call | β
|
| Batch transactions | β
|
#### Contract Deployment
| Feature | Status |
|---------|--------|
| Deploy contract | β
|
| Deploy with CREATE2 | β
|
| Deploy proxy contract | β
|
| Upgrade proxy | β
|
| Verify on explorer | β
|
---
### π€ Advanced Features
#### MEV & Flashbots
| Feature | Status |
|---------|--------|
| Submit private transaction | β
|
| Submit bundle | β
|
| Get MEV opportunities | β
|
| Backrun protection | β
|
| Frontrun protection | β
|
| Sandwich protection | β
|
#### Account Abstraction (ERC-4337)
| Feature | Status |
|---------|--------|
| Create smart account | π |
| Execute user operation | π |
| Batch operations | π |
| Sponsor gas (Paymaster) | π |
| Session keys | π |
| Social recovery | π |
#### Intents & Solvers
| Feature | Status |
|---------|--------|
| Submit intent | π |
| Get solver quotes | π |
| Execute via solver | π |
#### Oracles
| Feature | Status |
|---------|--------|
| Get Chainlink price | β
|
| Get Pyth price | π |
| Get Band Protocol price | π |
| Get API3 price | π |
| Request randomness (VRF) | π |
| Request external data | π |
---
### π οΈ Utility Functions
#### Gas
| Feature | Status |
|---------|--------|
| Get gas price | β
|
| Get priority fee | β
|
| Get base fee | β
|
| Get gas history | β
|
| Estimate gas for transaction | β
|
| Get EIP-1559 fees | β
|
#### Encoding/Decoding
| Feature | Status |
|---------|--------|
| ABI encode | β
|
| ABI decode | β
|
| Keccak256 hash | β
|
| Pack/unpack data | β
|
| Sign typed data (EIP-712) | β
|
#### Address Utils
| Feature | Status |
|---------|--------|
| Validate address | β
|
| Checksum address | β
|
| Get address from ENS | β
|
| Check if contract | β
|
| Get contract type | π |
---
### π° Data & Information
#### News & Social
| Feature | Status |
|---------|--------|
| Get crypto news | β
|
| Search crypto news | β
|
| Get DeFi news | β
|
| Get Bitcoin news | β
|
| Get breaking news | β
|
| Get social sentiment | π |
| Get Twitter mentions | π |
| Get Discord activity | π |
| Get GitHub activity | π |
#### On-Chain Data
| Feature | Status |
|---------|--------|
| Get token holders | π |
| Get whale wallets | π |
| Get smart money movements | π |
| Get protocol users | π |
| Get daily active addresses | π |
| Get network hash rate | π |
---
### ποΈ Institutional & Compliance
#### KYC/AML
| Feature | Status |
|---------|--------|
| Wallet screening | π |
| Transaction monitoring | π |
| Risk scoring | π |
| Sanctions checking | π |
#### Custody
| Feature | Status |
|---------|--------|
| Multi-sig operations | π |
| Cold storage | π |
| Hot wallet management | π |
| Policy enforcement | π |
#### Reporting
| Feature | Status |
|---------|--------|
| Tax reporting | π |
| Portfolio tracking | β
|
| P&L reporting | π |
| Transaction history export | π |
---
## Credits
Built by **[nich](https://x.com/nichxbt)** ([github.com/nirholas](https://github.com/nirholas))
## License
MIT