claude-chatgpt-mcp

This repository provides a Model Context Protocol (MCP) tool enabling Claude to interact with the ChatGPT desktop app on macOS, allowing users to ask questions, view history, and continue conversations.

641
25

Claude ChatGPT MCP Tool

This tool enables Claude to interact with the ChatGPT desktop application on macOS using the Model Context Protocol (MCP).

Features

  • Directly query ChatGPT from within Claude.
  • Access and view your ChatGPT conversation history.
  • Continue existing conversations within ChatGPT.

Installation

Prerequisites

  • macOS (M1/M2/M3 chip)
  • ChatGPT desktop app installed
  • Bun installed
  • Claude desktop app installed

Installation Steps

  1. Clone the repository.
  2. Install dependencies using bun install.
  3. Make the index.ts script executable using chmod +x index.ts.
  4. Update claude_desktop_config.json (located at ~/Library/Application Support/Claude/claude_desktop_config.json) to include the tool, specifying the path to Bun and index.ts.
  5. Restart the Claude Desktop app.
  6. Grant Accessibility permissions to Terminal (or iTerm) in System Preferences.

Usage

Interact with ChatGPT through Claude using prompts like "Ask ChatGPT what the capital of France is?" or "Show me my recent ChatGPT conversations."

Troubleshooting

Ensure ChatGPT is installed and you're logged in, the Bun path in claude_desktop_config.json is correct, necessary permissions are granted, and try restarting both apps.

License

MIT

Repository

SY
syedazharmbnr1

syedazharmbnr1/claude-chatgpt-mcp

Created

February 27, 2025

Updated

March 29, 2025

Language

TypeScript

Category

Developer Tools