Skip to content
Claude Code

Gretl MCP for Claude Code

io.github.ondrejlapes/gretl-mcp

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

client:Claude Code transport:stdio runtime:npm

Install Gretl MCP in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add gretl-mcp -e GRETL_CLI=<GRETL_CLI> -e GRETL_GUI=<GRETL_GUI> -e GRETLMCP_WORKSPACE_DIR=<GRETLMCP_WORKSPACE_DIR> -e GRETLMCP_OPEN_GUI=<GRETLMCP_OPEN_GUI> -- npx -y gretl-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Gretl MCP in other clients