Mcp Viz Convergence
mcp_viz_convergence
Open in the interactive browser →
Plot convergence from a simulation log: pass the log text (pasted lines are enough, e.g. Gaussian 'SCF Done: E(RHF) = ...' lines) and get a figure of SCF energy, residuals or gradient versus iteration. Parses Gaussian, ORCA, Psi4, OpenFOAM, CSV or a custom regex. Saves a PNG or SVG in the workspace when output_path is given.
Preview. This tool is available but has not yet completed Paramus output verification. Treat results as provisional.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
log_content |
string | yes | Raw log file content as a string |
log_format |
string | no | Log file format. 'auto' attempts to detect automatically. |
metric |
string | no | Which convergence metric(s) to plot |
custom_pattern |
string | no | Regex pattern for custom log format. Must have named groups 'iteration' and 'value'. |
title |
string | no | Title for the plot |
log_scale |
boolean | no | Use logarithmic scale for y-axis (useful for residuals) |
show_convergence_threshold |
number | no | Draw a horizontal line at convergence threshold |
output_format |
string | no | Output image format |
width |
integer | no | Figure width in pixels |
height |
integer | no | Figure height in pixels |
output_path |
string | no | Workspace-relative file path for the figure. A bare file name is placed in the chat's files folder. |
auto_open |
boolean | no | Open the saved file in system default application. Only applies when output_path is provided. |
overwrite |
boolean | no | Overwrite existing file. If false and file exists, returns an error. |
Examples
energysimulation