MCP server for querying Bitget cryptocurrency prices and token information through public API endpoints.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Coin MCP Server.
Welcome to the Coin MCP Server – your one-stop shop for snagging the latest cryptocurrency prices faster than you can say "To the moon!" 🌙 Built with FastMCP and spiced up with zod for validation, this little server is here to fetch token prices from Bitget’s API like a trusty crypto butler. 🧑💼
中文文档 | English
This project spins up a server that lets you query the current price of any cryptocurrency (paired with USDT) using Bitget’s slick API. Want to know how much your favorite token is worth right now? Just ask, and boom – the price is yours! 💸
Tool: getTokenPrice
Mission: Fetch the latest price of a token (e.g., BGB, BTC, ETH).
Superpower: It’s fast, it’s simple, and it’s powered by FastMCP! ⚡
Tool: getAnnoucements
Mission: get annoucements
Tool: getCoinInfo
Mission: Get detailed information about a specified token.
Superpower: Provides detailed information such as token transferability, supported chain list, chain network status, etc.
Ready to dive into the crypto price pool? Here’s how to get this baby running:
BGURL, set it as an environment variable.Fire it up with:
or
--allow-net: Lets us talk to Bitget’s API.--allow-env: Grabs your BGURL env variable if you’ve set one.The server will start in stdio mode, ready to serve up prices like a crypto vending machine! 🍔
config.json
Here’s how you’d call getTokenPrice:
Response:
If the token doesn’t exist or the API hiccups, it’ll throw an error with a cheeky log to remind you it tried its best. 😅
Here’s the magic behind the curtain:
token parameter in check.https://api.bitget.com/api/v2/spot/market/tickers.The getBitgetPrice function is the MVP, grabbing that sweet lastPr (last price) from the response. Check the logs for price updates or error comedy gold! 😂
BGURL: Custom Bitget API base URL (defaults to https://api.bitget.com if not set). Set it like:
BGBUSDT isn’t the same as BGB!--allow-net flag.Because who doesn’t want to know the price of their crypto stash in real-time? Whether you’re a trader, a HODLer, or just crypto-curious, this server’s got your back. Plus, it’s a fun way to flex some Deno skills and play with APIs. 😎
Got ideas? Found a bug? Want to add a feature like moon phase price predictions? Fork it, tweak it, PR it! Let’s make this the coolest MCP server in the galaxy. 🌌
MIT – Do whatever you want with it, just don’t blame me if your token moons or dumps! 🌑📉
Happy crypto hunting, and may your bags always be green! 💚
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pwh-pwh-coin-mcp-server)<a href="https://allmcps.com/mcp/pwh-pwh-coin-mcp-server"><img src="https://allmcps.com/api/badge/pwh-pwh-coin-mcp-server?style=directory" alt="Coin MCP Server on AllMCPs" /></a>