Skip to main content
Glama

DexPaprika MCP 服务器

一个模型上下文协议 (MCP) 服务器,提供对 DexPaprika 加密货币和 DEX 数据 API 的按需访问。专为 Claude 等 AI 助手构建,无需配置,即可以编程方式获取实时代币、矿池和 DEX 数据。

TL;DR

# Install globally npm install -g dexpaprika-mcp # Start the server dexpaprika-mcp # Or run directly without installation npx dexpaprika-mcp

DexPaprika MCP 将 Claude 连接到跨多个区块链的实时 DEX 数据。无需 API 密钥。安装|配置| API 参考

你能建造什么?

  • 代币分析工具:跟踪价格走势、流动性深度变化和交易量模式

  • DEX 比较:分析不同 DEX 的费用结构、交易量和可用池

  • 流动性池分析:监控 TVL 变化、无常损失计算和价格影响评估

  • 市场分析:跨链代币比较、交易量趋势和交易活动指标

  • 投资组合追踪器:实时价值追踪、历史表现分析、收益机会

  • 技术分析:使用历史 OHLCV 数据执行高级技术分析,包括趋势识别、模式识别和指标计算

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 DexPaprika:

npx -y @smithery/cli install @coinpaprika/dexpaprika-mcp --client claude

手动安装

# Install globally (recommended for regular use) npm install -g dexpaprika-mcp # Verify installation dexpaprika-mcp --version # Start the server dexpaprika-mcp

服务器默认运行在 8010 端口。成功启动后,您将MCP server is running at http://localhost:8010

视频教程

观看有关设置和使用 DexPaprika MCP 服务器的分步教程:

DexPaprika MCP 教程

Claude 桌面集成

将以下内容添加到您的 Claude Desktop 配置文件中:

macOS~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows%APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "dexpaprika": { "command": "npx", "args": ["dexpaprika-mcp"] } } }

重新启动 Claude Desktop 后,DexPaprika 工具将自动供 Claude 使用。

技术能力

MCP 服务器公开了 Claude 可以访问的这些特定端点:

网络运营

功能

描述

例子

getNetworks

检索所有支持的区块链网络和元数据

{"id": "ethereum", "name": "Ethereum", "symbol": "ETH", ...}

getNetworkDexes

列出特定网络上可用的 DEX

{"dexes": [{"id": "uniswap_v3", "name": "Uniswap V3", ...}]}

泳池运营

功能

描述

必需参数

示例用法

getTopPools

获取所有网络的顶级流动性池

limit

orderBy

按 24 小时交易量获取排名前 10 的矿池

getNetworkPools

获取特定网络上的顶级池

network

limit

获取 Solana 最高流动性池

getDexPools

获取特定 DEX 的顶级池

network

,

dex

在 Uniswap V3 上列出池

getPoolDetails

获取详细的池指标

network

poolAddress

USDC/ETH 池的完整指标

getPoolOHLCV

检索时间序列价格数据用于各种分析目的(技术分析、ML 模型、回溯测试)

network

poolAddress

start

interval

SOL/USDC 7 天小时蜡烛图

getPoolTransactions

列出池中的最近交易

network

poolAddress

特定池中的最后 20 次交换

代币操作

功能

描述

必需参数

输出字段

getTokenDetails

获取全面的代币数据

network

tokenAddress

price_usd

volume_24h

liquidity_usd

等。

getTokenPools

列出包含代币的池

network

tokenAddress

返回所有具有流动性指标的池

search

通过名称/ID 查找代币、池、DEX

query

多实体搜索结果

示例用法

// With Claude, get details about a specific token: const solanaJupToken = await getTokenDetails({ network: "solana", tokenAddress: "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN" }); // Find all pools for a specific token with volume sorting: const jupiterPools = await getTokenPools({ network: "solana", tokenAddress: "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN", orderBy: "volume_usd", limit: 5 }); // Get historical price data for various analytical purposes (technical analysis, ML models, backtesting): const ohlcvData = await getPoolOHLCV({ network: "ethereum", poolAddress: "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", // ETH/USDC on Uniswap V3 start: "2023-01-01", interval: "1d", limit: 30 });

克劳德的提示示例

与 Claude 合作时,请尝试以下特定的技术查询:

  • 分析 Solana 上的 JUP 代币。获取价格、交易量和顶级流动性池。

  • “比较 Uniswap V3 和以太坊上的 SushiSwap 的交易量。”

  • “获取 Raydium 上 SOL/USDC 的 7 天 OHLCV 数据并绘制价格图表。”

  • “在 Fantom 网络上按流动性找到排名前 5 的池子并分析它们的费用结构。”

  • “获取 Uniswap 上 ETH/USDT 池的近期交易并分析买入与卖出压力。”

  • “过去 24 小时内,币安智能链上哪些代币的价格上涨了 10% 以上?”

  • “搜索所有包含 ARB 代币的池并按数量排序。”

  • “检索 BTC/USDT 的 OHLCV 数据以分析波动模式并建立价格预测模型。”

速率限制和性能

  • 免费套餐限制:每分钟 60 个请求

  • 响应时间:大多数端点为 100-500 毫秒(取决于网络)

  • 数据新鲜度:池和令牌数据每 15-30 秒更新一次

  • 错误处理:429 状态代码表示速率限制

  • OHLCV 数据可用性:历史数据通常从代币/池创建日期开始提供

故障排除

常见问题:

  • 速率限制:如果收到 429 错误,则降低请求频率

  • 数据缺失:一些较新的代币/池可能具有不完整的历史数据

  • 超时错误:大数据请求可能需要更长时间,请考虑分页

  • 网络错误:检查网络连接,该服务需要互联网访问

  • OHLCV 限制:开始日期和结束日期之间的最大范围为 1 年;对于更长的时间范围,请使用分页

发展

# Clone the repository git clone https://github.com/coinpaprika/dexpaprika-mcp.git cd dexpaprika-mcp # Install dependencies npm install # Run with auto-restart on code changes npm run watch # Build for production npm run build # Run tests npm test

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

其他资源

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    An MCP server implementation that enables access to DexScreener API data, providing real-time information on DEX pairs, token profiles, and market statistics across multiple blockchains.
    Last updated -
    7
    19
    The Unlicense
  • A
    security
    A
    license
    A
    quality
    An MCP server for AI agents to explore DeFi yield opportunities, powered by DefiLlama.
    Last updated -
    1
    12
    MIT License
  • A
    security
    A
    license
    A
    quality
    An MCP server that tracks and analyzes DEX liquidity pools to power intelligent DeFi agents and automated strategies.
    Last updated -
    1
    2
    MIT License
  • A
    security
    A
    license
    A
    quality
    An MCP server that tracks trading volume metrics segmented by DEX, blockchain, aggregator, frontend, and Telegram bot.
    Last updated -
    10
    1
    MIT License
    • Apple
    • Linux

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/coinpaprika/dexpaprika-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server