# Bybit MCP for AI Agents AI Agent Connect

> Bybit MCP gives your AI agent instant access to real-time cryptocurrency market data. It pulls tickers, klines, orderbook depth, and funding rates directly from the Bybit exchange. You get live price action and contract specs without needing to manage complex API keys for public data.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_pUZvwnAVQSUIBJoVr2N28cdXYIPbGwSmKtzW48YD/ai-agent-connect
- **Tags:** cryptocurrency, market-data, trading-pairs, orderbook, real-time-sync, derivatives

## Description

Bybit provides a direct line to real-time cryptocurrency market data without the need for complex API keys. Getting a clear picture of the crypto market usually means juggling multiple tabs, checking different exchange dashboards, and manually copying price points into a notes app. It's a constant cycle of copy-pasting numbers just to keep up with the moving market. This connector changes that by letting your AI client pull live data directly into your conversation. Instead of hunting for the current price of a trading pair or digging through historical charts, you just ask. You can see what the orderbook looks like right now or check the funding rates for perpetual contracts to see where the sentiment lies. Because it works with public market data, you don't have to worry about setting up keys or worrying about your account security. It's one of the easiest ways to get high-quality market feeds into your workflow when using the Vinkius catalog. You get the raw data you need to make informed decisions without the friction of manual data entry. You can quickly compare different assets, observe order flow trends, and keep your eyes on the most important metrics without ever leaving your workspace. It turns your AI into a high-speed research terminal that feeds you information as it happens.

## Tools

### get_index_price_kline
Fetch candlestick data for the composite index price. This is useful for seeing the broader market price across multiple exchanges.

### get_instruments
Browse all available trading pairs and contract specifications. Use this to find the exact symbols for spot, linear, inverse, or option markets.

### get_kline
Get candlestick data for technical analysis across various timeframes. You can specify intervals like daily or weekly to see historical price action.

### get_mark_price_kline
Fetch mark price candlestick data specifically for derivatives. This is the price used for liquidation calculations on the exchange.

### get_open_interest
Track open interest changes over time for derivatives contracts. Use this to see the total number of open positions in the market.

### get_tickers
Get real-time market prices for spot, linear, inverse, and option categories. You can filter by specific symbols or base coins.

### get_orderbook
View the current price levels and quantities for any symbol. It helps you see market depth and liquidity in real time.

### get_recent_trades
See the latest executed trades with price, size, and side. This gives you a clear view of current market activity and order flow.

### get_funding_history
Get historical funding rates for perpetual contracts. You can filter by linear or inverse categories to see how longs and shorts have been paying each other.

### get_server_time
Get the current Bybit server time. This is helpful for synchronizing your requests and verifying your connection.

## Prompt Examples

**Prompt:** 
```
What's the current price of BTC on Bybit?
```

**Response:** 
```
BTCUSDT is currently trading at $104,250. Here's a quick summary:

- **24h Change:** +2.34%
- **High/Low:** $105,800 / $101,200
- **Volume:** 15,432 BTC
```

**Prompt:** 
```
Give me the last 5 daily candles for ETHUSDT.
```

**Response:** 
```
Here are the last 5 daily candles for ETHUSDT:

- Apr 5: O:3245 H:3310 L:3200 C:3280
- Apr 6: O:3280 H:3350 L:3250 C:3320
- Apr 7: O:3320 H:3380 L:3290 C:3350
- Apr 8: O:3350 H:3400 L:3310 C:3370
- Apr 9: O:3370 H:3420 L:3340 C:3400
```

**Prompt:** 
```
What's the funding rate for BTCUSDT perpetual?
```

**Response:** 
```
The funding rate for BTCUSDT perpetual is 0.0100% (annualized: 10.95%).

- **Meaning:** Positive rate means longs pay shorts.
- **Next Funding:** In approximately 4h 30min.
```

## Capabilities

### Pull live tickers
Get real-time prices and 24h changes for any trading pair.

### Fetch candlestick history
Retrieve OHLCV data across various timeframes for technical analysis.

### View orderbook depth
See current bids and asks to analyze market liquidity.

### Track recent trades
Monitor executed trades to observe current order flow.

### Check funding rates
Access historical funding rates for perpetual contracts.

### Browse trading instruments
Look up all available pairs and contract specifications.

## Use Cases

### Checking Liquidity
A trader wants to know if there's enough volume to enter a large position. They ask the agent to check the orderbook for a specific pair to see the depth.

### Technical Analysis
An analyst needs to know the 5-day trend for Ethereum. They ask the agent to fetch the last few daily klines to summarize the price action.

### Sentiment Tracking
A user wants to see if the market is leaning long or short. They ask the agent to check the funding rates for perpetual contracts to see the current trend.

### Instrument Discovery
A developer is building a new bot and needs to know the exact specs for all linear contracts. They ask the agent to list all available instruments.

## Benefits

- No API keys required for public data means you can start getting market updates instantly without the security overhead of managing keys.
- Pull live tickers for any trading pair to see price changes across different categories like spot and linear markets in one go.
- View the current orderbook depth to see where the actual buy and sell pressure is sitting right now.
- Fetch historical candlestick data for technical analysis on any timeframe without leaving your chat.
- Track derivative specifics like funding rates and open interest to understand the cost of holding long or short positions.
- Quickly identify trading pairs to ensure you have the right symbols for your specific strategy.

## How It Works

The bottom line is you get live crypto market feeds in your chat without any manual setup.

1. Subscribe to the Bybit MCP in your preferred AI client.
2. Connect your agent without providing an API key for public data.
3. Ask for specific market data like current prices or klines.

## Frequently Asked Questions

**Does the Bybit MCP require an API key?**
No, you don't need an API key to use this Connector for public market data. You can start getting prices and orderbook info immediately.

**Can I use the Bybit MCP to trade?**
No, this Connector is for market data only. It lets you see prices, klines, and funding rates, but it cannot execute trades or manage your account.

**What kind of crypto data does the Bybit MCP provide?**
It provides real-time tickers, candlestick data (klines), orderbook depth, recent trades, funding rates, and open interest.

**Can I see the orderbook depth with the Bybit MCP?**
Yes, you can ask the agent to show the current bids and asks for any trading pair to check for liquidity.

**Does the Bybit MCP work for perpetual contracts?**
Yes, it includes specific tools for perpetual contracts like funding rates and open interest.

**How do I get historical price data from Bybit?**
You can ask the agent to fetch klines for any timeframe, including daily, weekly, or monthly intervals.

**Can I see the funding rates for different categories?**
Yes, the Connector supports both linear and inverse categories for perpetual contracts.

**Do I need an API key for market data?**
No! All public market data endpoints (tickers, klines, orderbook, trades, instruments, funding, open interest) are completely free and open. No authentication required.

**What trading categories are available?**
Four categories: "spot" (spot trading), "linear" (USDT/USDC perpetual & futures), "inverse" (inverse perpetual & futures), "option" (options). Use get_instruments to see all available pairs.

**What kline intervals are supported?**
Intervals: 1, 3, 5, 15, 30, 60, 120, 240, 360, 720 (minutes), D (daily), W (weekly), M (monthly). Up to 1000 candles per request.

**What is funding rate?**
Funding rate is a periodic payment exchanged between long and short traders in perpetual futures. Positive rate means longs pay shorts. It keeps the perpetual price close to the spot price. Payments occur every 8 hours on Bybit.