Skip to content

OpenAI Codex docs MCP

  • MCP server
  • 5 callable tools
  • Read only
  • 5 capabilities
Installation guide

Overview

Hosted by OpenAI, this server gives AI agents access to OpenAI developer documentation from platform.openai.com, developers.openai.com and learn.chatgpt.com, plus OpenAPI specs for OpenAI API endpoints.

Capabilities:

  • Search OpenAI documentation pages
  • Browse the list of crawled OpenAI doc pages
  • Fetch full markdown of a specific OpenAI doc page
  • List OpenAI API endpoint URLs
  • Retrieve the OpenAPI spec for an API endpoint

Works with

The products your agent can work with through this server.

Tools

The callable functions your agent uses to work with this server.

OpenAI Codex docs MCP tools
ToolWhat it does
search_openai_docsSearch across `platform.openai.com`, `developers.openai.com`, and `learn.chatgpt.com` docs.
list_openai_docsList or browse pages from `platform.openai.com`, `developers.openai.com`, and `learn.chatgpt.com` that this server crawls (useful when you don’t know the right query yet or you’re paging through results).
fetch_openai_docFetch the markdown for a specific doc page from `developers.openai.com`, `platform.openai.com`, or `learn.chatgpt.com` so you can quote or summarize exact, up-to-date guidance (schemas, examples, limits, and edge cases).
list_api_endpointsList all OpenAI API endpoint URLs available in the OpenAPI spec.
get_openapi_specReturn the OpenAPI spec for a specific API endpoint URL.

Installation

Add OpenAI Codex docs MCP to Claude Code

Run this in your terminal:

claude mcp add --transport http openai-codex-docs https://developers.openai.com/mcp

If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.