Zora Coins MCP Server
Provides access to the Zora Coins ecosystem on Base mainnet, enabling users to query coin data, explore markets, analyze profiles, and execute trades through a standardized interface.
README
šØ Zora Coins MCP Server
A production-ready Model Context Protocol (MCP) server that provides seamless access to the Zora Coins ecosystem. Query coin data, explore markets, manage profiles, and execute trades on Base mainnet through a simple, standardized interface.
⨠Features
š Query Tools (No wallet required)
- Market Exploration: Discover trending coins, top gainers, highest volume, and newest launches
- Coin Analytics: Get detailed market data, holder information, and trading history
- Social Features: Access comments, creator profiles, and community engagement
- Real-time Data: Live pricing, market caps, and trading volumes
ā” Write Operations (Wallet required)
- Create Coins: Deploy new creator coins with custom metadata
- Trade: Buy/sell coins with ETH or ERC20 tokens
- Manage: Update coin metadata and payout recipients
š ļø Developer Experience
- Type Safe: Built with TypeScript and Zod validation
- Error Handling: Comprehensive error messages and graceful failures
- Pagination: Support for large datasets with cursor-based pagination
- Flexible: Works with any MCP-compatible client (Claude Desktop, Cursor, etc.)
š Quick Start
Installation Options
Option 1: NPX (Recommended - No Installation Required)
# Run directly with npx - always uses latest version
npx zora-coins-mcp
Option 2: NPX with Full Package Name
# Alternative NPX syntax
npx zora-coins-mcp-server
Option 3: Global Installation
# Install globally for persistent use
npm install -g zora-coins-mcp-server
# Then run with either command
zora-coins-mcp
# or
zora-coins-mcp-server
Basic Setup
- Create environment file:
cp .env.example .env
- Configure environment variables:
# Required for enhanced features (get from https://zora.co)
ZORA_API_KEY=your_api_key_here
# Optional: Custom RPC endpoint
BASE_RPC_URL=https://mainnet.base.org
# Required for write operations only
PRIVATE_KEY=0xYourPrivateKeyHere
- Test the server:
zora-coins-mcp
š§ MCP Client Integration
Claude Desktop
Add to your ~/.claude/mcp.json:
Option 1: Using NPX (Recommended)
{
"mcpServers": {
"zora-coins": {
"command": "npx",
"args": ["zora-coins-mcp"],
"env": {
"ZORA_API_KEY": "your_api_key_here",
"BASE_RPC_URL": "https://mainnet.base.org",
"PRIVATE_KEY": "0xYourPrivateKeyHere"
}
}
}
}
Option 2: Using Global Installation
{
"mcpServers": {
"zora-coins": {
"command": "zora-coins-mcp",
"env": {
"ZORA_API_KEY": "your_api_key_here",
"BASE_RPC_URL": "https://mainnet.base.org",
"PRIVATE_KEY": "0xYourPrivateKeyHere"
}
}
}
}
Cursor IDE
Configure in your MCP settings:
Option 1: Using NPX (Recommended)
{
"name": "zora-coins",
"command": ["npx", "zora-coins-mcp"],
"env": {
"ZORA_API_KEY": "your_api_key_here"
}
}
Option 2: Using Global Installation
{
"name": "zora-coins",
"command": ["zora-coins-mcp"],
"env": {
"ZORA_API_KEY": "your_api_key_here"
}
}
Custom Integration
# Run as stdio server with npx
npx zora-coins-mcp
# Or if globally installed
zora-coins-mcp
# Development mode with live reload
npm run dev
š Available Tools
š„ Health Check
zora_health- Server diagnostics and configuration status
š Market Exploration
zora_explore_new- Recently created coinszora_explore_top_gainers- Biggest 24h gainerszora_explore_top_volume_24h- Highest trading volumezora_explore_most_valuable- Highest market capzora_explore_last_traded- Recently traded coins
š° Coin Data
zora_get_coin- Comprehensive coin informationzora_get_coins- Batch fetch multiple coinszora_get_coin_holders- Token holder list with balanceszora_get_coin_swaps- Recent trading activityzora_get_coin_comments- Community comments
š¤ Profile Management
zora_get_profile- User profile informationzora_get_profile_coins- Coins created by userzora_get_profile_balances- User's coin portfolio
ā” Trading & Creation (Requires Wallet)
zora_create_coin- Deploy new creator coinzora_trade_coin- Buy/sell coinszora_update_coin_uri- Update metadatazora_update_payout_recipient- Change earnings recipient
š” Usage Examples
Explore Trending Coins
// Get top 5 newest coins
await mcp.callTool("zora_explore_new", { count: 5 });
// Find biggest gainers
await mcp.callTool("zora_explore_top_gainers", { count: 3 });
Analyze a Specific Coin
// Get detailed coin information
await mcp.callTool("zora_get_coin", {
address: "0xd769d56f479e9e72a77bb1523e866a33098feec5"
});
// Check recent trading activity
await mcp.callTool("zora_get_coin_swaps", {
address: "0xd769d56f479e9e72a77bb1523e866a33098feec5",
first: 10
});
Profile Analysis
// Get profile information
await mcp.callTool("zora_get_profile", {
identifier: "base"
});
// See coins created by user
await mcp.callTool("zora_get_profile_coins", {
identifier: "jacob",
count: 5
});
Trading Operations
// Buy a coin with ETH
await mcp.callTool("zora_trade_coin", {
sellType: "eth",
buyType: "erc20",
buyAddress: "0x...",
amount: "0.001",
slippage: 0.05
});
// Create a new coin
await mcp.callTool("zora_create_coin", {
name: "My Creator Coin",
symbol: "MCC",
uri: "ipfs://...",
payoutRecipient: "0x..."
});
āļø Configuration
Environment Variables
| Variable | Required | Description |
|---|---|---|
ZORA_API_KEY |
Recommended | API key from zora.co for enhanced features |
BASE_RPC_URL |
Optional | Base mainnet RPC endpoint (defaults to public RPC) |
CHAIN_ID |
Optional | Chain ID (defaults to 8453 for Base) |
PRIVATE_KEY |
Write ops only | 0x-prefixed private key for transactions |
PLATFORM_REFERRER |
Optional | Address for referral attribution |
Getting API Keys
- Visit zora.co
- Go to Developer Settings
- Generate a new API key
- Add to your
.envfile
Note: The server works without an API key but may have rate limits and reduced functionality.
š Security Best Practices
Private Key Safety
- Never commit private keys to version control
- Use environment variables or secure key management
- Consider using a dedicated wallet for trading operations
- Test with small amounts first
API Key Protection
- Store API keys securely
- Rotate keys regularly
- Monitor usage in Zora dashboard
- Use different keys for development/production
š ļø Development
Local Development
# Clone the repository
git clone https://github.com/your-username/zora-coins-mcp-server.git
cd zora-coins-mcp-server
# Install dependencies
npm install
# Copy environment file
cp .env.example .env
# Start development server
npm run dev
Building
# Build TypeScript
npm run build
# Clean build directory
npm run clean
# Build and start
npm run build && npm start
Project Structure
zora-coins-mcp-server/
āāā src/
ā āāā index.ts # Main server implementation
āāā dist/ # Compiled JavaScript
āāā .env.example # Environment template
āāā package.json # Package configuration
āāā tsconfig.json # TypeScript configuration
āāā README.md # This file
š Supported Networks
- Base Mainnet (8453) - Full support for all operations
- Other networks may have limited functionality
š Resources
Documentation
- Zora Coins SDK - Official SDK documentation
- Model Context Protocol - MCP specification
- Base Network - Layer 2 blockchain documentation
Community
- Zora Discord - Community support
- Base Discord - Network support
š¤ Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Workflow
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
š License
This project is licensed under the MIT License - see the LICENSE file for details.
ā ļø Disclaimer
This software is provided "as is" without warranty. Cryptocurrency trading involves risk. Always:
- Test with small amounts first
- Understand the risks involved
- Never invest more than you can afford to lose
- Do your own research (DYOR)
The Zora Coins on this platform are created for artistic and cultural purposes as collectibles, not as investments or financial instruments.
Built with ā¤ļø for the Zora ecosystem
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.