@mrfentmen/coinbase-mcp
v1.0.3
Published
Crypto prices from the public Coinbase API. No key required.
Maintainers
Readme
Coinbase MCP
Crypto prices from the public Coinbase API. No key required.
This file is self contained. It reads public data only and never writes to the machine. All output is bounded and honest about what could not be fetched.
Tools
spotLatest spot price for one pair, e.g. BTC-USD.exchangeCrypto-to-fiat exchange rates for one base currency.buyCoinbase buy price for a pair, returns base, currency and amount.sellCoinbase sell price for a pair, returns base, currency and amount.currenciesHow many currencies Coinbase supports with a fiat count and a 15-code sample. Full list omitted for size.timeCoinbase server time as ISO string and epoch, useful for timestamping quotes.exchange_statsCoinbase Exchange 24h open, high, low, last and volume for a product, with the day's range.candlesCoinbase Exchange OHLCV candles for a product at 1m to 1d granularity, with the period change.exchange_tickerLive Coinbase Exchange ticker: price, bid/ask, spread, 24h volume and last trade id.order_bookCoinbase Exchange level-2 book: top bids and asks with sizes, order counts and the spread.trading_productsCoinbase Exchange products for a quote currency, e.g. every USD or USDT market, with online status.
Usage
npm install
npm run build
node dist/index.jsData comes from the public Coinbase API.
Premium tools
These tools need a license key:
product_inforecent_trades
Buy a key at https://mcp-marketplace.io/server/io-github-mrfentmen-coinbase-mcp and set it in your MCP client config:
"env": { "MCP_LICENSE_KEY": "mcp_live_..." }The key is checked against MCP Marketplace, cached for 24 hours, and keeps working offline once one check has succeeded. Every other tool on this server stays free.
