# Coinbase MCP MCP

> Coinbase gives you real-time access to crypto market data—BTC, ETH, SOL, and every major fiat currency pair. Get immediate buy/sell prices, mid-market spot rates, and current exchange rates across multiple assets in a single chat prompt. Stop opening ten different browser tabs just to compare spreads; this MCP feeds live pricing directly into your workflow.

## Overview
- **Category:** money-moves
- **Price:** Free
- **Tags:** cryptocurrency, spot-price, exchange-rates, market-data, trading-pairs

## Description

You can get the full picture of any crypto market without touching an API key or building complex scripts. Whether you're comparing ETH, BTC, and SOL prices across multiple pairs at once, checking what kind of payment methods are available on your account, or seeing how a base currency converts to fiat, this MCP handles it all. It pulls current buy/sell spreads for instant trading decisions and provides historical spot data if you need it.

It’s perfect for anyone who needs fast, reliable market intelligence. Because finance moves so quickly, we built in guardrails: when running complex trades or analysis, every action is tracked with a cryptographically signed audit trail, giving you full visibility into exactly what the AI agent did and how much of your budget was used. This means nothing happens in the dark.

Connect this MCP to Claude, Cursor, or any compatible client, and start asking questions like, “What’s the current exchange rate from USD to CAD, and what is the spot price for Bitcoin?” The results come back instantly, ready for you to use.

## Tools

### get_buy_price
Returns the total buy price, including fees, for a specified cryptocurrency pair in real time.

### get_currencies
Lists all supported cryptocurrencies and fiat currencies available through Coinbase.

### get_exchange_rates
Provides the current conversion rate between any two specified crypto or fiat currencies.

### get_payment_methods
Retrieves available bank accounts, debit cards, and other payment options linked to your account.

### get_public_prices
Gets buy, sell, and spot prices for a comma-separated list of multiple cryptocurrency pairs at once.

### get_sell_price
Returns the total sell price you would receive, including Coinbase fees, for a specified crypto pair in real time.

### get_spot_price
Provides the mid-market spot price (without spread) for a pair, optionally with historical date context.

### get_time
Returns the current Coinbase API server time to synchronize data requests accurately.

## Prompt Examples

**Prompt:** 
```
What's the current Bitcoin price?
```

**Response:** 
```
BTC-USD: Buy $104,250 | Sell $103,890 | Spot $104,070. Spread: $360 (0.35%).
```

**Prompt:** 
```
Compare prices for BTC, ETH and SOL.
```

**Response:** 
```
BTC-USD: Buy $104,250 / Sell $103,890 | ETH-USD: Buy $3,245 / Sell $3,210 | SOL-USD: Buy $185.50 / Sell $183.20.
```

**Prompt:** 
```
What was the Bitcoin price on January 1st 2024?
```

**Response:** 
```
BTC-USD spot price on 2024-01-01: $42,650. Current price: $104,070. Change: +144.0% since Jan 1 2024.
```

## Capabilities

### Compare Multiple Assets
Get buy, sell, and spot prices simultaneously for several crypto pairs in one request.

### Calculate Exchange Rates
Determine the current conversion rate between any two supported fiat or crypto currencies.

### View Live Trading Spreads
Retrieve real-time buy and sell prices, including fees, for specific trading pairs like BTC-USD.

### Check Historical Pricing
Get the mid-market spot price for a pair on a specific date in the past.

### List Currencies and Payments
Access lists of all supported crypto, fiat currencies, or available payment options on your account.

## Use Cases

### Checking cross-border investment feasibility
An analyst needs to know if moving funds from EUR to JPY is viable. They ask the agent, 'What's the exchange rate between EUR and JPY?' The MCP uses get_exchange_rates to give an immediate conversion figure.

### Comparing multiple investment targets
A trader wants to compare BTC, ETH, and SOL in a single view. They ask for prices, and the agent calls get_public_prices to return buy/sell/spot data for all three simultaneously.

### Validating historical market trends
A developer needs to plot price volatility. They use get_spot_price with a specific date parameter, allowing them to track how BTC-USD looked on January 1st, 2024.

### Optimizing funding options
An ops engineer needs to know which payment types are available before running payroll. They ask the agent and it uses get_payment_methods to list all accepted bank accounts or debit cards.

## Benefits

- Stop manually checking multiple websites. Using get_public_prices lets you compare buy, sell, and spot rates for BTC, ETH, and SOL all in one call.
- Need to know the conversion? Use get_exchange_rates to get current rates between any two crypto or fiat currencies instantly.
- Before trading, use get_buy_price or get_sell_price to see the exact cost/payout including Coinbase fees. These prices are real-time.
- Don't rely on guesswork for historical analysis. The get_spot_price tool lets you check market values from a specific date (YYYY-MM-DD UTC).
- Need cash flow details? Check your available payment methods using get_payment_methods to know what funding options are open.
- The combination of these tools allows for complex, multi-step analysis that used to require a dedicated dev team.

## How It Works

The bottom line is you ask a question about money, and it gives you an immediate, structured data readout.

1. Connect this MCP to your AI client. You'll use natural conversation instead of writing API calls.
2. Ask for specific pricing data—for example, comparing the spot price of ETH and SOL, or getting the exchange rate between USD and EUR.
3. The agent executes the necessary tool calls and returns a formatted answer with all the required market details.

## Frequently Asked Questions

**How do I check multiple crypto prices with get_public_prices?**
You provide a comma-separated list of pairs like 'BTC-USD,ETH-USD,SOL-USD'. The MCP then fetches the buy, sell, and spot data for all three in one single call.

**Can I get historical prices using get_spot_price?**
Yes, you can. By including an optional date parameter (YYYY-MM-DD UTC), the tool returns the mid-market spot price for that specific day, useful for trend analysis.

**What is the difference between get_buy_price and get_sell_price?**
get_buy_price shows the cost if you purchase a pair (including fees), while get_sell_price shows the total amount you receive when you sell that pair.

**How do I find out what currencies are available? Use get_currencies.**
Running get_currencies provides a full list of all supported fiat and crypto currency codes, letting you know exactly which pairs you can query for rates or prices.

**How do I use `get_payment_methods` to see my available accounts?**
It returns a list of your payment options, like debit cards and bank accounts. This lets your agent check what funds are attached to your account or if you need to add a new method before trading.

**If I want to convert fiat currencies (like EUR to GBP), how does `get_exchange_rates` work?**
It provides the current exchange rate between any two supported currencies, whether they're crypto or standard fiat. Just specify both base and target currency codes for an instant conversion factor.

**When should I use `get_time` in my workflow?**
Use this tool when you need to synchronize your requests or verify connectivity timing. It pulls the current Coinbase API server time, ensuring your agent's process is accurate relative to the exchange's clock.

**Does `get_buy_price` include all the fees I need to worry about?**
Yes, it returns the total cost including Coinbase's fees. This detail is crucial because it gives your agent a realistic picture of what you'll actually pay when placing a buy order.