Luno MCP Server (FastMCP 2.0)

Luno MCP Server (FastMCP 2.0)

mcp-luno•byamanasmuei

A Model Context Protocol server for the Luno cryptocurrency exchange, built with FastMCP 2.0 and Python 3.12, offering price, historical data, account, and trading tools.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Provides real-time cryptocurrency prices and market overview for trading pairs without API credentials.
  • •Offers historical OHLC candlestick data and price range analysis over 1-30 day periods.
  • •Includes private trading tools for balances, placing and canceling orders, order status, transaction history, and fees.
  • •Supports multiple currencies including ZAR, EUR, GBP, and USD trading pairs.

BEST FOR

  • •Checking live cryptocurrency prices across multiple currencies via an assistant.
  • •Analyzing Bitcoin price ranges and historical candlestick data over set periods.
  • •Managing Luno account balances and placing or canceling trades.

ABOUT MCP-LUNO

Luno MCP Server (FastMCP 2.0) is cataloged as an MCP server attributed to amanasmuei. A Model Context Protocol server for the Luno cryptocurrency exchange, built with FastMCP 2.0 and Python 3.12, offering price, historical data, account, and trading tools. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Luno MCP Server (FastMCP 2.0) are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which tools require Luno API credentials?

Public price tools need no credentials, while historical data tools and private account/trading tools require API credentials.

What candlestick timeframes and limits does historical data support?

It supports timeframes from 1m to 7d, with OHLC plus volume and up to 1000 candles per request.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 318052c25d80 · 采集于 2026-11-13 11:52:55 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

🚀 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

# Activate the virtual environment
source venv/bin/activate

# Dependencies are already installed:
# - fastmcp 2.5.1
# - httpx
# - pydantic
# - python-dotenv

2. Configure Claude Desktop

Add this to your ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "luno": {
      "command": "/Users/aman-asmuei/Documents/mcp/mcp-luno/venv/bin/python",
      "args": [
        "/Users/aman-asmuei/Documents/mcp/mcp-luno/src/luno_mcp_server/server.py"
      ],
      "cwd": "/Users/aman-asmuei/Documents/mcp/mcp-luno",
      "env": {
        "LUNO_API_KEY": "your_api_key_here",
        "LUNO_API_SECRET": "your_api_secret_here"
      }
    }
  }
}

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"

🛠️ Available Tools

Public Tools (No API credentials required)

  • get_crypto_price - Real-time prices for any trading pair
  • get_market_overview - Market data and available pairs

Historical Data Tools (API credentials required)

  • get_historical_prices - OHLC candlestick data for any trading pair
  • get_price_range - Price analysis over specified time periods (1-30 days)

Private Tools (API credentials required)

  • get_account_balance - Account balances
  • place_order - Place buy/sell orders
  • cancel_order - Cancel orders
  • get_order_status - Check order status
  • get_transaction_history - Transaction history
  • get_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

luno-mcp/
├── src/
│   ├── luno_mcp/              # Modern FastMCP 2.0 implementation
│   │   ├── server.py          # Main server with all tools
│   │   ├── client.py          # Luno API client
│   │   ├── config.py          # Configuration management
│   │   └── tools/             # Modular tool organization
│   ├── luno_mcp_server/       # Working FastMCP server (CURRENT)
│   │   ├── server.py          # ← Currently used by Claude Desktop
│   │   └── luno_client.py     # Luno API client
│   └── main.py                # Alternative entry point
├── tests/                     # Test suite
├── docs/                      # Documentation
├── archive/                   # Old implementations
├── venv/                      # Python 3.12 virtual environment
└── README.md                  # This file

🔧 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

📚 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.md for 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

  1. Import errors: Make sure you're using the virtual environment
  2. API errors: Check your Luno API credentials
  3. Connection issues: Verify internet connectivity

Get Help

  1. Check the logs in Claude Desktop
  2. Test the server directly: python src/luno_mcp_server/server.py
  3. Verify 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

GitHub Sponsors

🌍 Global donation options that work worldwide:

🪙 Crypto Donations

  • Bitcoin (BTC): 3CPb1HP6Gfpx3MZFdrm4nhoHk4VbX2eZRj
  • Ethereum (ETH): 0x54dC4eDf6c940C52A1434824634d8cE8629767b3
  • Luno 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!

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Luno MCP Server (FastMCP 2.0) from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-luno)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics