Skip to content
dsh.fish
Bundle

xby-cryptocurrency-data-api-service

DexPaprika MCP Server是一个提供实时加密货币和DEX数据访问的API服务,专为AI助手设计,无需配置即可获取代币、流动池和DEX数据。

Source
xby-skill
License
MIT
Updated
Updated 2 days ago

Readme

# xby-cryptocurrency-data-api-service

DeepSeek Harness (DSH) 的插件:加密货币数据API服务

DexPaprika MCP Server是一个提供实时加密货币和DEX数据访问的API服务,专为AI助手设计,无需配置即可获取代币、流动池和DEX数据。

## 功能

- **set_xby_apikey** — 在聊天中设置 API 密钥(自动持久化,重启有效)
- **getNetworks** — REQUIRED FIRST STEP: Get all supported blockchain networks. Always call this first to see available networks before using any network-specific functions. Returns network IDs like "ethereum", "solana", etc.
- **getNetworkDexes** — Get available DEXes on a specific network. First call getNetworks to see valid network IDs.
- **getNetworkPools** — PRIMARY POOL FUNCTION: Get top liquidity pools on a specific network. This is the MAIN way to get pool data - there is NO global pools function. Use this instead of any "getTopPools" or "getAllPools" concepts.
- **getDexPools** — Get pools from a specific DEX on a network. First use getNetworks, then getNetworkDexes to find valid DEX IDs.
- **getPoolDetails** — Get detailed information about a specific pool. Requires network ID from getNetworks and a pool address.
- **getTokenDetails** — Get detailed information about a specific token on a network. First use getNetworks to get valid network IDs.
- **getTokenPools** — Get liquidity pools containing a specific token on a network. Great for finding where a token is traded.
- **getPoolOHLCV** — Get historical price data (OHLCV) for a pool - essential for price analysis, backtesting, and visualization. Requires network and pool address.
- **getPoolTransactions** — Get recent transactions for a specific pool. Shows swaps, adds, removes. Requires network and pool address.
- **search** — Search across ALL networks for tokens, pools, and DEXes by name, symbol, or address. Good starting point when you don't know the specific network.
- **getStats** — Get high-level statistics about the DexPaprika ecosystem: total networks, DEXes, pools, and tokens available.
- **getTokenMultiPrices** — Get batched prices for multiple tokens on a specific network. Pass an array of token addresses; unknown tokens are omitted.

## 安装

### 方式一:从 GitHub 直接安装(推荐)

```bash
# 格式: dsh plugin --profile <profile> add github:<owner>/<repo>
dsh plugin --profile web add github:xby_skill/xby-cryptocurrency-data-api-service
```

### 方式二:从本地目录安装(开发模式)

```bash
# 仅用于本地开发调试
dsh plugin --profile web add /absolute/path/to/xby-cryptocurrency-data-api-service
```

### 方式三:通过 cordis.patch.yml 开发调试

```bash
dsh web --profile web --patch /absolute/path/to/dsh-ocr-plugin/cordis.patch.yml
```



## 配置

### 获取 API 密钥

前往 [小笨羊官网](https://xiaobenyang.com) 注册并获取 API 密钥。

Install

dsh plugin --profile web add github:xby-skill/xby-cryptocurrency-data-api-service

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source