# Coinbase MCP for AI Agents AI Agent Connect

> Coinbase MCP. Get real-time cryptocurrency prices, exchange rates, and market data for assets like BTC, ETH, and SOL. It lets your agent fetch live buy and sell spreads, spot prices, and currency info without needing an API key for public data.

## Overview
- **Category:** money-moves
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_emIsWLuZxycsC9rM9J8tF2ukLNtGpTXKvgfQ9U1Y/ai-agent-connect
- **Tags:** cryptocurrency, spot-price, exchange-rates, market-data, trading-pairs

## Description

This Connector lets you pull live cryptocurrency prices and exchange rates directly into your chat. Instead of jumping between browser tabs to check if a price is right or calculating the spread on a trade, you can just ask your agent for the numbers. It handles the details of fetching buy and sell costs, spot prices, and even your account's payment methods. You can see what's happening in the market for assets like BTC or SOL in real-time, which makes it much faster to make decisions. It also helps with currency conversions, so you can quickly see how much your fiat is worth in crypto or vice versa. You'll find this Connector in the Vinkius catalog as a way to get accurate, up-to-the-second data without having to manage complex API keys for public information. It turns market research into a simple conversation.

## Tools

### get_currencies
Lists all supported crypto and fiat currencies with their names and codes. Use this to see what assets are available.

### get_buy_price
Returns the total price including Coinbase fees for a specific pair. Use this to see the real cost of an entry.

### get_exchange_rates
Provides current conversion rates between different currencies. It's perfect for quick fiat to crypto math.

### get_payment_methods
Shows your bank accounts, debit cards, and other payment options. This helps you see how you can fund your account.

### get_public_prices
Fetches buy, sell, and spot prices for multiple pairs at once. It's the fastest way to compare different assets side-by-side.

### get_sell_price
Shows the total price you'd receive for a sale including fees. This helps you calculate your actual take-home amount.

### get_spot_price
Retrieves the mid-market price without the buy and sell spread. Use this for a clean price point or historical data.

### get_time
Returns the current time from the Coinbase API. This helps sync your requests with the exchange's clock.

## Prompt Examples

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

**Response:** 
```
Here are the current prices for BTC and ETH:

| Asset | Buy Price | Sell Price | Spot Price |
| :--- | :--- | :--- | :--- |
| **BTC-USD** | $104,250 | $103,890 | $104,070 |
| **ETH-USD** | $3,245 | $3,210 | $3,227 |

*Prices include Coinbase fees and are updated in real-time.*
```

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

**Response:** 
```
Here is the price comparison for your requested assets:

* **BTC-USD**: Buy $104,250 | Sell $103,890
* **SOL-USD**: Buy $185.50 | Sell $183.20
* **USDC-USD**: Buy $1.00 | Sell $1.00

Let me know if you'd like to see the spot prices for any of these.
```

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

**Response:** 
```
The spot price for **BTC-USD** on 2024-01-01 was **$42,650**.

For comparison, the current spot price is **$104,070**, which represents a significant increase since the start of the year.
```

## Capabilities

### Get real-time buy and sell prices
See the actual cost of entering a trade including the fees.

### Fetch mid-market spot prices
Get the clean market price for any cryptocurrency pair.

### Pull multi-asset price data
Compare prices for several different assets in a single request.

### Browse supported fiat and crypto currencies
See all the different assets and currencies available for trading.

### Check current exchange rates
Get live conversion rates between different fiat and crypto pairs.

### View available payment methods
See your linked bank accounts, cards, and their verification status.

## Use Cases

### Checking real entry costs
A trader wants to know the exact cost of buying 1 BTC right now including fees. They ask their agent for the buy price.

### Comparing multiple assets
An investor needs to compare the current prices of BTC, ETH, and SOL in a single list. They ask for a multi-asset price check.

### Building a price dashboard
A developer wants to know the list of all supported fiat currencies for a new app feature. They ask the agent to list all currencies.

### Verifying payment status
A user wants to see if their linked debit card is still verified for payments. They ask the agent to show their payment methods.

## Benefits

- See real buy and sell spreads instantly using get_buy_price and get_sell_price to avoid hidden fees.
- Compare multiple assets at once with get_public_prices instead of refreshing several different pages.
- Get accurate conversion numbers using get_exchange_rates for faster portfolio balancing.
- Access your specific payment options via get_payment_methods to see funding limits at a glance.
- Check historical data with get_spot_price to see how an asset performed on a specific date.

## How It Works

The bottom line is you get live market data in your workspace without any manual lookups.

1. Add the Coinbase MCP to your AI client.
2. Connect your account if you need private payment data.
3. Ask for specific prices, exchange rates, or asset lists.

## Frequently Asked Questions

**Can the Coinbase MCP show me the actual cost to buy Bitcoin?**
Yes, it shows the total price including Coinbase fees. This helps you see the real cost of an entry instead of just the mid-market price.

**How does the Coinbase MCP handle multiple assets?**
You can ask for prices on several assets at once. The agent will pull the buy, sell, and spot prices for everything in your list in one response.

**Can I use the Coinbase MCP to see my payment methods?**
Yes, it can list your bank accounts and debit cards. This lets you check your payment status and limits without logging into the main dashboard.

**Does the Coinbase MCP require an API key for prices?**
No, you don't need a key for public price data. You can start getting real-time market info immediately after connecting the Connector.

**Can I check historical prices with the Coinbase MCP?**
You can use it to get spot prices for specific dates. This is great for seeing what an asset was worth at a certain point in the past.

**How accurate is the Coinbase MCP for exchange rates?**
It pulls live rates for both crypto and fiat currencies. This makes it reliable for quick conversions and portfolio tracking.

**Do I need an API key for price data?**
No! Public price endpoints (buy, sell, spot prices, currencies, exchange rates) are completely free and open. No authentication required.

**What trading pairs are supported?**
Common pairs: BTC-USD, ETH-USD, SOL-USD, USDC-USD, BCH-USD, LTC-USD, DOGE-USD, ADA-USD, DOT-USD, LINK-USD and many more. Use getCurrencies to see the full list.

**Can I get historical prices?**
Yes! Use get_spot_price with the date parameter (YYYY-MM-DD format) to get historical spot prices for any pair.