DexScreener MCP 服务器是一个用于访问 DexScreener API 的实现,它能让你实时获取多个区块链上的 DEX 对数据、代币信息和市场统计,为你的交易决策提供有力支持。
你可以选择一键安装,它会自动添加到 Claude Desktop:
curl -L https://raw.githubusercontent.com/opensvm/dexscreener-mcp-server/main/install.sh | bash
若你选择手动安装,可按以下步骤操作:
npm install
npm run build
npm run setup
get_latest_token_profiles
const 结果 = await mcpClient.callTool('dexscreener', 'get_latest_token_profiles');
get_latest_boosted_tokens
const 结果 = await mcpClient.callTool('dexscreener', 'get_latest_boosted_tokens');
get_top_boosted_tokens
const 结果 = await mcpClient.callTool('dexscreener', 'get_top_boosted_tokens');
get_token_orders
const 结果 = await mcpClient.callTool('dexscreener', 'get_token_orders', {
chainId: 'solana',
tokenAddress: 'So1111111111111111111111111111111'
});
你可以使用以下命令进行测试:
npm test