chatgpt-interlocutor
Enables Claude Code to query ChatGPT for second opinions and compare responses between models.
README
chatgpt-interlocutor
An MCP server that gives Claude Code a ChatGPT second opinion. Cross-model adversarial review without leaving your terminal.
Why
When you're working in Claude Code, sometimes you want a second perspective — a different model's take on the same problem. Not because one is better, but because disagreement surfaces blind spots.
This server adds two tools to every Claude Code session:
ask_chatgpt— Send a question to ChatGPT and get its response inline. Second opinions, alternative approaches, sanity checks.compare_approaches— Send the same prompt to both models and get a structured comparison. Specificity, depth, accuracy, voice.
Install
Prerequisites
You need an OpenAI API key.
Add to Claude Code
Add this to your ~/.claude.json under mcpServers:
{
"mcpServers": {
"chatgpt-interlocutor": {
"command": "npx",
"args": ["-y", "chatgpt-interlocutor"],
"env": {
"OPENAI_API_KEY": "sk-your-key-here"
}
}
}
}
Restart Claude Code. You should see ask_chatgpt and compare_approaches in your available tools.
Or install globally
npm install -g chatgpt-interlocutor
Then configure with the direct path:
{
"mcpServers": {
"chatgpt-interlocutor": {
"command": "chatgpt-interlocutor",
"env": {
"OPENAI_API_KEY": "sk-your-key-here"
}
}
}
}
Tools
ask_chatgpt
Get a second opinion from ChatGPT.
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt |
string | required | The question or task to send |
model |
string | gpt-4o-mini |
gpt-4o-mini, gpt-4o, or o3-mini |
system |
string | — | Optional system prompt for context |
temperature |
number | 0.7 |
Creativity 0–2. Lower = more focused |
compare_approaches
Benchmark Claude's output against ChatGPT's on the same task.
| Parameter | Type | Default | Description |
|---|---|---|---|
task_description |
string | required | What both models are being asked to do |
prompt |
string | required | The prompt to send to ChatGPT |
your_output |
string | — | Claude's output for side-by-side comparison |
model |
string | gpt-4o-mini |
Which ChatGPT model to use |
When your_output is provided, the response includes a comparison framework:
- Specificity — Which is more concrete and actionable?
- Depth — Which goes deeper into the problem?
- Voice — Which sounds more human / less generic AI?
- Structure — Which is better organized?
- Accuracy — Which is more correct?
- Differentiation — Where do they diverge most?
Models
| Model | Cost | Best for |
|---|---|---|
gpt-4o-mini |
Cheapest | Quick second opinions, brainstorming |
gpt-4o |
Mid | Deeper analysis, complex reasoning |
o3-mini |
Mid | Math, logic, structured reasoning |
How it works
This is a Model Context Protocol server that runs over stdio. Claude Code launches it as a subprocess, sends tool calls, and gets responses back. Your prompts go to the OpenAI API using your own key — nothing is stored or proxied.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.