# How to connect Cámara de Diputados LeyesBiblio to Grok Bot

> Connect Cámara de Diputados LeyesBiblio to Grok Bot with the Firecrawl plugin. Use Cámara de Diputados LeyesBiblio as an MCP tool via Firecrawl Alexandria.

To connect Cámara de Diputados LeyesBiblio to Grok Bot, add the Firecrawl plugin to Grok Bot, sign in on a Firecrawl team with Alexandria enabled, and ask for Cámara de Diputados LeyesBiblio data in plain language. The connection works in every Bot in your Grok Bot account, and you set it up once.

Grok Bot uses Cámara de Diputados LeyesBiblio as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Cámara de Diputados LeyesBiblio.

Grok Bot is xAI's agent app. Plugins give your Bots outside tools, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect Cámara de Diputados LeyesBiblio to Grok Bot?

### 1. Add the Firecrawl plugin

In Grok Bot, open Connect apps from the sidebar, find Firecrawl and select Connect. You can also open [Firecrawl's plugin listing](https://x.ai/bot/plugin/789) and select Add to Grok Bot, which opens the desktop app to finish the install.

[Add to Grok Bot](https://x.ai/bot/plugin/789)

![Grok Bot's Connect Apps window with Firecrawl and its Connect button](https://www.firecrawl.dev/images/alexandria/connect/grok-bot/connect-apps.webp)

### 2. Connect your Firecrawl account

Grok Bot opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and select Authorize. The screen names Cursor, because the plugin is published on the Cursor Marketplace. No account yet? You can create one for free in the same flow.

![Firecrawl's consent screen for the Grok Bot plugin, with the team picker and Authorize button](https://www.firecrawl.dev/images/alexandria/connect/grok-bot/authorize.webp)

### 3. Ask your Bot for the data

In a chat, ask in plain language and mention Cámara de Diputados LeyesBiblio or Firecrawl Alexandria. To make sure the Bot uses Firecrawl, type @ and choose Firecrawl first. For example:

```text
Use Firecrawl to run Cámara de Diputados LeyesBiblio's Law articles capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
```

## What can Grok Bot do with Cámara de Diputados LeyesBiblio?

Mexican federal legislation from the Cámara de Diputados legal library (LeyesBiblio): the catalogue of laws and regulations in force with DOF publication and last-reform dates, the per-law reform-decree history, the year-by-year updates feed, and article-level text of the consolidated law with the inline 'reformado/adicionado/derogado DOF' version notes.

Grok Bot can run any of Cámara de Diputados LeyesBiblio's 4 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Law articles**: Article-level text of a consolidated federal law or regulation, extracted from the LeyesBiblio Word (.doc) file. Each article carries its paragraphs and the inline version notes the site prints under each amended paragraph ('Párrafo reformado DOF 30-12-1980', 'Fracción adicionada DOF ...', 'Derogada DOF ...'), with the DOF dates normalised to YYYY-MM-DD. Pass `article` for one article, or page through all articles with `cursor`/`limit`. Transitory provisions (TRANSITORIOS) are not returned. Costs 5 Firecrawl credits per call.
- **Law reforms**: Reform history of one federal law from its LeyesBiblio page (ref/<code>.htm): title, DOF date of the last reform, the original publication with its files, the current consolidated text files, and every reform decree with its number, decree title, DOF date and decree PDF/Word files. Costs 5 Firecrawl credits per call.
- **List laws**: List Mexican federal laws in force (LeyesBiblio index) or regulations of federal laws (regla.htm), optionally filtered by a case- and accent-insensitive substring of the title or code. Each row carries the site's ordinal, the code used by law_reforms (laws only), the DOF publication date, the DOF date of the last reform (laws only), and the consolidated PDF/DOC file URLs. Costs 5 Firecrawl credits per call.
- **Recent updates**: Chronological feed of LeyesBiblio updates for one year (actual/<year>.htm, 2004 onwards) or the current year (actual/ultima.htm): each dated entry names the law (with its code when it links a reform page), the site's one-line summary of what was reformed, added, repealed, issued or ruled, and a coarse kind. Optional filters by law code and by an accent-insensitive substring. Costs 5 Firecrawl credits per call.

## What should I ask Grok Bot?

Name Cámara de Diputados LeyesBiblio or Firecrawl Alexandria in the prompt so Grok Bot reaches for it.

- Use Firecrawl to run Cámara de Diputados LeyesBiblio's Law articles capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Cámara de Diputados LeyesBiblio's Law reforms capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Cámara de Diputados LeyesBiblio's List laws capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Cámara de Diputados LeyesBiblio's Recent updates capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.

### For agents

Start with the `diputados-gob-mx` 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 my Bot use Cámara de Diputados LeyesBiblio?

Attach Firecrawl to the chat with @ before you ask, and name Cámara de Diputados LeyesBiblio or Firecrawl Alexandria in the prompt.

### Add to Grok Bot doesn't open the app. What should I do?

Install the Grok Bot desktop app first, or open Connect apps in Grok Bot and search for Firecrawl.

## Use Cámara de Diputados LeyesBiblio in other AI apps

- [Cámara de Diputados LeyesBiblio in ChatGPT](https://alexandria.firecrawl.dev/providers/diputados-gob-mx/connect/chatgpt)
- [Cámara de Diputados LeyesBiblio in Claude](https://alexandria.firecrawl.dev/providers/diputados-gob-mx/connect/claude)
- [Cámara de Diputados LeyesBiblio in Cursor](https://alexandria.firecrawl.dev/providers/diputados-gob-mx/connect/cursor)
- [Cámara de Diputados LeyesBiblio in Muse](https://alexandria.firecrawl.dev/providers/diputados-gob-mx/connect/muse)

### Other data providers you can connect to Grok Bot

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

Full setup guide: [Firecrawl in Grok Bot](https://www.firecrawl.dev/integrations/grok-bot)

## 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 Grok Bot, 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, Cámara de Diputados LeyesBiblio among them. Each provider returns structured data through documented capabilities. Grok Bot 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 Cámara de Diputados LeyesBiblio MCP server for Grok Bot?

Grok Bot reaches Cámara de Diputados LeyesBiblio through Firecrawl's hosted MCP server, which serves Cámara de Diputados LeyesBiblio and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for Cámara de Diputados LeyesBiblio.

### What does connecting Cámara de Diputados LeyesBiblio to Grok Bot unlock?

Grok Bot can run all 4 of Cámara de Diputados LeyesBiblio's capabilities, including Law articles, Law reforms and List laws, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Grok Bot can combine Cámara de Diputados LeyesBiblio with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Cámara de Diputados LeyesBiblio account or API key to use it in Grok Bot?

No. Grok Bot calls Cámara de Diputados LeyesBiblio through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Cámara de Diputados LeyesBiblio account or API key.

### How much does it cost to use Cámara de Diputados LeyesBiblio in Grok Bot?

Each Cámara de Diputados LeyesBiblio 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 Grok Bot, and finding the right capability is free.

### Can Grok Bot use other providers besides Cámara de Diputados LeyesBiblio?

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 Cámara de Diputados LeyesBiblio in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Cursor, 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 Cámara de Diputados LeyesBiblio capabilities are available there. Keyless connections don't include Alexandria.
