← 开源
syedazharmbnr1

claude-chatgpt-mcp

A Claude MCP tool to interact with the ChatGPT desktop app on macOS

AI EngineeringGive agent toolsJavaScript
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
791
Star
103
Fork
+-2
本周
2
贡献者
创建于 2025-02-27 · 更新于 2026-10-11 · 今日第 13792 名
主要开发者
syedazharmbnr1htlin222

syedazharmbnr1/claude-chatgpt-mcp 排名第 13,792,有 791 个星标。

同类别比较

syedazharmbnr1/claude-chatgpt-mcp 排名第 13,792,此处有 8 个同类条目;RobustBench/robustbench 排名第 13,796。

同类别比较
名称排名指标
bosun-ai/swiftide13,773
语言:
Rust
星标数:
792
分叉数:
71
简介:
Fast, streaming indexing, query, and agentic LLM applications in Rust
google-research/bleurt13,776
语言:
Python
星标数:
792
分叉数:
94
简介:
BLEURT is a metric for Natural Language Generation based on transfer learning.
ECNU-SII/MIA13,782
语言:
Python
星标数:
791
分叉数:
85
简介:
Memory Intelligence Agent
Microck/opencode-studio13,784
语言:
TypeScript
星标数:
791
分叉数:
61
简介:
web GUI for securely managing local OpenCode configuration
RobustBench/robustbench13,796
语言:
Python
星标数:
790
分叉数:
106
简介:
RobustBench: a standardized adversarial robustness benchmark [NeurIPS 2021 Benchmarks and Datasets Track]
chirpz-ai/pandaprobe13,797
语言:
Python
星标数:
790
分叉数:
122
简介:
open source agent engineering platform: traces, evals, and metrics to debug and improve your AI agents. Integrates with LangGraph, CrewAI, Claude Agent SDK, and more.
hyperbrowserai/mcp13,804
语言:
TypeScript
星标数:
789
分叉数:
75
简介:
A MCP server implementation for hyperbrowser
line/line-bot-mcp-server13,805
语言:
TypeScript
星标数:
789
分叉数:
160
简介:
MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
关键参数与规格
关键参数与规格
参数值
语言JavaScript
类别AI Engineering
子类别Give agent tools
关键词MCP
星标数791
分叉数103
贡献者2
创建日期2025-02-27
更新日期2026-10-11
1 天星标数0
7 天星标数-2
排名13,792
上次排名13,688
排名变化-104
7 天星标排名18,424
上次 7 天星标排名18,360
7 天星标排名变化-64
总星标排名13,487
上次总星标排名13,470
总星标排名变化-17
README 摘录

Claude ChatGPT MCP Tool This is a Model Context Protocol (MCP) tool that allows Claude to interact with the ChatGPT desktop app on macOS. Features Ask ChatGPT questions directly from Claude View ChatGPT conversation history Continue existing ChatGPT conversations Installation Prerequisites macOS with M1/M2/M3 chip ChatGPT desktop app installed Bun installed Claude desktop app installed NPX Installation (Recommended) You can use NPX to run this tool without cloning the repository: **Install and run the package using NPX:** **Configure

Claude Desktop:** Edit your file (located at ) to include this tool: **Restart the Claude Desktop app** **Grant necessary 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 Manual Installation 1. Update your Claude Desktop configuration: Edit your file (located at ) to include this tool: Make sure to replace with your actual macOS username and adjust the path to where you cloned this

repository. 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 Usage Once installed, you can use the ChatGPT tool directly from Claude by asking questions like: "Can you ask ChatGPT what the capital of France is? " "Show me my recent ChatGPT conversations" "Ask ChatGPT to explain quantum computing" Troubleshooting If the tool isn't working properly: 1. Make sure ChatGPT app is

