Skip to main content
Glama
BTC MCP Server

BTC MCP Server

by iworkist

BTC MCP Server

Bitcoin price MCP server deployed on Vercel with GitHub auto-deployment.

πŸš€ Features

  • Real-time Bitcoin price from Binance API

  • RESTful API endpoints

  • Automatic deployment from GitHub

  • Health monitoring

Related MCP server: Crypto MCP Server

πŸ“‘ API Endpoints

  • GET /api/get_btc_price - Get current Bitcoin price

  • GET /api/health - Health check

  • GET /api/tools - List available tools

  • GET / - API documentation

πŸ› οΈ Local Development

# Install dependencies
uv sync

# Run locally
uv run python api/index.py

# Test
uv run python test_btcmcp.py

πŸš€ Deployment

Automatic Deployment (GitHub + Vercel)

  1. Setup Vercel Secrets in GitHub:

    • Go to your GitHub repository β†’ Settings β†’ Secrets and variables β†’ Actions

    • Add these secrets:

      • VERCEL_TOKEN: Your Vercel API token

      • ORG_ID: Your Vercel organization ID

      • PROJECT_ID: Your Vercel project ID

  2. Push to main branch:

    git add .
    git commit -m "Deploy to Vercel"
    git push origin main
  3. Automatic deployment:

    • GitHub Actions will automatically deploy to Vercel

    • Your API will be available at: https://your-app.vercel.app

Manual Deployment

# Install Vercel CLI
npm i -g vercel

# Deploy
vercel --prod

πŸ“Š Example Usage

# Get Bitcoin price
curl https://your-app.vercel.app/api/get_btc_price

# Health check
curl https://your-app.vercel.app/api/health

πŸ”§ Configuration

The server uses:

  • Flask for web API

  • Binance API for Bitcoin price data

  • Vercel for hosting

  • GitHub Actions for CI/CD

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Provides an MCP server that allows large language models to access real-time and historical Bitcoin market data from Binance, including current prices, order book data, recent trades, and price history through a standardized interface.
      1
      39 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time cryptocurrency market data from Binance API, including price queries, 24h statistics, K-line data, market trend analysis, and order book depth information for trading analysis.
      39 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An HTTP-based Model Context Protocol server that provides tools and resources for accessing real-time cryptocurrency data from the Binance API. It enables users to fetch prices, analyze market changes, and track activity via a streamable endpoint.
      ISC
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time cryptocurrency data, technical analysis, and market information from Binance and CoinGecko APIs, enabling price queries, K-line analysis, and alpha token tracking.
      -