MCP server
Gretl MCP
Run Hansl/Gretl econometrics workflows via MCP with GUI launch and artifacts.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.1
- Listing updated
- 5 days ago
About Gretl MCP
Gretl MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add gretl-mcp -- npx -y gretl-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"gretl-mcp": {
"command": "npx",
"args": [
"-y",
"gretl-mcp"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"gretl-mcp": {
"command": "npx",
"args": [
"-y",
"gretl-mcp"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"gretl-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gretl-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gretl-mcp": {
"command": "npx",
"args": [
"-y",
"gretl-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"gretl-mcp": {
"command": "npx",
"args": [
"-y",
"gretl-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
GRETL_CLIOptional explicit path to gretlcli or gretlcli.exe.GRETL_GUIOptional explicit path to the visible Gretl GUI executable.GRETLMCP_WORKSPACE_DIROptional parent directory for Gretl run workspaces and generated artifacts.GRETLMCP_OPEN_GUISet to false to prevent script-running tools from opening visible Gretl GUI windows by default.
Pricing
Open source
Gretl MCP FAQ
Is Gretl MCP free?
Yes. Gretl MCP is open source, so you can use and self-host it for free.
How do I add Gretl MCP to Claude Code?
Run this command in your terminal: claude mcp add gretl-mcp -- npx -y gretl-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.