Provides real-time cryptocurrency price information and trading capabilities through the Luno exchange, including market overview, account balance queries, order management, and transaction history retrieval for Bitcoin and other cryptocurrencies.
Supports configuration management through .env files, allowing secure storage of API credentials and other environment variables needed for the Luno exchange integration.
Enables version control and codebase management for the MCP server, supporting cloning of the repository during installation.
Allows deployment and distribution of the MCP server through GitHub, providing access to the repository at github.com/amanasmuei/mcp-luno.git.
Supports deployment on Linux systems with specific command instructions for environment activation and server operation.
Provides platform-specific instructions for running the server on macOS systems, including environment activation commands.
Supports automated testing of the MCP server functionality through the pytest testing framework.
Runs on Python 3.8+ (3.9+ recommended) as the implementation language for the MCP server, utilizing Python packages for API interaction with the Luno cryptocurrency exchange.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Luno MCP Serverwhat's the current Bitcoin price in EUR?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
š Luno MCP Server - FastMCP 2.0
A modern Model Context Protocol (MCP) server for the Luno cryptocurrency exchange, built with FastMCP 2.0 and Python 3.12.
ā Quick Start
1. Install Dependencies
2. Configure Claude Desktop
Add this to your ~/Library/Application Support/Claude/claude_desktop_config.json:
3. Test
Restart Claude Desktop and ask:
"What's the Bitcoin price in EUR?"
"Get ETHZAR price"
"Show me my account balance"
"Get historical prices for XBTZAR over the last 7 days"
"Show me Bitcoin price range analysis for the past 30 days"
Related MCP server: AMOCA Solana MCP Server
š ļø Available Tools
Public Tools (No API credentials required)
get_crypto_price- Real-time prices for any trading pairget_market_overview- Market data and available pairs
Historical Data Tools (API credentials required)
get_historical_prices- OHLC candlestick data for any trading pairget_price_range- Price analysis over specified time periods (1-30 days)
Private Tools (API credentials required)
get_account_balance- Account balancesplace_order- Place buy/sell orderscancel_order- Cancel ordersget_order_status- Check order statusget_transaction_history- Transaction historyget_fees- Trading fees
š Historical Price Data Features
Candlestick Data (get_historical_prices)
Timeframes: 1m, 5m, 15m, 30m, 1h, 3h, 4h, 8h, 24h, 3d, 7d
Data: OHLC (Open, High, Low, Close) + Volume
Limit: Up to 1000 candles per request
Format: Standard candlestick data with timestamps
Price Range Analysis (get_price_range)
Period: 1-30 days of historical data
Statistics: High, Low, Open, Close, Average prices
Metrics: Price change, percentage change, total volume
Convenience: Automatic daily candle aggregation
š Supported Trading Pairs
ZAR (South Africa): XBTZAR, ETHZAR, ADAZAR
EUR (Europe): XBTEUR, ETHEUR
GBP (UK): XBTGBP, ETHGBP, SOLGBP
USD (US): XBTUSD, ETHUSD
And more!
šļø Project Structure
š§ Technical Details
Python: 3.12.10 (in virtual environment)
Framework: FastMCP 2.5.1
API Client: httpx for async HTTP requests
Transport: STDIO (JSON-RPC 2.0)
Architecture: Async/await with proper error handling
š Documentation
docs/PYTHON_UPGRADE_GUIDE.md- Python upgrade processdocs/MIGRATION.md- Migration from old versionsdocs/CLAUDE_DESKTOP_SETUP.md- Detailed setup guidedocs/GITHUB_PAGES_FIX.md- Fix GitHub Pages deployment errors
š Documentation Site
Visit our GitHub Pages documentation: https://amanasmuei.github.io/mcp-luno
Note: If you encounter GitHub Pages deployment errors, see
docs/GITHUB_PAGES_FIX.mdfor the complete fix guide.
š Security
API credentials stored as environment variables
All communications use HTTPS
Virtual environment isolation
No credentials logged or exposed
šØ Troubleshooting
Common Issues
Import errors: Make sure you're using the virtual environment
API errors: Check your Luno API credentials
Connection issues: Verify internet connectivity
Get Help
Check the logs in Claude Desktop
Test the server directly:
python src/luno_mcp_server/server.pyVerify dependencies:
pip list | grep fastmcp
š Support This Project
If this Luno MCP server has been helpful for your cryptocurrency trading and analysis, consider supporting its development!
ā Support This Project
š Global donation options that work worldwide:
š GitHub Sponsors: github.com/sponsors/amanasmuei (Monthly/one-time)
š³ PayPal.me: paypal.me/amanasmuei (Direct payments)
ā Star this repo on GitHub
š Report issues and contribute improvements
š¢ Share with other crypto traders
šŖ Crypto Donations
Bitcoin (BTC):
3CPb1HP6Gfpx3MZFdrm4nhoHk4VbX2eZRjEthereum (ETH):
0x54dC4eDf6c940C52A1434824634d8cE8629767b3Luno Trading: Use this MCP server to trade! š
Your support helps maintain and improve this free, open-source trading tool! š
š Success!
You should now have a fully working Luno MCP server with:
ā Real-time cryptocurrency prices
ā Historical price data and candlestick charts
ā Price range analysis and statistics
ā Multi-currency support (ZAR, EUR, GBP, USD)
ā Account management tools
ā Trading capabilities
ā FastMCP 2.0 architecture
Ask Claude: "What's the Bitcoin price in EUR?" or "Show me XBTZAR price history for the past week" to test!