CONNECT
把 NightIndex 接进 AI 工具
能读到什么
- 各板块的公共日报,中文与英文两版。
- 你本人有权查看的定制化日报。
- 输出为 Markdown 全文,不带引用列表与行内编号。
- 只读:不提供资讯条目、速览与行情数据。
三步接入
接入示例
Claude Code:终端执行一行
claude mcp add --transport http nightindex https://chase-dream.cn/u/mcp --header "Authorization: Bearer <你的令牌>"
Codex CLI:令牌放环境变量,不写进配置文件
export NIGHTINDEX_TOKEN="<你的令牌>"
codex mcp add nightindex --url https://chase-dream.cn/u/mcp --bearer-token-env-var NIGHTINDEX_TOKEN
腾讯 WorkBuddy / CodeBuddy:存为 ~/.workbuddy/mcp.json(已有该文件则并入 mcpServers),首次使用在界面里点「信任」。
{
"mcpServers": {
"nightindex": {
"type": "http",
"url": "https://chase-dream.cn/u/mcp",
"headers": {"Authorization": "Bearer <你的令牌>"}
}
}
}
DeepSeek harness (dsh) / Cline / Cherry Studio:新增一个类型为 streamable-http 的 MCP 服务,地址填 https://chase-dream.cn/u/mcp,请求头加一行 Authorization: Bearer <你的令牌>。
不走 MCP 的程序:直接调用 REST
curl -H "Authorization: Bearer <你的令牌>" "https://chase-dream.cn/u/api/v1/digests/latest?board=fed_macro"
可用的工具
list_boards:列出板块及其 key。get_latest_digest、list_digests、get_digest:读取公共日报。list_my_reports、get_my_report:读取你有权查看的定制化日报。
请妥善保管令牌:它与你的账号拥有同样的阅读权限。内容聚合自公开来源,不构成投资建议。