# How to connect Railway to Grok Bot

> Connect Railway to Grok Bot with the Firecrawl plugin. Use Railway as an MCP tool in Grok Bot via Firecrawl Alexandria, with setup steps and example prompts.

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

Grok Bot uses Railway as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Railway.

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 Railway 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 Railway or Firecrawl Alexandria. To make sure the Bot uses Firecrawl, type @ and choose Firecrawl first. For example:

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

## What can Grok Bot do with Railway?

Railway's public content through the sources Railway publishes for agents: the docs index and any docs page as Markdown (docs.railway.com), blog posts (blog.railway.com), live platform status and incident history from the status page's documented JSON API (api.railwaystatus.com, behind status.railway.com), pricing, company and legal pages, the product changelog, and one-click deploy templates with their machine-readable manifests (railway.com). No login or key.

Grok Bot can run any of Railway's 14 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Get blog post**: One Railway blog post as Markdown (GET blog.railway.com/p/{slug}.md) with title, description, publication date, authors, category, an outline and the content. Accepts a slug or a post URL. Unknown posts are `not_found`. Costs 5 Firecrawl credits per call.
- **Get changelog entry**: One Railway changelog entry as Markdown (GET railway.com/changelog/{slug}.md) with title, date, entry number, the feature section headings and the content. Accepts a slug or a changelog URL. Unknown entries are `not_found`. Costs 5 Firecrawl credits per call.
- **Get doc page**: One Railway docs page as clean Markdown (GET docs.railway.com/{path}.md, the docs' agent-facing rendering) with title, description, an outline of headings and the content. Accepts a page path or a docs URL; URLs shared with or without a `reference/` or `guides/` prefix both resolve (the prefixed form is tried first). A path with no `.md` twin that docs pages still link (such as `/troubleshooting`) is resolved through the docs index: the page is returned when exactly one indexed page ends with that path (`ssl` is `networking/troubleshooting/ssl`); otherwise the `not_found` message names the indexed pages with that name. Unknown pages are `not_found`. Costs 5 Firecrawl credits per call.
- **Get incident**: One Railway incident from api.railwaystatus.com/status/incidents/{slug}: title, state, worst impact, timestamps, affected components and every update newest first. Accepts the incident code or a status.railway.com/incident URL. Unknown codes are `not_found`. Costs 5 Firecrawl credits per call.
- **Get pricing**: Railway's current pricing from railway.com/pricing.md (the agent-facing twin of railway.com/pricing): plans with monthly fee, included usage, per-service limits, replicas and log history; per-second usage rates for memory, CPU, volumes, egress and object storage; sandbox VM rates; platform limits by plan; every pricing table as published; and the pricing FAQ. Costs 5 Firecrawl credits per call.
- **Get site page**: One railway.com page as Markdown (GET railway.com/{path}.md): careers, about, free-vm, enterprise, sandboxes, features, customers, mcp, agents and the legal pages (terms, privacy, dpa, acceptable-use, fair-use). The `.md` legal pages are Railway's own navigational summaries; the binding text is the HTML page. Paths disallowed by railway.com's robots.txt (dashboard, project, account and similar) are refused. Unknown pages are `not_found`. Costs 5 Firecrawl credits per call.
- **Get status**: Current Railway platform status from the status page's documented JSON API (api.railwaystatus.com/status, which backs status.railway.com): every component with its group (platform area or region) and status, the overall worst status, active incidents with affected components and the latest update, and scheduled maintenances. Costs 5 Firecrawl credits per call.
- **Get template**: One Railway deploy template from its published manifest (railway.com/deploy/{code}/manifest.json): name, description, validation status and 30-day success rate, services with image or repo, volumes and ports, the variables it needs (strategy, default, generated, Railway-provided), the CLI and MCP deploy commands and the latest validation checks. Accepts a code or a railway.com/deploy URL. Unknown codes are `not_found`. Costs 5 Firecrawl credits per call.
- **List blog posts**: The Railway blog post index from blog.railway.com/llms.txt: every post with title, slug, URL, Markdown URL, description and category (Engineering, Guide, News, Company, AI, User Stories, Scaling Railway), newest first within each category. Filter by `q` or `category`, page with `limit`/`offset`. Dates and authors come from get_blog_post. Costs 5 Firecrawl credits per call.
- **List category templates**: Railway deploy templates in one marketplace category (railway.com/deploy/category/{category}.md, e.g. ai, analytics, authentication, automation, blogs, bots, cms, observability, queues, starters, storage), in Railway's listed order: code, name, description, page and manifest URLs, plus the category's stated template count. Filter by `q`, page with `limit`/`offset`. Unknown categories are `not_found`. Costs 5 Firecrawl credits per call.
- **List changelog**: The Railway product changelog index from railway.com/changelog.md: every weekly entry since 2020 with title, date, slug, URL and Markdown URL, newest first. Filter by `q` (title), `since` and `until` (YYYY-MM-DD, inclusive), page with `limit`/`offset`. Costs 5 Firecrawl credits per call.
- **List docs**: The Railway docs page index from docs.railway.com/llms.txt: every page with title, path, URL, Markdown URL, description and its navigation section and subsection. Filter by `q` (title, path or description, case-insensitive) or `section` (a section or subsection name such as `Networking` or `Databases`), page with `limit`/`offset`. Costs 5 Firecrawl credits per call.
- **List incidents**: Recent Railway incidents from api.railwaystatus.com/status/incidents (the 30 most recent, newest first; the endpoint takes no paging parameters): code, title, state, worst impact, timestamps, affected components, update count and the latest update. Filter by `state` (active, resolved, all) and `q` (title). Costs 5 Firecrawl credits per call.
- **Search templates**: Search Railway's one-click deploy templates through the machine-readable template index (railway.com/deploy/llms.txt, about 7,000 templates): code, name, description, validation status (validated, degraded, unvalidated by Railway's validation fleet), page URL and manifest URL. All `q` words must match the name, description or code; exact and prefix name matches rank first. Filter by `status`, page with `limit`/`offset`. Costs 5 Firecrawl credits per call.

## What should I ask Grok Bot?

Name Railway or Firecrawl Alexandria in the prompt so Grok Bot reaches for it.

- Use Firecrawl to run Railway's Get blog post capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Railway's Get changelog entry capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Railway's Get doc page capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Railway's Get incident capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.

### For agents

Start with the `railway-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 doesn't my Bot use Railway?

Attach Firecrawl to the chat with @ before you ask, and name Railway 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 Railway in other AI apps

- [Railway in ChatGPT](https://alexandria.firecrawl.dev/providers/railway-com/connect/chatgpt)
- [Railway in Claude](https://alexandria.firecrawl.dev/providers/railway-com/connect/claude)
- [Railway in Cursor](https://alexandria.firecrawl.dev/providers/railway-com/connect/cursor)
- [Railway in Muse](https://alexandria.firecrawl.dev/providers/railway-com/connect/muse)

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

- [How to connect Developer Index to Grok Bot](https://alexandria.firecrawl.dev/providers/firecrawl-developer-index/connect/grok-bot)
- [How to connect DEV Community to Grok Bot](https://alexandria.firecrawl.dev/providers/dev-to/connect/grok-bot)
- [How to connect Red Hat Security Data API to Grok Bot](https://alexandria.firecrawl.dev/providers/access-redhat-com/connect/grok-bot)
- [How to connect Oracle Cloud Infrastructure price list (apexapps.oracle.com) to Grok Bot](https://alexandria.firecrawl.dev/providers/apexapps-oracle-com/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, Railway 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 Railway MCP server for Grok Bot?

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

### What does connecting Railway to Grok Bot unlock?

Grok Bot can run all 14 of Railway's capabilities, including Get blog post, Get changelog entry and Get doc page, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Grok Bot can combine Railway with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Railway account or API key to use it in Grok Bot?

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

### How much does it cost to use Railway in Grok Bot?

Each Railway 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 Railway?

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