Koskamo

Gretl MCP

An MCP server that allows agents to run Hansl/Gretl econometrics workflows. It enables users to prompt the server to execute Gretl commands and retrieve results, supporting both CLI and GUI interactions for tasks like forecasting and data analysis.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Gretl MCP logo, by OndrejLapesCommunity listingLocal stdioSource reviewed; not executedPublished by OndrejLapes
You need:Install Gretl Windows Download Gretl from the official page: https://gretl.sourceforge.net/win32/
Vendor documentation

What you can do with it

  • Run econometric models via Hansl scripts
  • Generate forecast outputs and error panels
  • Execute Gretl CLI commands from an agent

Source and maintenance

Community listingRegistry 0.2.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

gretl-mcp 0.2.1

npm
gretl-mcp package definition
{
  "version": "0.2.1",
  "transport": "stdio",
  "identifier": "gretl-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "GRETL_CLI",
      "format": "string",
      "description": "Optional explicit path to gretlcli or gretlcli.exe."
    },
    {
      "name": "GRETL_GUI",
      "format": "string",
      "description": "Optional explicit path to the visible Gretl GUI executable."
    },
    {
      "name": "GRETLMCP_WORKSPACE_DIR",
      "format": "string",
      "description": "Optional parent directory for Gretl run workspaces and generated artifacts."
    },
    {
      "name": "GRETLMCP_OPEN_GUI",
      "format": "string",
      "description": "Set to false to prevent script-running tools from opening visible Gretl GUI windows by default."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "gretl-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gretl-mcp@0.2.1"
      ],
      "env": {
        "GRETL_CLI": "<YOUR_GRETL_CLI>",
        "GRETL_GUI": "<YOUR_GRETL_GUI>",
        "GRETLMCP_WORKSPACE_DIR": "<YOUR_GRETLMCP_WORKSPACE_DIR>",
        "GRETLMCP_OPEN_GUI": "<YOUR_GRETLMCP_OPEN_GUI>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "gretl-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gretl-mcp@0.2.1"
      ],
      "env": {
        "GRETL_CLI": "<YOUR_GRETL_CLI>",
        "GRETL_GUI": "<YOUR_GRETL_GUI>",
        "GRETLMCP_WORKSPACE_DIR": "<YOUR_GRETLMCP_WORKSPACE_DIR>",
        "GRETLMCP_OPEN_GUI": "<YOUR_GRETLMCP_OPEN_GUI>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "gretl-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gretl-mcp@0.2.1"
      ],
      "env": {
        "GRETL_CLI": "<YOUR_GRETL_CLI>",
        "GRETL_GUI": "<YOUR_GRETL_GUI>",
        "GRETLMCP_WORKSPACE_DIR": "<YOUR_GRETLMCP_WORKSPACE_DIR>",
        "GRETLMCP_OPEN_GUI": "<YOUR_GRETLMCP_OPEN_GUI>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "gretl-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gretl-mcp@0.2.1"
      ],
      "env": {
        "GRETL_CLI": "<YOUR_GRETL_CLI>",
        "GRETL_GUI": "<YOUR_GRETL_GUI>",
        "GRETLMCP_WORKSPACE_DIR": "<YOUR_GRETLMCP_WORKSPACE_DIR>",
        "GRETLMCP_OPEN_GUI": "<YOUR_GRETLMCP_OPEN_GUI>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Gretl MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.