Skip to main content

jobstate

Tools for AI agents to submit, watch and report on Slurm jobs on the JSC supercomputers JUPITER, JURECA, JUWELS and JUSUF: an MCP server (jobstate-mcp) and a command-line tool (jobstate).

Instead of polling squeue turn after turn, an agent waits for its jobs with one tool call, or is notified when they end; a long job costs one model turn at the end. Submissions go through a dry run and a separate confirmation, under limits and budget guards the server enforces itself.

Install

pip install jobstate

Or with uv: uv tool install jobstate.

On a JSC login node, check the setup and add the server to Claude Code:

jobstate check
claude mcp add -s user jobstate -- jobstate-mcp

From your own machine the server reaches the cluster over ssh:

jobstate check --cluster jupiter --host <your ssh config name>
claude mcp add -s user jobstate-jupiter -- jobstate-mcp --cluster jupiter --host <your ssh config name>

Tools

job_status, list_jobs, job_summary, tail_log, job_report (GPU efficiency from LLview), watch_job, wait_for_jobs, cluster_info, and, unless configured read-only, submit_job (a dry run), confirm_submit and cancel_job. End-of-job events carry exit code, run time against the limit, busy cores, peak memory, I/O and node-hours from Slurm accounting.

Configuration (allowed accounts, tighter limits, read-only mode, ntfy or webhook notifications) goes into ~/.config/jobstate-mcp/config.yaml. Python 3.12 or later.

Metadata

Release files for jobstate 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jobstate 0.1.1
File Size Uploaded Provenance
jobstate-0.1.1.tar.gz 70.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for jobstate 0.1.1
File Interpreter ABI Platform
jobstate-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 162.4 kB

Release files / jobstate-0.1.1.tar.gz

Download URL jobstate-0.1.1.tar.gz
Size 70.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b6972c92925b4d39612ef45b8483a5123c42db745929a8f8065e885bd03fc0d2
BLAKE2b-256 checksum
How to use checksums
2aaf32053bfba398fb9ae8c12790d36c8c9340de315ae54b20898219e9b134cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release files / jobstate-0.1.1-py3-none-any.whl

Download URL jobstate-0.1.1-py3-none-any.whl
Size 92.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf84270ccf379b42600e02fdeef1fc47f0dc5f4b72c08ad1f02b4d1018f2a375
BLAKE2b-256 checksum
How to use checksums
8bab38a83a3a6384a3bb8fda08b9dbdfe9d0b5327a7f857d7a2b539fcc6a290e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Security for jobstate 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page