1. Conduid
  2. Search
  3. Chatgpt Websearch MCP
MCP server · Search

Chatgpt Websearch MCP

ChatGPT Local MCP for web search

34Low

Scored 6 months ago · breakdown

About Chatgpt Websearch MCP

Chatgpt Websearch MCP is an MCP server in the Search category: chatGPT Local MCP for web search.

Install

From source
git clone https://github.com/nekobato/chatgpt-websearch-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Chatgpt Websearch MCP

Powered by Claude · Grounded in docs

I know everything about Chatgpt Websearch MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

ChatGPT WebSearch MCP

A local MCP stdio server that provides access to the OpenAI (ChatGPT) API for Claude Code and other MCP clients. Supports models with web search capabilities.


Usage

Claude Code

$ claude mcp add chatgpt-websearch \
	-s user \  # If you omit this line, it will be installed in the project scope
	-e OPENAI_API_KEY=your-api-key \
	-- npx @nekobato/chatgpt-websearch-mcp

Or configure in settings

{
  "mcpServers": {
    "chatgpt-websearch": {
      "command": "npx",
      "args": ["@nekobato/chatgpt-websearch-mcp"],
      "env": {
        "OPENAI_API_KEY": "your-api-key",
        ...
      },
    },
  },
}

Environment Variables

The following environment variables can be used to set default values:

  • OPENAI_API_KEY (required): Your OpenAI API key
  • OPENAI_DEFAULT_MODEL (optional): Default model to use (default: gpt-5)
  • REASONING_EFFORT (optional): Default reasoning effort level for reasoning models (minimal|low|medium|high)
  • SEARCH_CONTEXT_SIZE (optional): Default verbosity level (low|medium|high)
  • OPENAI_MAX_RETRIES (optional): Default maximum retry attempts (default: 3)
  • OPENAI_API_TIMEOUT (optional): Default API timeout in milliseconds. If not set, auto-adjusts based on effort level:
    • minimal/low: 60000 (1 minute)
    • medium: 120000 (2 minutes)
    • high: 300000 (5 minutes)

API

MCP Tools

  • ask_chatgpt: Send a prompt to ChatGPT and receive a response
    • prompt (required): The prompt to send
    • model (optional): The model to use (default: from OPENAI_DEFAULT_MODEL env var or gpt-5)
    • system (optional): System prompt to set context and behavior
    • temperature (optional): Temperature for response generation (0-2, default: 0.7) - Not available for reasoning models
    • effort (optional): Reasoning effort level (minimal|low|medium|high, default: from REASONING_EFFORT env var) - For reasoning models only
    • verbosity (optional): Output verbosity (low|medium|high, default: from SEARCH_CONTEXT_SIZE env var) - For reasoning models only
    • maxTokens (optional): Maximum output tokens
    • maxRetries (optional): Maximum API retry attempts (default: from OPENAI_MAX_RETRIES env var or 3)
    • timeoutMs (optional): Request timeout in milliseconds. Auto-adjusts based on effort level (high=300s, medium=120s, low/minimal=60s)
    • useStreaming (optional): Force streaming mode to prevent timeouts. Auto-enabled for medium/high effort reasoning models

Development

Requirements

  • Node.js 22+
  • An OpenAI API key in OPENAI_API_KEY

Commands

# Install dependencies
pnpm install

# Run in development mode
pnpm dev

# Build for production
pnpm build

# Run tests
pnpm test

# Lint code
pnpm lint

# Format code
pnpm format

License

MIT License

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Chatgpt Websearch MCP

How do I install Chatgpt Websearch MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Chatgpt Websearch MCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Chatgpt Websearch MCP still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.