ChatGPT Web2API

•
96
•

Expose ChatGPT's web interface as an OpenAI-compatible API and a Model Context Protocol (MCP) server, handling anti-bot challenges automatically via browser automation.

ChatGPT Web2API enables programmatic interaction with your ChatGPT Plus subscription without requiring separate OpenAI API keys or manual handling of anti-bot measures like token extraction or sentinel solving. By driving a real Chrome browser via the Chrome DevTools Protocol (CDP), it transparently navigates ChatGPT's web interface, providing a fully OpenAI-compatible REST API for seamless integration with the OpenAI Python SDK. Additionally, it offers a robust MCP server with 16 specialized tools, empowering AI agents with full CRUD operations for managing ChatGPT projects, persistent memories, conversations, and custom GPTs.

Key Features

01Full CRUD operations for ChatGPT Projects, Memories, Conversations, and Custom GPTs
02OpenAI-compatible REST API for seamless integration with OpenAI SDK and clients
03Automatic anti-bot handling and session management via CDP-driven browser automation
04MCP server with 16 tools, providing comprehensive control for AI agents over ChatGPT features
05Intelligent rate limit handling and agent retry mechanisms for robust autonomous workflows
060 GitHub stars

Use Cases

01Build advanced AI agents capable of managing conversations, projects, and memories within ChatGPT
02Integrate ChatGPT's web features into applications and services using a standard OpenAI SDK endpoint
03Programmatically access and control your ChatGPT Plus subscription without needing an OpenAI API key