sammcj_bybit-mcp

MCP.Pizza Chef: MCP-Mirror

The sammcj_bybit-mcp is an alpha-quality Model Context Protocol (MCP) server that offers read-only access to Bybit's cryptocurrency exchange API. It enables integration of real-time market data such as spot prices, trading volumes, and price changes into AI workflows and applications. Designed for safe usage, it requires only read-only API keys to prevent any risk to funds. This server facilitates seamless querying of Bybit's market data within MCP-enabled environments, supporting developers and AI agents in cryptocurrency data retrieval and analysis.

Use This MCP server To

Retrieve real-time spot prices for cryptocurrencies Access 24-hour trading volume and price change data Integrate Bybit market data into AI chatbots Monitor cryptocurrency price fluctuations programmatically Enable AI agents to query exchange data securely Fetch historical price data snapshots for analysis

README

Bybit MCP Server

A Model Context Protocol (MCP) server that provides read-only access to Bybit's cryptocurrency exchange API.

THIS IS ALPHA QUALITY SOFTWARE - USE AT YOUR OWN RISK!

Only ever use a read-only API key with this server. I wouldn't trust my code with your "money" and neither should you!

Started integrated server
Chatting with llama-3.2-11b-instruct:Q8_0 (Ctrl+C to exit)
Tools are available - ask about cryptocurrency data!

You: Whats the current spot price for USDT/BTC?

Assistant: <tool>get_ticker</tool>
<arguments>
{
  "category": "spot",
  "symbol": "BTCUSDT"
}
</arguments>

Tool result: {
  "timestamp": "2024-12-14T12:32:30.628Z",
  "meta": {
    "requestId": "ad5177bc-93d1-49ed-80a1-dd95b3ec970b"
  },
  "symbol": "BTCUSDT",
  "category": "spot",
  "lastPrice": "101368.71",
  "price24hPcnt": "0.0107",
  "highPrice24h": "102661.3",
  "lowPrice24h": "99683.96",
  "prevPrice24h": "100292.67",
  "volume24h": "22543.911683",
  "turnover24h": "2285318788.68303381",
  "bid1Price": "101366.07",
  "bid1Size": "0.136049",
  "ask1Price": "101366.08",
  "ask1Size": "0.648039",
  "usdIndexPrice": "101365.707576"
}

Processing result...

The current spot price for USDT/BTC is $101,368.71.

Features

This MCP server provides the following tools for interacting with Bybit's API:

sammcj_bybit-mcp FAQ

How do I securely use the sammcj_bybit-mcp server?
Always use a read-only API key to ensure no trading or withdrawal permissions are granted, protecting your funds.
Can I execute trades using this MCP server?
No, this server provides read-only access only and does not support trading or order placement.
What kind of data can I query from the Bybit MCP server?
You can query real-time spot prices, 24-hour price changes, trading volumes, and other market data from Bybit's API.
Is this MCP server stable for production use?
This is alpha-quality software and should be used with caution; it is recommended for testing and development purposes only.
How does this server integrate with different LLM providers?
It works with any MCP-compatible host and client, enabling integration with models like OpenAI GPT, Anthropic Claude, and Google Gemini.
What happens if I provide a full-access API key?
The server ignores trading permissions, but for security, only use read-only keys to avoid any risk.
Can I extend this server to support other Bybit API endpoints?
Yes, as an open-source project, you can modify and extend the server to expose additional endpoints as needed.
How do I start the sammcj_bybit-mcp server?
Follow the GitHub repository instructions to install dependencies and run the server locally or in your environment.