SuperAPIAI Directory

chatgpt-mcp

github.com · AI developer platforms

chatgpt-mcp is a hosted ChatGPT MCP server provided by HasData that lets MCP clients such as Claude, Cursor, and Windsurf anonymously ask ChatGPT questions through a single tool, returning Markdown-formatted answers as JSON along with the web sources ChatGPT referenced. Users do not need an OpenAI account or their own API key—only a HasData API key. It offers 1,000 free credits per month (about 100 questions) with no credit card required; paid plans start at $59 per month for 200,000 credits. Each successful call consumes 10 credits, and failed validations are not billed. The service is a remote server that supports access via URL plus the x-api-key request header, and it also provides the npm package @hasdata/chatgpt-mcp and the PyPI package hasdata-chatgpt-mcp for clients that only support stdio.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose

chatgpt-mcp is a hosted MCP (Model Context Protocol) server that provides a single ChatGPT tool for Claude, Cursor, Windsurf, and other MCP clients. It sends prompts to ChatGPT anonymously through HasData's ChatGPT Scraper API and returns the answer along with web sources as structured JSON. Users do not need an OpenAI account or their own OpenAI API key; the only credential is a HasData API key.

Key capabilities

  • Single tool: hasdata_chatgpt_chat_getChatgptAnswer, consuming 10 credits per successful call.
  • Returned content is under the conversation field: answer is the Markdown-formatted answer; title is the name ChatGPT generated for the conversation; model is the model that actually answered; usedWebSearch indicates whether a web search was performed; finishReason and complete distinguish whether the answer was truncated.
  • The sources field contains the web pages ChatGPT referenced, and the fields may be incomplete: in the example, all twenty sources contain title, url, and domain, eleven contain publishedDate, and only five contain snippet, so each field must be read defensively.
  • If usedWebSearch is false, then sources is empty or missing.
  • Each request is a brand-new conversation with no memory; conversationId only identifies the thread of this answer and cannot be continued.
  • The answer language follows the prompt language.
  • When a tool call fails, the MCP layer still returns 200, the error information is placed inside the result, isError is true, and the reason is given as text.

How to use

You need an MCP client and an API key created from the HasData dashboard (free to create, no credit card required). This is a remote server; the simplest way is to use the unified server URL plus the x-api-key request header, with no container to run. Clients that only support stdio can connect through a lightweight launcher, published on npm (@hasdata/chatgpt-mcp) and PyPI (hasdata-chatgpt-mcp). OAuth-capable clients can add the same URL as a connector and sign in, without placing keys in configuration files. It has been officially run in Claude Code and Claude Desktop; other clients should be configured according to their remote server documentation format.

Use cases

Suitable for users who want to obtain ChatGPT's public answers and their cited sources but do not want to hold an OpenAI account or API key; also suitable for scenarios that need to quickly call ChatGPT within an MCP client and obtain structured source data. Examples include asking about the current status of the Artemis program and listing sources, asking questions in German, asking about this week's AI news (timezone must be provided to clarify the meaning of "this week"), and asking the same question multiple times to compare differences (each is an independent conversation).

Limitations

  • Each successful call consumes 10 credits; answer length does not affect the price; calls that fail validation are not billed.
  • The free tier provides 1,000 credits per month (about 100 questions), with no credit card required; paid plans start at $59 per month for 200,000 credits (about 20,000 calls), with larger plans having a lower unit price; current prices are subject to the official plans page.
  • There is no conversation memory; follow-up questions must include context in the prompt themselves.
  • Truncated answers are still considered successful; check complete and finishReason.
  • Without web search there are no sources; if citations are needed, current information should be requested.
  • The answering model is the model ChatGPT anonymously provides at the time; the model field in the response reports the actual model and should not be assumed.
  • HasData is not affiliated with OpenAI and is not endorsed or sponsored by it.
  • The server only reads answers that ChatGPT makes public to anonymous visitors; it does not log in and does not access private conversations or account data.

Other information

The tests in the repository's test/ verify the tool contract: ?apis=chatgpt returns the expected single tool, the name and required parameters are unchanged, it has a description, and real calls still place the answer under conversation. The parameter table and examples come from the live schema and real calls, not from documentation.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools