内容
# BotIndex MCP 服务器
> 为 AI 代理提供信号情报 — 体育赔率、加密货币相关性、代币毕业等。**每钱包 50 次免费高级请求。** 然后通过 [x402](https://x402.org) 使用 USDC 支付每条请求。无需 API 密钥。每个响应都带有加密签名的 [代理操作收据(AAR)](https://aar.botindex.dev)。
**实时 API:** [king-backend.fly.dev](https://king-backend.fly.dev/api/botindex/v1/)
---
## 立即试用
```bash
# 运行 MCP 服务器
npx botindex-mcp-server
# 或直接测试 API(免费端点)
curl https://king-backend.fly.dev/api/botindex/v1/
curl https://king-backend.fly.dev/api/botindex/zora/trending-coins
curl https://king-backend.fly.dev/api/botindex/hyperliquid/funding-arb
```
---
## 安装
```bash
npm install botindex-mcp-server
```
### Claude 桌面版
添加到 `~/Library/Application Support/Claude/claude_desktop_config.json`:
```json
{
"mcpServers": {
"botindex": {
"command": "npx",
"args": ["-y", "botindex-mcp-server"]
}
}
}
```
### Cursor
添加到 `.cursor/mcp.json`:
```json
{
"mcpServers": {
"botindex": {
"command": "npx",
"args": ["-y", "botindex-mcp-server"]
}
}
}
```
### Windsurf / Cline / Continue.dev
相同的模式 — 将您的 MCP 配置指向 `npx botindex-mcp-server`。
---
## 17 种工具
### 体育情报
| 工具 | 描述 | 价格 |
|------|-------------|-------|
| `botindex_sports_odds` | NFL、NBA、UFC、NHL 等比赛的实时赔率 | $0.02 |
| `botindex_sports_lines` | 线上移动 + 锐利动作标志 | $0.02 |
| `botindex_sports_props` | 具有信心的球员道具投注 | $0.02 |
| `botindex_sports_correlations` | 用于 DFS 的球员相关性矩阵 | $0.05 |
| `botindex_sports_optimizer` | 相关性调整的 DFS 阵容优化器 | $0.10 |
| `botindex_sports_arb` | 跨平台套利扫描器 | $0.05 |
### 加密货币和代币发布
| 工具 | 描述 | 价格 |
|------|-------------|-------|
| `botindex_crypto_tokens` | 具有价格数据的代币宇宙 | $0.02 |
| `botindex_crypto_graduating` | Catapult→Hyperliquid 毕业信号 | $0.02 |
| `botindex_solana_launches` | Metaplex Genesis 代币发布 | $0.02 |
| `botindex_solana_active` | 仅限活跃的 Genesis 发布 | $0.02 |
| `botindex_correlation_leaders` | 顶部相关/反相关对 | $0.05 |
### 代理商务
| 工具 | 描述 | 价格 |
|------|-------------|-------|
| `botindex_commerce_compare` | 比较 ACP vs UCP vs x402 协议 | $0.05 |
| `botindex_commerce_protocols` | 具有费用的协议目录 | $0.01 |
### 高级分析
| 工具 | 描述 | 价格 |
|------|-------------|-------|
| `botindex_dashboard` | 相关性矩阵、领导者、恐惧/贪婪 | $0.50 |
| `botindex_signals` | 聚合预测市场信号 | $0.10 |
| `botindex_agent_trace` | 代理推理跟踪 | $0.05 |
| `botindex_discover` | 完整端点目录(免费) | 免费 |
---
## 支付方式
BotIndex 使用 [x402](https://github.com/coinbase/x402) — Coinbase 的 HTTP 402 Payment Required 协议。
```
您的代理 → 调用 botindex 工具
MCP 服务器 → GET king-backend.fly.dev/api/botindex/v1/sports/odds
← 402 + 支付指令(金额,钱包,网络)
→ 在 Base 上使用 x402 支付 USDC
← 200 + 数据
```
无需 API 密钥。无需注册。无速率限制层。您的钱包是您的身份。
### 免费试用
每个钱包都有 **50 次免费高级请求**。只需发送 `X-Wallet: 0x...` 头部。响应中包含 `X-BotIndex-Free-Remaining`,以便您准确了解自己的位置。在 50 次请求后,x402 支付会自动启动。
要启用试用期后的自动支付,请使用已资助的 Base 钱包和 [@x402/client](https://www.npmjs.com/package/@x402/client) SDK 配置您的代理。
---
## 免费端点(无需支付)
这些端点可以直接使用,无需钱包:
- `botindex_discover` — 具有定价的完整端点目录
- Zora 趋势币(通过 API:`/api/botindex/zora/trending-coins`)
- Hyperliquid 资金套利(通过 API:`/api/botindex/hyperliquid/funding-arb`)
---
## 免费 vs 高级
- **免费密钥:** 每天 100 次免费端点请求。高级端点返回升级/支付提示。
- **高级密钥($29/月):** 无限制访问所有端点,无 x402 支付门槛。
升级链接:https://api.botindex.dev/api/botindex/keys/register?plan=pro
---
## 可验证的代理操作(AAR)
每个 BotIndex API 响应都带有签名的 **代理操作收据**,位于 `X-AAR-Receipt` 头部 — Ed25519 签名的证明,证明您的代理请求了什么,返回了什么,以及花费了多少。
- **独立验证任何收据** — 无需可信的中间人
- **保护隐私** — 输入/输出使用 SHA-256 哈希,不暴露
- **与 Mastercard 可验证意图兼容** — 双向映射
- **与 Aztec ZK 兼容** — 在链上验证,无需透露内容
```bash
npm install botindex-aar
```
```ts
import { verifyReceipt } from 'botindex-aar';
const result = verifyReceipt(receipt);
// { ok: true } — 收据有效且未被篡改
```
- **AAR 规范:** [github.com/Cyberweasel777/agent-action-receipt-spec](https://github.com/Cyberweasel777/agent-action-receipt-spec)
- **登陆页:** [aar.botindex.dev](https://aar.botindex.dev)
- **npm:** [botindex-aar](https://www.npmjs.com/package/botindex-aar)
---
## 链接
- **API:** [king-backend.fly.dev/api/botindex/v1/](https://king-backend.fly.dev/api/botindex/v1/)
- **代理发现:** [/.well-known/ai-plugin.json](https://king-backend.fly.dev/.well-known/ai-plugin.json)
- **AAR 信任层:** [aar.botindex.dev](https://aar.botindex.dev)
- **x402 协议:** [github.com/coinbase/x402](https://github.com/coinbase/x402)
- **源码:** [github.com/Cyberweasel777/king-backend](https://github.com/Cyberweasel777/king-backend)
---
## 许可证
MIT