installed and you're logged in 2. Verify the path to bun in your claude_desktop_config. Check that you've granted all necessary permissions 4. Try restarting both Claude and ChatGPT apps Optimizations This fork includes several significant improvements to the original implementation: Enhanced AppleScript Robustness Conversation Retrieval Added multiple UI element targeting approaches to handle ChatGPT UI changes Implemented better error detection with specific error messages Added fallback mechanisms using accessibility attributes Improved timeout handling with appropriate delays Response Handling

Replaced fixed waiting times with dynamic response detection Added intelligent completion detection that recognizes when ChatGPT has finished typing Implemented text stability detection (waits until text stops changing) Added response extraction logic to isolate just the relevant response text Improved error handling with detailed error messages Added post-processing to clean up UI elements from responses Implemented incomplete response detection to warn about potential cutoffs These optimizations make the integration more reliable across different scenarios, more resilient to UI changes

in the ChatGPT application, and better at handling longer response times without message cutoff issues.

常见问题

记录了多少星标和分叉?

syedazharmbnr1/claude-chatgpt-mcp 有 791 个星标和 103 个分叉。

仓库排名是多少?

syedazharmbnr1/claude-chatgpt-mcp 排名第 13,792。

记录的语言和类别是什么?

syedazharmbnr1/claude-chatgpt-mcp 有 791 个星标,语言为 JavaScript,类别为 AI Engineering。

哪个仓库排名最接近?

syedazharmbnr1/claude-chatgpt-mcp 与 RobustBench/robustbench 比较,后者排名第 13,796,有 790 个星标。

README

Claude ChatGPT MCP Tool

This is a Model Context Protocol (MCP) tool that allows Claude to interact with the ChatGPT desktop app on macOS.

Features

  • Ask ChatGPT questions directly from Claude
  • View ChatGPT conversation history
  • Continue existing ChatGPT conversations

Installation

Prerequisites

NPX Installation (Recommended)

You can use NPX to run this tool without cloning the repository:

  • Install and run the package using NPX:
npx claude-chatgpt-mcp
  • Configure Claude Desktop:

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

"chatgpt-mcp": {
  "command": "npx",
  "args": ["claude-chatgpt-mcp"]
}
  • Restart the Claude Desktop app

  • Grant necessary 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

Manual Installation

  1. Clone this repository:
git clone https://github.com/syedazharmbnr1/claude-chatgpt-mcp.git
cd claude-chatgpt-mcp
  1. Install dependencies:
bun install
  1. Make sure the script is executable:
chmod +x index.ts
  1. 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:

"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.

  1. Restart Claude Desktop app

  2. 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

Usage

Once installed, you can use the ChatGPT tool directly from Claude by asking questions like:

  • "Can you ask ChatGPT what the capital of France is?"
  • "Show me my recent ChatGPT conversations"
  • "Ask ChatGPT to explain quantum computing"

Troubleshooting

If the tool isn't working properly:

  1. Make sure ChatGPT app is installed and you're logged in
  2. Verify the path to bun in your claude_desktop_config.json is correct
  3. Check that you've granted all necessary permissions
  4. Try restarting both Claude and ChatGPT apps

Optimizations

This fork includes several significant improvements to the original implementation:

Enhanced AppleScript Robustness

Conversation Retrieval

  • Added multiple UI element targeting approaches to handle ChatGPT UI changes
  • Implemented better error detection with specific error messages
  • Added fallback mechanisms using accessibility attributes
  • Improved timeout handling with appropriate delays

Response Handling

  • Replaced fixed waiting times with dynamic response detection
  • Added intelligent completion detection that recognizes when ChatGPT has finished typing
  • Implemented text stability detection (waits until text stops changing)
  • Added response extraction logic to isolate just the relevant response text
  • Improved error handling with detailed error messages
  • Added post-processing to clean up UI elements from responses
  • Implemented incomplete response detection to warn about potential cutoffs

These optimizations make the integration more reliable across different scenarios, more resilient to UI changes in the ChatGPT application, and better at handling longer response times without message cutoff issues.

License

MIT

排名相邻
同类项目