# How to connect Justia Law to Muse

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

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

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.

## What is the Justia Law MCP server for Muse?

The Justia Law MCP server for Muse is Firecrawl's hosted MCP server, which connects Muse to Justia Law as a tool, so you don't need a separate Justia Law MCP server. It gives Muse Justia's free U.S. law pages.

- **States**: List the jurisdictions this workflow can read statutes for
- **Statute browse**: List one level of a state's statutory code on Justia
- **Statute section**: Current text of one statute section from Justia, identified by a pasted…
- **Case opinion**: One court opinion page from Justia's case law

## Prerequisites

- Muse, Meta's personal AI agent.
- A Firecrawl account on a team with Alexandria enabled. You can create one for free while you connect.
- Muse installs the MCP server itself from Firecrawl's agent setup guide, so there's nothing to install on your computer.

## How do I connect Justia Law 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 Justia Law or Firecrawl Alexandria. For example:

```text
Use Firecrawl to answer this: What is the current text of California Penal Code section 484?
```

## What can Muse do with Justia Law?

Muse can run any of Justia Law's 4 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- States
- Statute browse
- Statute section
- Case opinion

### For agents

Start with the `law-justia-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 Muse find Justia Law?

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

## Next steps

Ask Muse follow-up questions to narrow the Justia Law results, or name another Alexandria provider when a question needs more than one source. Justia Law calls are billed in Firecrawl credits on your team, so you don't need a separate Justia Law account or API key.

## Use Justia Law in other AI apps

- [Justia Law in ChatGPT](https://alexandria.firecrawl.dev/providers/law-justia-com/connect/chatgpt)
- [Justia Law in Claude](https://alexandria.firecrawl.dev/providers/law-justia-com/connect/claude)
- [Justia Law in Cursor](https://alexandria.firecrawl.dev/providers/law-justia-com/connect/cursor)
- [Justia Law in Grok Bot](https://alexandria.firecrawl.dev/providers/law-justia-com/connect/grok-bot)

### Other data providers you can connect to Muse

- [How to connect France public medicines database (BDPM) to Muse](https://alexandria.firecrawl.dev/providers/base-donnees-publique-medicaments-gouv-fr/connect/muse)
- [How to connect ClinicalTrials.gov to Muse](https://alexandria.firecrawl.dev/providers/clinicaltrials-gov/connect/muse)
- [How to connect CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits to Muse](https://alexandria.firecrawl.dev/providers/cms-gov/connect/muse)
- [How to connect CDC PLACES local health estimates (data.cdc.gov) to Muse](https://alexandria.firecrawl.dev/providers/data-cdc-gov/connect/muse)

## Frequently asked questions

### What is Firecrawl?

Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else. The Firecrawl MCP server brings those tools into Muse, along with every data provider in Firecrawl Alexandria on a team with Alexandria enabled.

### What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of data providers for AI agents, Justia Law 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 Justia Law MCP server for Muse?

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

### What does connecting Justia Law to Muse unlock?

Muse can run all 4 of Justia Law's capabilities, including States, Statute browse and Statute section, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: What is the current text of California Penal Code section 484?" In the same conversation, Muse can combine Justia Law with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Justia Law account or API key to use it in Muse?

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

### How much does it cost to use Justia Law in Muse?

Justia Law calls cost from 0 to 5 Firecrawl credits, depending on the capability. The Justia Law API 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 Justia Law?

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 Justia Law 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 Justia Law capabilities are available there. Keyless connections don't include Alexandria.
