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 cryptocur
Add this skill
npx mdskills install pwh-pwh/coin-mcp-serverProvides real-time cryptocurrency price queries via Bitget API with clear setup and multiple tools
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.git clone https://github.com/pwh-pwh/coin-mcp-server.git
cd coin-mcp-server
Fire it up with:
deno run --allow-net --allow-env --allow-read main.ts
or
deno run --allow-net --allow-env --allow-read https://deno.land/x/coin_mcp_server/main.ts
--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
{
"mcpServers": {
"coin-mcp": {
"command": "deno",
"args": [
"run",
"--allow-net",
"--allow-read",
"--allow-env",
"https://deno.land/x/coin_mcp_server/main.ts"
]
}
}
}
Hereโs how youโd call getTokenPrice:
{
"tool": "getTokenPrice",
"parameters": {
"token": "BGB"
}
}
Response:
"42.069" // The latest BGB/USDT price (not a real price, just vibes!)
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:
export BGURL="https://your-custom-bitget-url.com"
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! ๐
Install via CLI
npx mdskills install pwh-pwh/coin-mcp-serverCoin MCP Server ๐๐ฐ is a free, open-source AI agent skill. 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 cryptocur
Install Coin MCP Server ๐๐ฐ with a single command:
npx mdskills install pwh-pwh/coin-mcp-serverThis downloads the skill files into your project and your AI agent picks them up automatically.
Coin MCP Server ๐๐ฐ works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.