Bridges Claude and other MCP clients to Gretl's econometrics engine via stdio. You get tools to run Hansl scripts, execute raw command lines, estimate OLS models, and manage function packages. The gretl_run_script tool is the workhorse: it takes prompt-generated Hansl code, feeds it to gretlcli, and returns output plus artifact paths. Most execution tools default to launching the Gretl GUI alongside CLI runs, with configurable flags if you need headless operation. Safe mode blocks shell-like commands in user scripts. Useful when you want an AI agent to prototype time series models, build forecast dashboards, or run specification curves without leaving the chat window.
claude mcp add --transport stdio ondrejlapes-gretlmcp uvx gretl-mcp