Gretl MCP Server
by ondrejlapesio.github.OndrejLapes/gretl-mcpv0.2.1
Run Hansl/Gretl econometrics workflows via MCP with GUI launch and artifacts.
context tax
queued
security
queued
cold start
queued
freshness
Slowing5mo ago
Install Gretl MCP server
Install in Claude Code
claude mcp add gretl -- npx -y gretl-mcpInstall in Cursor
{
"mcpServers": {
"gretl": {
"command": "npx",
"args": [
"-y",
"gretl-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"gretl": {
"command": "npx",
"args": [
"-y",
"gretl-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"gretl": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gretl-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"gretl": {
"command": "npx",
"args": [
"-y",
"gretl-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GRETL_CLI | — | — | Optional explicit path to gretlcli or gretlcli.exe. |
| GRETL_GUI | — | — | Optional explicit path to the visible Gretl GUI executable. |
| GRETLMCP_WORKSPACE_DIR | — | — | Optional parent directory for Gretl run workspaces and generated artifacts. |
| GRETLMCP_OPEN_GUI | — | — | Set to false to prevent script-running tools from opening visible Gretl GUI windows by default. |
Freshness
Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-05-15 · 5mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-05-15 · 5mo ago · official registry · v0.2.1
FAQ
›How do I install the Gretl MCP server in Claude Code?
Run: claude mcp add gretl -- npx -y gretl-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Gretl require an API key?
No required environment variables are declared in its published metadata.
›Can I use Gretl as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Gretl in the official MCP registry?
Yes, as io.github.OndrejLapes/gretl-mcp.