Skip to main content
Glama

DexScreener MCP Server

by openSVM

DexScreener MCP 服务器

用于访问 DexScreener API 的 MCP 服务器实现,提供跨多个区块链的 DEX 对数据、代币信息和市场统计数据的实时访问。

单行安装(自动添加到 Claude Desktop):

curl -L https://raw.githubusercontent.com/opensvm/dexscreener-mcp-server/main/install.sh | bash

特征

  • 速率受限的 API 访问(遵守 DexScreener 的速率限制)
  • 全面的错误处理
  • 类型安全接口
  • 支持所有 DexScreener API 端点
  • 集成测试

安装

手动安装:

npm install npm run build npm run setup

测试

npm test

用法

可用工具

  1. get_latest_token_profiles
    • 获取最新的代币配置文件
    • 无需参数 GXP4
  2. get_latest_boosted_tokens
    • 获取最新提升的代币
    • 无需参数 GXP5
  3. get_top_boosted_tokens
    • 获取最活跃提升的代币
    • 无需参数 GXP6
  4. get_token_orders
    • 检查为特定代币 GXP7 支付的订单
  5. get_pairs_by_chain_and_address
    • 通过链和配对地址获取一个或多个配对 GXP8
  6. get_pairs_by_token_addresses
    • 通过代币地址获取一个或多个交易对(最多 30 个)GXP9
  7. search_pairs
    • 搜索与查询 GXP10 匹配的对

速率限制

服务器实施速率限制以符合 DexScreener 的 API 限制:

  • 令牌配置文件/Boost 端点:每分钟 60 个请求
  • DEX/Pairs 端点:每分钟 300 个请求

错误处理

服务器处理各种错误情况:

  • 超出速率限制
  • 参数无效
  • 网络错误
  • API 错误

错误以标准格式返回,并带有适当的错误代码和消息。

API 文档

有关详细的 API 文档,请参阅docs/api-reference.md

发展

项目结构

. ├── src/ │ ├── types/ # TypeScript interfaces and types │ ├── services/ # API service implementations │ ├── tests/ # Integration tests │ └── index.ts # Main server implementation ├── scripts/ # Setup and utility scripts ├── docs/ # Documentation └── README.md # This file

添加新功能

  1. src/types/中定义类型
  2. src/services/中实现服务方法
  3. src/index.ts中添加工具处理程序
  4. 更新文档
  5. 添加测试

执照

麻省理工学院

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

MCP 服务器实现可以访问 DexScreener API 数据,提供跨多个区块链的 DEX 对、代币配置文件和市场统计数据的实时信息。

  1. 特征
    1. 安装
      1. 测试
        1. 用法
          1. 可用工具
        2. 速率限制
          1. 错误处理
            1. API 文档
              1. 发展
                1. 项目结构
                2. 添加新功能
              2. 执照

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
                  Last updated -
                  3
                  104
                  28
                  TypeScript
                  MIT License
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  An MCP server that provides comprehensive market intelligence by analyzing data from both the Apple App Store and Google Play Store, enabling users to research apps, track market trends, study competitors, and understand user feedback across mobile marketplaces.
                  Last updated -
                  102
                  5
                  JavaScript
                • -
                  security
                  A
                  license
                  -
                  quality
                  DexPaprika MCP server allows LLMs to access real-time and historical data on tokens, DEX trading activity, and liquidity across multiple blockchains. It enables natural language queries for exploring market trends, token performance, and DeFi analytics through a standardized interface.
                  Last updated -
                  102
                  10
                  JavaScript
                  MIT License
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  MCP Server for the CoinStats API. Provides access to cryptocurrency market data, portfolio tracking, and news.
                  Last updated -
                  30
                  17
                  3
                  TypeScript
                  MIT License

                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/openSVM/dexscreener-mcp-server'

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