# How to connect OpenAI developer docs to Cursor

> Connect OpenAI developer docs to Cursor with the Firecrawl MCP server. Use OpenAI developer docs as an MCP tool in Cursor via Firecrawl Alexandria.

To connect OpenAI developer docs to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for OpenAI developer docs data in plain language. The connection works in Cursor's agent and chat, and you set it up once.

Cursor uses OpenAI developer docs as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for OpenAI developer docs.

Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect OpenAI developer docs to Cursor?

### 1. Install the Firecrawl MCP server

Open the [install dialog in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9), check that the URL is Firecrawl's hosted server, then select Install.

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9)

![Cursor's Install MCP server dialog with the Firecrawl hosted server URL](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-install-firecrawl-mcp-server.webp)

### 2. Connect your Firecrawl account

Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

![Cursor's MCP list showing Firecrawl connected with its tools enabled](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-firecrawl-mcp-connected.webp)

### 3. Ask Cursor's agent for the data

In the agent chat, ask in plain language and mention OpenAI developer docs or Firecrawl Alexandria. The agent finds the OpenAI developer docs capability that fits and runs it. For example:

```text
Use Firecrawl to run OpenAI developer docs' Changelog capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
```

## What can Cursor do with OpenAI developer docs?

Official OpenAI API documentation from developers.openai.com: docs search through OpenAI's public docs MCP server, any guide, reference or cookbook page as Markdown with an outline and section reads, the model catalog and model pages (context window, pricing, knowledge cutoff, endpoints, rate limits), per-tier token pricing, deprecations with shutdown dates and replacements, the dated API changelog and API endpoint reference (parameters and response fields). Public pages published for agents; no key or login.

Cursor can run any of OpenAI developer docs's 8 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Changelog**: Dated OpenAI API changelog entries from https://developers.openai.com/api/docs/changelog.md, newest first: date (YYYY-MM-DD), kind (Feature, Update, Fix, Announcement), the models and API routes each entry tags, and the entry's Markdown. Filter by since/until date and exact model tag. Costs 5 Firecrawl credits per call.
- **Get api endpoint**: One OpenAI API endpoint from the official API reference: summary, description, path/query/header/body parameters (name, type, required, nullable, description) and the response object's fields, plus request/response examples when include_examples is set. Takes a method and path (POST /v1/responses, GET /v1/models/{model} or a concrete path like GET /v1/models/gpt-5) checked against list_api_endpoints on OpenAI's docs MCP server, then reads the reference method page's Markdown twin; or a developers.openai.com/api/reference/.../methods/... URL directly. Paths the API does not have are not_found. Costs 5 Firecrawl credits per call.
- **Get model**: One OpenAI model page (https://developers.openai.com/api/docs/models/{id}.md): context window, max input and output tokens, knowledge cutoff, modalities, reasoning token support, token pricing per 1M (input, cached input, cache writes, output) plus every pricing table and note, endpoint support (Responses, Chat Completions, Batch, Realtime and more), supported features and tools, snapshots and per-tier rate limits. Values the page does not state are null. Unknown model IDs are not_found. Costs 5 Firecrawl credits per call.
- **Get page**: One OpenAI developer docs page as clean Markdown (the site's .md twin, e.g. https://developers.openai.com/api/docs/guides/text.md, or the {path}/index.md twin some API reference method pages publish instead) with title, description, an outline of every heading (level, text, anchor) and optional section reads: section (heading text or anchor, case-insensitive) returns only that heading's subtree. Accepts a site path (api/docs/guides/text, api/reference/resources/responses, cookbook/..., llms.txt) or a developers.openai.com or legacy platform.openai.com/docs URL; a #anchor in the URL selects that section. Content is truncated at max_chars (default 40000). Unknown pages and unknown sections are not_found. Costs 5 Firecrawl credits per call.
- **List models**: The OpenAI API model catalog from https://developers.openai.com/api/docs/models.md: one record per model with ID, display name, the catalog's one-line description, model page URL and whether it is featured (the page's recommended starting points). Optional substring filter q over id, name and description; featured_only. Costs 5 Firecrawl credits per call.
- **Model deprecations**: Model and endpoint deprecations from https://developers.openai.com/api/docs/deprecations.md: one row per shutdown-table line with status (upcoming or past), announcement date and notice title, shutdown date (YYYY-MM-DD and as written), the deprecated model or system with its IDs, the recommended replacement with its IDs, and the legacy price where the table lists one. Newest announcements first. Filter by model (substring, or exact ID) and status. Costs 5 Firecrawl credits per call.
- **Model pricing**: Per-model API pricing rows from https://developers.openai.com/api/docs/pricing.md: every pricing table with a Model column (flagship models per processing tier Standard, Batch, Flex, Fast and Ultrafast; cyber, life sciences, realtime and audio, image generation, transcription, specialized and fine-tuning models). Each row has the section, tier, modality, numeric USD per 1M tokens (input, cached input, cache writes, output, long-context variants, training) and the raw cells. Filter by exact model ID, tier or section substring. Costs 5 Firecrawl credits per call.
- **Search docs**: Search the official OpenAI developer docs through OpenAI's public docs MCP server (search_openai_docs on https://developers.openai.com/mcp). Returns hits in the server's ranking order with title (page and heading hierarchy), URL, anchor and snippet. By default only developers.openai.com and platform.openai.com hits are kept (site api); site all also keeps learn.chatgpt.com (ChatGPT and Codex docs). Pages continue with next_cursor. Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

Name OpenAI developer docs or Firecrawl Alexandria in the prompt so Cursor reaches for it.

- [Use Firecrawl to run OpenAI developer docs' Changelog capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20OpenAI%20developer%20docs'%20Changelog%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run OpenAI developer docs' Get api endpoint capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20OpenAI%20developer%20docs'%20Get%20api%20endpoint%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run OpenAI developer docs' Get model capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20OpenAI%20developer%20docs'%20Get%20model%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run OpenAI developer docs' Get page capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20OpenAI%20developer%20docs'%20Get%20page%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)

### For agents

Start with the `developers-openai-com` provider. Use Firecrawl Alexandria first. With MCP, use firecrawl_search with sources: ["alexandria"] to discover relevant tools, firecrawl_find_tools to inspect the selected capability contracts, then firecrawl_scrape in alexandria mode to retrieve records. With the CLI, use firecrawl search alexandria, firecrawl list, then firecrawl scrape for the selected provider/capability. Follow the live tool schema and returned contract; never invent provider IDs or inputs. Ask for missing required details before execution, respect access and pricing, and inspect each result for errors. Cite retrieved records, distinguish missing data from failures, and explain gaps. If no suitable Alexandria capability exists, say so before using web sources. Do not treat a tool listing as retrieved data.

## Troubleshooting

### Why can't Cursor find OpenAI developer docs?

If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.

### Firecrawl shows a red dot in Cursor. What should I do?

Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.

## Use OpenAI developer docs in other AI apps

- [OpenAI developer docs in ChatGPT](https://alexandria.firecrawl.dev/providers/developers-openai-com/connect/chatgpt)
- [OpenAI developer docs in Claude](https://alexandria.firecrawl.dev/providers/developers-openai-com/connect/claude)
- [OpenAI developer docs in Grok Bot](https://alexandria.firecrawl.dev/providers/developers-openai-com/connect/grok-bot)
- [OpenAI developer docs in Muse](https://alexandria.firecrawl.dev/providers/developers-openai-com/connect/muse)

### Other data providers you can connect to Cursor

- [How to connect ChatGPT and Codex docs to Cursor](https://alexandria.firecrawl.dev/providers/learn-chatgpt-com/connect/cursor)
- [How to connect Anthropic to Cursor](https://alexandria.firecrawl.dev/providers/anthropic-com/connect/cursor)
- [How to connect Artificial Analysis to Cursor](https://alexandria.firecrawl.dev/providers/artificialanalysis-ai/connect/cursor)
- [How to connect Claude (claude.com) to Cursor](https://alexandria.firecrawl.dev/providers/claude-com/connect/cursor)

Full setup guide: [Firecrawl in Cursor](https://www.firecrawl.dev/integrations/cursor)

## Frequently asked questions

### What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl MCP server brings those tools into Cursor, along with every data provider in Firecrawl Alexandria.

### What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, OpenAI developer docs among them. Each provider returns structured data through documented capabilities. Cursor finds the capability that fits your question and calls it through the Firecrawl MCP server, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

### Is there a OpenAI developer docs MCP server for Cursor?

Cursor reaches OpenAI developer docs through Firecrawl's hosted MCP server, which serves OpenAI developer docs and every other Alexandria provider as tools. Add the Firecrawl MCP server once and you don't install or host a separate MCP server for OpenAI developer docs.

### What does connecting OpenAI developer docs to Cursor unlock?

Cursor can run all 8 of OpenAI developer docs's capabilities, including Changelog, Get api endpoint and Get model, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Cursor can combine OpenAI developer docs with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own OpenAI developer docs account or API key to use it in Cursor?

No. Cursor calls OpenAI developer docs through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate OpenAI developer docs account or API key.

### How much does it cost to use OpenAI developer docs in Cursor?

Each OpenAI developer docs call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Cursor, and finding the right capability is free.

### Can Cursor use other providers besides OpenAI developer docs?

Yes. The same Firecrawl MCP server reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

### Can I use OpenAI developer docs in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same OpenAI developer docs capabilities are available there. Keyless connections don't include Alexandria.
