Get the FREE Ultimate OpenClaw Setup Guide →

coin

use Bitget’s API to get cryptocurrency info

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio pwh-pwh-coin-mcp-server deno run --allow-net --allow-read --allow-env https://deno.land/x/coin_mcp_server/main.ts

How to use

This MCP server provides access to live cryptocurrency prices from Bitget through a simple API. The main tool is getTokenPrice, which returns the latest price of a given token paired with USDT. Additional tools include getAnnoucements for server announcements and getCoinInfo which returns detailed information about a specified token, such as transferability, supported chains, and network status. The server is built using FastMCP and uses Zod for parameter validation to ensure inputs are well-formed before making requests to Bitget's API. The server operates in stdio mode when started in the provided configuration and is designed to be lightweight and easy to deploy in various MCP environments.

How to install

Prerequisites:

  • Deno installed on your machine (https://deno.land/).
  • Internet access for the server to reach Bitget's public API.

Installation steps:

  1. Clone the repository: git clone https://github.com/pwh-pwh/coin-mcp-server.git
  2. Enter the project directory: cd coin-mcp-server
  3. Install dependencies is handled by Deno via imports, so no npm/yarn install is required.
  4. Prepare configuration by using the example config (see next section) or customize as needed.

Running locally:

Alternatively, if you are using the provided MCP config, you can run: deno run --allow-net --allow-read --allow-env --config <path-to-config> https://deno.land/x/coin_mcp_server/main.ts

Additional notes

Environment variable hints:

Common issues:

  • If you encounter network errors, ensure --allow-net is granted and you have network access.
  • If you see 404 errors, verify the token symbol you are querying (e.g., BGB, BTC, ETH) and that Bitget's API endpoint is reachable.
  • For customization, you can set BGURL to point to a private Bitget API endpoint if needed.

Related MCP Servers

Sponsor this space

Reach thousands of developers