# How to connect crates.io to ChatGPT

> Connect crates.io to ChatGPT with the Firecrawl plugin. Use crates.io as an MCP tool in ChatGPT via Firecrawl Alexandria, with setup steps and example prompts.

To connect crates.io to ChatGPT, add the Firecrawl plugin to ChatGPT, sign in on a Firecrawl team with Alexandria enabled, and ask for crates.io data in plain language. The connection works in ChatGPT and Codex, and you set it up once.

ChatGPT uses crates.io as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for crates.io.

ChatGPT is OpenAI's AI assistant. Plugins add tools from other services, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect crates.io to ChatGPT?

### 1. Install the Firecrawl plugin

Open the [Firecrawl listing in ChatGPT's plugin directory](https://chatgpt.com/plugins/plugin_asdk_app_6a314a73f8ac819195b0d55e36b9c609?q=firecrawl) and select Install plugin. You can also open Plugins in ChatGPT or Codex and search for Firecrawl.

[Add to ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a314a73f8ac819195b0d55e36b9c609?q=firecrawl)

![The Firecrawl plugin page in ChatGPT with the Install plugin button](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/install.webp)

### 2. Connect your Firecrawl account

ChatGPT opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and approve access. No account yet? You can create one for free in the same flow.

![Firecrawl's consent screen asking to connect chatgpt.com to Firecrawl](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/authorize.webp)

### 3. Attach Firecrawl to a chat

Start a new chat so it loads the plugin, open the + menu and choose Firecrawl. You can also ask ChatGPT to use Firecrawl by name.

![ChatGPT's + menu with the Firecrawl plugin listed](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/attach.webp)

### 4. Ask ChatGPT for the data

Ask in plain language and mention crates.io or Firecrawl Alexandria. ChatGPT finds the crates.io capability that fits and runs it. For example:

```text
Use Firecrawl to run crates.io's Get crate capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
```

## What can ChatGPT do with crates.io?

crates.io, the Rust package registry: crate search and listing by category, keyword, letter or owner; crate records with keywords, categories and the default version; full version history with release tracks; per-version dependencies; reverse dependencies; 90-day daily download series; owners, users and the front-page summary.

ChatGPT can run any of crates.io's 10 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Get crate**: One crate's record from crates.io (`GET /api/v1/crates/{name}?include=keywords,categories,downloads,default_version`): description, links, download totals, timestamps, keywords, categories, the default version in full (features, license, size, checksum, publisher, MSRV) and the API links to its versions, owners, downloads and reverse dependencies. Costs 5 Firecrawl credits per call.
- **Get downloads**: Daily download counts for the last 90 days (`GET /api/v1/crates/{name}/downloads?include=versions`, or `/api/v1/crates/{name}/{version}/downloads` with `version`): one row per UTC calendar day, the window total, and for a whole crate the split across its five most downloaded versions in the window (the rest are summed under `other`). Costs 5 Firecrawl credits per call.
- **Get owners**: Owners of a crate (`GET /api/v1/crates/{name}/owners`): users and GitHub teams with their crates.io ids, logins, names, GitHub URLs and avatars. Costs 5 Firecrawl credits per call.
- **Get summary**: crates.io's front-page summary (`GET /api/v1/summary`): total crates and downloads, the ten newest crates, most downloaded (all-time and recent), just updated, and the most popular keywords and categories. Costs 5 Firecrawl credits per call.
- **Get user**: A crates.io user by login (`GET /api/v1/users/{login}` and `/users/{id}/stats`): id, login, display name, GitHub URL and avatar, account creation date, linked accounts and total downloads across every crate they own. Costs 5 Firecrawl credits per call.
- **Get version**: One published version of a crate with its dependencies (`GET /api/v1/crates/{name}/{version}` and `/dependencies`): publish time, downloads, yank state, license, archive size and checksum, MSRV, edition, features, publisher, trusted-publishing flag, line counts, and every dependency with its version requirement, kind (normal/dev/build), optionality, features and target. Costs 5 Firecrawl credits per call.
- **List categories**: crates.io's category tree as a flat list (`GET /api/v1/categories`): slug, display name, description, crate count and creation date, alphabetical or by crate count. Pages of `per_page`; `cursor` is the next page number. Costs 5 Firecrawl credits per call.
- **List reverse dependencies**: Crates that depend on a crate (`GET /api/v1/crates/{name}/reverse_dependencies`), most downloaded first: for each dependent, its crate name and the version that declares the dependency, the requirement, kind, optionality, features and target, and the dependent's download count. Pages of `per_page`; `cursor` is the next page number. Costs 5 Firecrawl credits per call.
- **List versions**: All published versions of a crate (`GET /api/v1/crates/{name}/versions`), newest first by `date` or by `semver`, with each version's downloads, yank state, license, size, checksum, MSRV, edition, features and publisher, plus the release tracks (highest version per major/minor line). Pages of `per_page` versions; `cursor` is crates.io's opaque seek token. Costs 5 Firecrawl credits per call.
- **Search crates**: Search or list crates on crates.io (`GET /api/v1/crates`). Full-text `query`, or filter by `category` slug, `keyword`, first `letter`, owner `user_id` / `team_id`, or an explicit list of `names`; sort by relevance, downloads, recent downloads, recent updates, newest or alphabetically. Each row is the crate's listing record: versions summary, download totals, links and timestamps. Pages of `per_page` rows; `cursor` is the next page number. Relevance-sorted results stop at 1000 (crates.io refuses deeper pages). Costs 5 Firecrawl credits per call.

## What should I ask ChatGPT?

Name crates.io or Firecrawl Alexandria in the prompt so ChatGPT reaches for it.

- [Use Firecrawl to run crates.io's Get crate capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20crates.io's%20Get%20crate%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run crates.io's Get downloads capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20crates.io's%20Get%20downloads%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run crates.io's Get owners capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20crates.io's%20Get%20owners%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run crates.io's Get summary capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20crates.io's%20Get%20summary%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 `crates-io` 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 doesn't ChatGPT use crates.io?

Start a new chat after installing so ChatGPT loads the plugin, then attach Firecrawl from the + menu and name crates.io or Firecrawl Alexandria in the prompt.

### How do I switch the Firecrawl team ChatGPT uses?

Open the Firecrawl plugin page in ChatGPT, uninstall it from the menu next to Settings, then install it again and choose the other team on Firecrawl's consent screen.

### Why does ChatGPT say crates.io isn't available?

Alexandria needs a Firecrawl team with Alexandria enabled. Reinstall the plugin and pick that team when you approve access.

## Use crates.io in other AI apps

- [crates.io in Claude](https://alexandria.firecrawl.dev/providers/crates-io/connect/claude)
- [crates.io in Cursor](https://alexandria.firecrawl.dev/providers/crates-io/connect/cursor)
- [crates.io in Grok Bot](https://alexandria.firecrawl.dev/providers/crates-io/connect/grok-bot)
- [crates.io in Muse](https://alexandria.firecrawl.dev/providers/crates-io/connect/muse)

### Other data providers you can connect to ChatGPT

- [How to connect GitHub to ChatGPT](https://alexandria.firecrawl.dev/providers/github-com/connect/chatgpt)
- [How to connect AlternativeTo to ChatGPT](https://alexandria.firecrawl.dev/providers/alternativeto-net/connect/chatgpt)
- [How to connect Apple App Store to ChatGPT](https://alexandria.firecrawl.dev/providers/apps-apple-com/connect/chatgpt)
- [How to connect Aptoide to ChatGPT](https://alexandria.firecrawl.dev/providers/aptoide-com/connect/chatgpt)

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

## 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 plugin brings those tools into ChatGPT, 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, crates.io among them. Each provider returns structured data through documented capabilities. ChatGPT finds the capability that fits your question and calls it through the Firecrawl plugin, 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 crates.io MCP server for ChatGPT?

ChatGPT reaches crates.io through Firecrawl's hosted MCP server, which serves crates.io and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for crates.io.

### What does connecting crates.io to ChatGPT unlock?

ChatGPT can run all 10 of crates.io's capabilities, including Get crate, Get downloads and Get owners, from any chat, with structured results it can sort, compare and summarize. In the same conversation, ChatGPT can combine crates.io with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own crates.io account or API key to use it in ChatGPT?

No. ChatGPT calls crates.io through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate crates.io account or API key.

### How much does it cost to use crates.io in ChatGPT?

Each crates.io 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 ChatGPT, and finding the right capability is free.

### Can ChatGPT use other providers besides crates.io?

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

### Can I use crates.io in other AI apps?

Yes. Connect Firecrawl to Claude, Cursor, 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 crates.io capabilities are available there. Keyless connections don't include Alexandria.
