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.