Agent♥︎Age
Catalog

Gretl MCP

Official

by OndrejLapes · JavaScript

Run Hansl/Gretl econometrics workflows via MCP with GUI launch and artifacts.

gretl-mcp (io.github.OndrejLapes/gretl-mcp)

The gretl-mcp server runs Hansl/Gretl econometrics workflows via MCP, including launching the real Gretl GUI and producing artifacts such as graph screenshots. It supports executing Hansl scripts, raw Gretl command lines, and working with datasets and models from MCP clients.

🛠️ Key Features

  • MCP access to Hansl/Gretl workflows
  • GUI launch for calculations in Gretl
  • Artifact outputs including graph screenshots
  • Tools include running scripts, raw command lines, and .inp files
  • Package operations/builds and help lookups
  • Dataset summaries and OLS models
  • Generic gretl_run_script is the main tool path

🚀 Use Cases

  • Execute Gretl/Hansl scripts from an AI agent or MCP client
  • Generate and retrieve graph screenshots as artifacts
  • Run existing .inp files and evaluate OLS models
  • Use package and help queries, plus dataset summaries

⚡ Developer Benefits

  • Standard MCP integration for Gretl/Hansl execution
  • Main entry via gretl_run_script
  • Access to both command-line workflows and GUI-visible results

⚠️ Limitations

  • The available functionality described focuses on running Gretl/Hansl workflows and related tasks (packages, help, datasets, OLS), without mention of other model types.