chatgpt-cli

kardolus/chatgpt-cli
★ 896 stars Go 🤖 AI/LLM Updated 1mo ago
ChatGPT CLI is a powerful, multi-provider command-line interface for working with modern LLMs. It supports OpenAI, Azure, Perplexity, LLaMA, and more, with features like streaming, interactive chat, prompt files, image/audio I/O, MCP tool calls, and an experimental agent mode for safe, multi-step automation.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "chatgpt-cli": {
      "command": "go",
      "args": [
        "run",
        "github.com/kardolus/chatgpt-cli@latest"
      ]
    }
  }
}

Topics

agentagentic-aiazurechatgptcligogolanggptlanguage-modelllamamcp-clientopenaiperplexity