Connector guide5-minute read7 MCP tools7 languages

How to Connect Coinbase to Gemini via MCP

Let your AI read live crypto market data from Coinbase: prices and 24 hour changes of every trading pair, recent trades, best bid and ask, order book depth, price history as candles, and spot prices in any currency, also for a past day. Public data, no account or key needed. Read-only: it cannot trade or move funds.

HCBy HelpCode teamUpdated 5 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Coinbase

Coinbase

Let your AI read live crypto market data from Coinbase: prices and 24 hour changes of every trading pair, recent trades, best bid and ask, order book depth, price history as candles, and spot prices in any currency, also for a past day. Public data, no account or key needed. Read-only: it cannot trade or move funds.

tools

7

Region

INTL

Category

Finance

Authentication

Public API

Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Coinbase in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

Let your AI read live crypto market data from Coinbase: prices and 24 hour changes of every trading pair, recent trades, best bid and ask, order book depth, price history as candles, and spot prices in any currency, also for a past day. Public data, no account or key needed. Read-only: it cannot trade or move funds.

Try asking

Example prompts for Coinbase

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Coinbase · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Coinbase, install it with no key, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Coinbase + Gemini

Let your AI read live crypto market data from Coinbase: prices and 24 hour changes of every trading pair, recent trades, best bid and ask, order book depth, price history as candles, and spot prices in any currency, also for a past day. Public data, no account or key needed. Read-only: it cannot trade or move funds.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

(none: public data, no API key)

Step 1 — Set up the connector

Public market data, no key: the connector reads Coinbase's public market data. No Coinbase account, API key or sign-in is needed.

  1. In the connector store, pick Coinbase and install it. There is nothing to paste and no Authorize with Provider step.
  2. Check it with coinbase_get_server_time, then ask for a price: coinbase_get_spot_price with BTC-EUR tells you what one bitcoin costs in euros right now.

It cannot trade or move funds, by design: no tool places, edits or cancels an order, buys, sells or converts crypto, or sends, withdraws or deposits anything, and none can be switched on, because the connector never signs in to a Coinbase account. It cannot see anyone's balances, wallets, portfolios, orders or transactions either. The reason: Coinbase's account APIs need either a key that signs every single request or a Coinbase OAuth app, and Coinbase grants those apps only to approved partners. For your own account data, use the Coinbase app or website.

Not financial advice: prices, volumes and order books are information. The AI does not tell you to buy, sell or hold anything. It shows the numbers with their time and source, and reminds you that crypto prices move fast and can fall sharply.

Valuing holdings you name: tell the AI what you hold, for example 0.5 BTC and 3 ETH. It multiplies each amount by the spot price in your currency and adds them up, also for a past day (date as YYYY-MM-DD), and states the time of the prices it used.

Which tool: price and 24 hour change of one or many pairs with coinbase_list_products or coinbase_get_product; the live best bid and ask and the latest trades with coinbase_get_market_trades; depth and spread with coinbase_get_product_book; history and charts with coinbase_get_candles, from one-minute to one-day candles; a price in another currency or on a past day with coinbase_get_spot_price, which also takes fiat pairs such as USD-EUR.

Pairs: Coinbase writes a pair as BASE-QUOTE in capitals, such as BTC-USD, ETH-EUR or SOL-USDC. Not every pair exists, and a missing one answers 404 "not supported"; the AI can check several pairs in one call with coinbase_list_products.

History and times: one candle request covers fewer than 350 candles, so for a long history the AI picks a larger interval (daily candles cover almost a year). Times come in UTC, and the AI converts them to your time zone.

Limits: the public endpoints are rate limited per IP address; after a 429 the AI waits a few seconds. Coinbase caches market data for about a second. A 400 INVALID_ARGUMENT means a parameter is wrong, for example a window with too many candles.

The connector does not cover account data of any kind, trading, WebSocket streams or derivatives positions.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of YOUR_MCP_API_KEY.
  2. Save the file and restart gemini.
  3. Run /mcp inside Gemini CLI (or gemini mcp list in your shell): anythingmcp should show as connected.
  4. Start prompting: Gemini CLI can now call the Coinbase tools.

Available tools

ToolWhat it does
coinbase_get_server_timeRead Coinbase's current server time as ISO 8601 and Unix seconds
coinbase_list_productsList Coinbase trading pairs (products) with their last price, 24 hour change in percent, 24 hour volume, high and low, and status
coinbase_get_productRead one Coinbase trading pair: last price, 24 hour change, volume, high and low, base and quote currency, listing date, status and whether…
coinbase_get_market_tradesRead the most recent public trades of a Coinbase pair (price, size in the base currency, time, and side of the taker) together with the…
coinbase_get_candlesRead price history of a Coinbase pair as candles (open, high, low, close and volume per interval), newest first
coinbase_get_product_bookRead the public order book of a Coinbase pair: the best bids and asks with price and size, the last price, the mid market price and the…
coinbase_get_spot_priceRead Coinbase's spot price of one unit of a currency in another, now or on a past day: e.g

Example prompts

  • "What do Bitcoin, Ether and Solana cost in euros right now, and how did they move in the last 24 hours?"
  • "I hold 0.5 BTC and 3 ETH. What are they worth in euros today, and what were they worth on 1 January 2026?"
  • "Show the daily closing prices of BTC-USD for the last 30 days, with the highest and the lowest close."
  • "How deep is the ETH-USD order book right now? Give me the spread and the best ten bids and asks."
  • "Which Coinbase spot pairs have the highest 24 hour volume right now?"

FAQ

Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.

Next steps

Was this guide helpful?

Your Coinbase agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

Related guides

Connectors

Coinbase to MCP: Live Crypto Prices and Market Data in any AI Agent

Let your AI read live crypto market data from Coinbase: prices and 24 hour changes of every trading pair, recent trades, best bid and ask, order book depth, price history as candles, and spot prices in any currency, also for a past day. Public data, no account or key needed. Read-only: it cannot trade or move funds.

Connectors

How to Connect Coinbase to ChatGPT via MCP

Let your AI read live crypto market data from Coinbase: prices and 24 hour changes of every trading pair, recent trades, best bid and ask, order book depth, price history as candles, and spot prices in any currency, also for a past day. Public data, no account or key needed. Read-only: it cannot trade or move funds.

Connectors

How to Connect Coinbase to Claude via MCP

Let your AI read live crypto market data from Coinbase: prices and 24 hour changes of every trading pair, recent trades, best bid and ask, order book depth, price history as candles, and spot prices in any currency, also for a past day. Public data, no account or key needed. Read-only: it cannot trade or move funds.

Connectors

How to Connect Coinbase to Cursor via MCP

Let your AI read live crypto market data from Coinbase: prices and 24 hour changes of every trading pair, recent trades, best bid and ask, order book depth, price history as candles, and spot prices in any currency, also for a past day. Public data, no account or key needed. Read-only: it cannot trade or move funds.

Connectors

How to Connect Coinbase to Meta Muse via MCP

Let your AI read live crypto market data from Coinbase: prices and 24 hour changes of every trading pair, recent trades, best bid and ask, order book depth, price history as candles, and spot prices in any currency, also for a past day. Public data, no account or key needed. Read-only: it cannot trade or move funds.

Connectors

How to Connect Avito to Gemini via MCP

Let your AI work with your Avito business account: list your ads and change their prices, read views, contacts and calls statistics, check autoload uploads and their errors, the feed format and your wallet, and read Avito Messenger chats. Sending messages and changing autoload settings are optional and off by default.