Coin MCP Server logo

Coin MCP Server

by pwh-pwh

The Coin MCP Server fetches cryptocurrency prices from Bitget's API using FastMCP and zod validation. It provides a simple API to query the current price of any cryptocurrency paired with USDT.

View on GitHub

Last updated: N/A

What is Coin MCP Server?

This server provides a simple API to fetch the latest cryptocurrency prices from Bitget's API. It allows users to query the current price of any cryptocurrency paired with USDT.

How to use Coin MCP Server?

  1. Clone the repository. 2. Ensure Deno is installed. 3. Run the server using the command: deno run --allow-net --allow-env --allow-read main.ts. 4. Use the getTokenPrice tool with a token symbol to get the price.

Key features of Coin MCP Server

  • Dead-Simple API

  • Zod Validation

  • Bitget Integration

  • Error Handling

Use cases of Coin MCP Server

  • Real-time cryptocurrency price tracking

  • Integration into trading bots

  • Displaying cryptocurrency prices on websites

  • Educational purposes for learning about APIs and cryptocurrency data

FAQ from Coin MCP Server

What is the purpose of this server?

To provide a simple and fast way to fetch cryptocurrency prices from Bitget's API.

What is FastMCP?

FastMCP is used to spin up the server.

What is Zod used for?

Zod is used for parameter validation.

Do I need an API key to use this server?

No, this server uses the public Bitget API endpoint.

What do I do if I get a 'HTTP error! status: 404'?

Double-check your token symbol. Ensure it is correct.