An open-source Model Context Protocol (MCP) server and web application for seamless integration with Coinbase's public API. This project enables AI agents, LLMs, and developers to interact with cryptocurrency data, market information, and trading insights through a standardized, secure interface.
Key Features
MCP Server Capabilities
- Full protocol compliance with Model Context Protocol specifications
8 specialized tools for cryptocurrency data interaction:
- Real-time price tracking
- Historical data analysis
- Market statistics
- Asset search functionality
- Technical analysis tools
- Pre-configured IDE integration for Cursor and Claude Desktop
- Built-in security with rate limiting and intelligent caching
Interactive Chat Interface
- AI-powered conversations with GPT-4 integration
- Persistent session management with auto-titling functionality
- Real-time synchronization across browser sessions
API Explorer
- Interactive documentation for all MCP tools
- Live testing environment with code generation
- Comprehensive endpoint coverage
Getting Started
System Requirements
- Node.js 18+
- npm 9+
Installation Steps
Clone the repository:
git clone https://github.com/your-username/coinbase-chat-mcp.git cd coinbase-chat-mcpInstall dependencies:
npm installBuild the MCP server:
cd mcp-server && npm run buildLaunch development servers:
cd api-server && npm run dev & cd frontend && npm run dev &
Integration Options
Cursor IDE Setup (Recommended)
The project includes pre-configured settings in .cursor/mcp.json. Simply restart Cursor IDE after installation.
Claude Desktop Configuration
Add to your Claude Desktop config:
{
"mcpServers": {
"coinbase-mcp": {
"command": "node",
"args": ["/path/to/coinbase-chat-mcp/mcp-server/dist/index.js"]
}
}
}Technical Architecture
The system comprises three main components:
- MCP Server: Core protocol implementation with 8 cryptocurrency tools
- API Server: Express.js REST interface
- Frontend: React application with TailwindCSS
Security Considerations
- Client-side API keys protected with development-mode restrictions
- Built-in rate limiting against Coinbase API thresholds
- Secure environment variable configuration
๐ Explore advanced cryptocurrency integration techniques
Frequently Asked Questions
What cryptocurrency data can I access through this MCP server?
The server provides access to:
- Real-time price data
- Historical price information
- Market statistics
- Asset details
- Technical analysis metrics
How do I enable the AI chat functionality?
- Obtain an OpenAI API key
- Create a
.envfile in the frontend directory Add your API key:
VITE_OPENAI_API_KEY=your_key_here- Restart the frontend server
What makes this MCP server different from direct API access?
The MCP server provides:
- Standardized protocol for consistent LLM interaction
- Built-in tool abstraction layer
- Pre-configured integrations with development environments
- Enhanced security through rate limiting
Can I use this for commercial applications?
Yes, the project is MIT-licensed, allowing commercial use with proper attribution. However, be mindful of Coinbase's API rate limits.
๐ Discover more cryptocurrency tools and resources
Development Roadmap
- v1.1: Enhanced session persistence
- v1.2: WebSocket real-time streaming
- v1.3: Advanced charting capabilities
- v2.0: Multi-exchange support
Contribution Guidelines
We welcome community contributions through:
- Bug reports via GitHub Issues
- Feature discussions in GitHub Discussions
- Direct pull requests for improvements
Support Options
- GitHub issue tracker for technical support
- Community discussions for general questions
- Documentation for self-service troubleshooting
This project represents a significant advancement in cryptocurrency data accessibility for AI applications, bridging the gap between complex financial APIs and intelligent agent ecosystems.