# How to connect crates.io to Muse

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

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

Muse 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.

Muse is Meta's personal AI agent. It can set up MCP servers for itself, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

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

### 1. Ask Muse to install Firecrawl

[Open a Muse chat](https://muse.ai/?prompt=Please%20install%20the%20Firecrawl%20MCP%20using%20https%3A%2F%2Fwww.firecrawl.dev%2Fagent-onboarding%2FSKILL.md) that asks it to install the Firecrawl MCP server by following Firecrawl's agent setup guide, then send the message.

[Set up in Muse](https://muse.ai/?prompt=Please%20install%20the%20Firecrawl%20MCP%20using%20https%3A%2F%2Fwww.firecrawl.dev%2Fagent-onboarding%2FSKILL.md)

### 2. Connect your Firecrawl account

Muse 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.

### 3. Ask Muse for the data

Once Muse confirms Firecrawl is set up, ask in plain language and mention crates.io or Firecrawl Alexandria. 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 Muse 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.

Muse 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 Muse?

Name crates.io or Firecrawl Alexandria in the prompt so Muse 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://muse.ai/?prompt=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://muse.ai/?prompt=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://muse.ai/?prompt=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://muse.ai/?prompt=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 can't Muse find crates.io?

A keyless Firecrawl connection doesn't include Alexandria. Ask Muse to finish the Firecrawl sign-in, and choose a team with Alexandria enabled.

## Use crates.io in other AI apps

- [crates.io in ChatGPT](https://alexandria.firecrawl.dev/providers/crates-io/connect/chatgpt)
- [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)

### Other data providers you can connect to Muse

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

## 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 Muse, 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. Muse 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 crates.io MCP server for Muse?

Muse reaches crates.io through Firecrawl's hosted MCP server, which serves crates.io 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 crates.io.

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

Muse 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, Muse 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 Muse?

No. Muse 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 Muse?

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 Muse, and finding the right capability is free.

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

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 crates.io in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Cursor, Grok Bot 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.
