Kronos

v0.1.2
io.github.hangeaiagent/kronos-mcp Checked 3 hours ago Published 2 months ago

Stock price forecasting for China A-shares — Kronos K-line time-series model

Values you need

VariableWhat it is
KRONOS_API_KEYrequired secret KRONOS-type API key from https://hunter.agentpit.io/dev/api-keys
KRONOS_URLoptional Override the upstream endpoint if you self-host Default: https://kronos.agentpit.io
KRONOS_TIMEOUToptional Read timeout in seconds. GPU inference takes 30-70s Default: 180

PyPI (uvx) verified

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add kronos-mcp -e 'KRONOS_API_KEY=<KRONOS_API_KEY>' -- uvx kronos-mcp==0.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "kronos-mcp": {
      "args": [
        "kronos-mcp==0.1.2"
      ],
      "command": "uvx",
      "env": {
        "KRONOS_API_KEY": "<KRONOS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "kronos-mcp": {
      "args": [
        "kronos-mcp==0.1.2"
      ],
      "command": "uvx",
      "env": {
        "KRONOS_API_KEY": "<KRONOS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "KRONOS_API_KEY",
      "id": "kronos-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "kronos-mcp": {
      "args": [
        "kronos-mcp==0.1.2"
      ],
      "command": "uvx",
      "env": {
        "KRONOS_API_KEY": "${input:kronos-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.kronos-mcp]
command = "uvx"
args = ["kronos-mcp==0.1.2"]
env = { "KRONOS_API_KEY" = "<KRONOS_API_KEY>" }

For AI agents

  1. Ask the user for: KRONOS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: kronos_health, kronos_predict.
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json