# Coinglass [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/pipeworx-io/mcp-coinglass  
**GitHub Stars:** 0  
**npm Downloads (last month):** 655  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/coinglass

## Description
CoinGlass MCP — wraps the CoinGlass Derivatives API v4 (coinglass.com)

## Tools
Capabilities this server exposes over MCP:

- **coinglass_funding_rate** — Funding rates for BTC across exchanges (perpetual futures). Returns per-exchange current funding rate, interval, and next funding time for a coin symbol. Example: coinglass_funding_rate({ symbol: "BTC", _apiKey: "your-key" })
- **coinglass_open_interest** — Open interest for BTC across exchanges (perpetual futures). Returns per-exchange open interest in USD plus 24h change for a coin symbol. Example: coinglass_open_interest({ symbol: "BTC", _apiKey: "your-key" })
- **coinglass_liquidations** — Recent liquidations for BTC (aggregated long vs short liquidation USD over the latest period). Example: coinglass_liquidations({ symbol: "BTC", _apiKey: "your-key" })
- **coinglass_long_short_ratio** — Long/short ratio for BTC (global account long vs short percentage and ratio on an exchange). Example: coinglass_long_short_ratio({ symbol: "BTC", exchange: "Binance", _apiKey: "your-key" })

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "coinglass": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-coinglass"]
  }
}
```

## Documentation

## What Coinglass does

Coinglass provides MCP access to four CoinGlass derivatives queries. Funding-rate results include the current rate, funding interval, and next funding time for a symbol across exchanges. Open-interest results report exchange-level USD open interest and its 24-hour change.

The liquidation tool returns aggregated long and short liquidation amounts in USD for the latest period. The long/short-ratio tool returns global account long and short percentages plus the ratio for a selected exchange. Examples use BTC, and the ratio query accepts an exchange such as Binance.

This is an independent integration of the CoinGlass Derivatives API v4 and is not published or endorsed by CoinGlass.

## How it works

A hosted MCP connection uses the scoped endpoint `https://gateway.pipeworx.io/coinglass/mcp`. The same gateway also offers a full endpoint at `https://gateway.pipeworx.io/mcp`; either can reach the broader Pipeworx catalog through the `ask_pipeworx` meta-tool.

The scoped endpoint lists the four Coinglass tools along with shared Pipeworx meta-tools. Its initialize response defines the exact tool scope for the connection. The gateway can route a natural-language request through `ask_pipeworx`, which selects a tool and fills its arguments.

For local MCP clients, the npm package acts as a stdio bridge and forwards requests to the hosted gateway. It requires network access and has no offline mode. Tool calls pass a CoinGlass API key as the `_apiKey` argument. Pipeworx authentication, when used with the local bridge, is supplied separately through a bearer token.

## Setup and configuration

Add the hosted endpoint to an MCP client configuration:

```json
{
  "mcpServers": {
    "coinglass": {
      "url": "https://gateway.pipeworx.io/coinglass/mcp"
    }
  }
}
```

For a local stdio connection, use the package through `npx`:

```json
{
  "mcpServers": {
    "coinglass": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-coinglass"]
    }
  }
}
```

The local bridge can authenticate to Pipeworx with `PIPEWORX_API_KEY`. Anonymous use is limited to 50 calls per day, while a free Pipeworx account raises the limit to 200 calls per day. Set `PIPEWORX_META_TOOLS=1` if the local connection should also list the shared gateway tools. Behind an HTTPS proxy, newer Node.js releases can use the proxy environment settings when `NODE_USE_ENV_PROXY=1` is enabled.

## Tools and capabilities

- `coinglass_funding_rate`: retrieves per-exchange perpetual-futures funding rates, intervals, and next funding times.
- `coinglass_open_interest`: retrieves per-exchange perpetual-futures open interest in USD and 24-hour changes.
- `coinglass_liquidations`: retrieves recent aggregated long and short liquidation amounts in USD.
- `coinglass_long_short_ratio`: retrieves global account percentages and the long/short ratio for a specified exchange.

The HTTP gateway also exposes tool inspection and search routes, including `GET /v1/tools/coinglass_funding_rate` and the pack-search endpoint.

## Limitations and notes

The integration focuses on CoinGlass derivatives data and requires a usable CoinGlass API key for direct tool calls. The local npm bridge forwards requests over the network rather than operating offline. Scoped connections include shared Pipeworx meta-tools in addition to the pack tools, so the tool list can be larger than the four CoinGlass-specific operations. Pipeworx usage is metered through its bearer-token authentication when a Pipeworx key is configured.

_Full upstream README: https://allmcps.com/mcp/coinglass/readme_

