DexScreener MCP Server
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 端点
集成测试
Related MCP server: dex-kline-mcp
安装
手动安装:
npm install
npm run build
npm run setup测试
npm test用法
可用工具
get_latest_token_profiles获取最新的代币配置文件
无需参数 GXP4
get_latest_boosted_tokens获取最新提升的代币
无需参数 GXP5
get_top_boosted_tokens获取最活跃提升的代币
无需参数 GXP6
get_token_orders检查为特定代币 GXP7 支付的订单
get_pairs_by_chain_and_address通过链和配对地址获取一个或多个配对 GXP8
get_pairs_by_token_addresses通过代币地址获取一个或多个交易对(最多 30 个)GXP9
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添加新功能
在
src/types/中定义类型在
src/services/中实现服务方法在
src/index.ts中添加工具处理程序更新文档
添加测试
执照
麻省理工学院
Available Tools
7 toolsget_latest_boosted_tokensC
Get the latest boosted tokens
Inputs: no named parameters.
get_latest_token_profilesC
Get the latest token profiles
Inputs: no named parameters.
get_pairs_by_chain_and_addressC
Get one or multiple pairs by chain and pair address
Inputs: chainId (required), pairId (required).
get_pairs_by_token_addressesC
Get one or multiple pairs by token address (max 30)
Inputs: tokenAddresses (required).
get_token_ordersC
Check orders paid for a specific token
Inputs: chainId (required), tokenAddress (required).
get_top_boosted_tokensB
Get tokens with most active boosts
Inputs: no named parameters.
search_pairsC
Search for pairs matching query
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools have distinct purposes, with clear separation between boosted tokens, token profiles, pairs retrieval, token orders, and pair search. However, get_latest_boosted_tokens and get_top_boosted_tokens could potentially cause some confusion regarding whether they serve overlapping or complementary functions, as both relate to boosted tokens with slightly different focuses.
All tool names follow a consistent verb_noun pattern with underscores, using descriptive and predictable naming conventions. The structure is uniform across all seven tools, making it easy for agents to understand and predict tool purposes based on their names.
With 7 tools, the server is well-scoped for its purpose of providing DexScreener data access. Each tool appears to serve a specific and necessary function without redundancy, covering key operations like retrieving tokens, pairs, orders, and searches in a focused manner.
The tool set covers essential operations for accessing DexScreener data, including token and pair retrieval, orders, and search. A minor gap exists in the lack of update or management tools, but this is reasonable for a read-only data access server, and agents can work effectively with the provided query-focused tools.
Maintenance
Related MCP Connectors
Unlock the power of real-time cryptocurrency data with our Crypto Price Insights MCP server.
Market data tools for the MCP ecosystem: server stats, events, search, leaderboards, package trends.
MCP server for Financial Modeling Prep API with 250+ financial data tools
Hosted MCP server for live public-data APIs and Skills for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server for querying Uniswap pools/pairs by token address, delivering clean, structured results for easy integration and analysis.54MIT
- AlicenseAqualityDmaintenanceAn MCP server that streams K-line (candlestick) data from decentralized exchanges (DEXs) to power your AI agents and workflows.14MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides AI agents with real-time access to DEX liquidity pool data, enabling smarter trading, analytics, and automated strategies.101MIT
- AlicenseNot gradedqualityBmaintenanceMCP server providing market data for 15,000+ cryptocurrencies including prices, history, trends, and deep coin metadata via CoinGecko.263 npm1Apache 2.0