Skip to content

chaintable-cli v0.4.0

Choose a tag to compare

@chaintable-cli-release chaintable-cli-release released this 29 Oct 05:35
· 12 commits to main since this release

Chaintable CLI 0.4

Use Chaintable from any MCP client, and run SQL without saving a query or logging in.

Highlights

  • MCP server. chaintable mcp serves the CLI to Claude Desktop, Cursor, VS Code and other MCP clients as a local server, with two tools: chaintable_read for anything that changes nothing stored, and chaintable_run for creates, updates, deletes and notebook runs. chaintable mcp --help prints a ready configuration; see Use with MCP clients.
  • Ad-hoc SQL. chaintable query run --code @query.sql --wait runs SQL directly, with or without login, and saves nothing. Save a query only to keep, chart or schedule it; chaintable query run --id <id> --wait runs a saved query as it is.
  • More without login. Schedules and notebook executions, with their logs, are readable without login wherever their space is public. notebook instance list takes --notebook-id, --schedule-id or --account-id.
  • Fewer prompts for agents. SQL runs, function calls and rpc change nothing stored, so the Claude Code plugin runs them without asking, like other reads.
  • Clearer limits. The skill teaches that calls are rate limited per IP address per minute, with SQL runs the tightest, so agents batch those calls.

Try it

chaintable query run --code "SELECT count(*) AS transfers FROM token.token_transfer.base WHERE block_height > 53190000" --wait
chaintable mcp --help

Fixes

  • A get that finds nothing exits 5 with <resource> <id> not found; space get used to print nothing and exit 0.
  • A rate-limited call is retried only after the server's Retry-After. Limits count per minute, so retrying within seconds only used up more of it; without Retry-After the CLI exits 7 at once.

Update: chaintable update. It also updates the Claude Code and Codex plugins through their CLIs; then start a new agent session. Without those CLIs on PATH, update the plugin in the agent: /plugin update chaintable@chaintable in Claude Code, codex plugin marketplace upgrade chaintable for Codex.

Install: curl -fsSL https://raw.githubusercontent.com/haimingx/chaintable-cli/main/install.sh | sh

Verify: cosign verify-blob --bundle checksums.txt.sigstore.json --certificate-identity https://github.com/haimingx/chaintable-cli-src/.github/workflows/release.yml@refs/tags/v0.4.0 --certificate-oidc-issuer https://token.actions.githubusercontent.com checksums.txt, then sha256sum -c --ignore-missing checksums.txt.