# claude-chatgpt-mcp

> MCP Client

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.

## Overview

- **Category:** Developer Tools
- **Language:** TypeScript
- **Stars:** 795
- **Forks:** 25
- **Owner:** syedazharmbnr1
- **GitHub:** https://github.com/syedazharmbnr1/claude-chatgpt-mcp
- **Created:** 2025-02-27T12:33:00+00:00
- **Updated:** 2025-03-29T00:10:48+00:00
- **Source:** https://model-context-protocol.com/clients/claude-chatgpt-macos-desktop-interaction-tool

## Setup

## Setup

### Prerequisites

- macOS with M1/M2/M3 chip
- [ChatGPT desktop app](https://chatgpt.com/download) installed
- [Bun](https://bun.sh/) installed
- [Claude desktop app](https://claude.ai/desktop) installed

### Installation Steps

1. Clone this repository:

```bash
git clone https://github.com/syedazharmbnr1/claude-chatgpt-mcp.git
cd claude-chatgpt-mcp
```

2. Install dependencies:

```bash
bun install
```

3. Make sure the script is executable:

```bash
chmod +x index.ts
```

4. Update your Claude Desktop configuration:

Edit your `claude_desktop_config.json` file (located at `~/Library/Application Support/Claude/claude_desktop_config.json`) to include this tool:

```json
"chatgpt-mcp": {
  "command": "/Users/YOURUSERNAME/.bun/bin/bun",
  "args": ["run", "/path/to/claude-chatgpt-mcp/index.ts"]
}
```

Make sure to replace `YOURUSERNAME` with your actual macOS username and adjust the path to where you cloned this repository.

5. Restart Claude Desktop app

6. Grant permissions:
   - Go to System Preferences > Privacy & Security > Privacy
   - Give Terminal (or iTerm) access to Accessibility features
   - You may see permission prompts when the tool is first used

## Tools

## Available Tools

1. Ask ChatGPT questions directly from Claude (Allows users to query ChatGPT from within Claude).
2. View ChatGPT conversation history (Enables users to see their past ChatGPT interactions).
3. Continue existing ChatGPT conversations (Lets users pick up where they left off in ChatGPT).
