# How to connect JPL Horizons ephemerides to Grok Bot

> Connect JPL Horizons ephemerides to Grok Bot with the Firecrawl plugin. Use JPL Horizons ephemerides as an MCP tool in Grok Bot via Firecrawl Alexandria.

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

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

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

```text
Use Firecrawl to answer this: Where is Mars in the sky tonight from Los Angeles and is it above the horizon at 10pm?
```

## What can Grok Bot do with JPL Horizons ephemerides?

NASA JPL's Horizons system: where planets, moons, spacecraft, asteroids and comets are and how they move. Observer ephemerides (RA/Dec, azimuth/elevation from any site, magnitude, illumination, distance, constellation), Cartesian state vectors, osculating orbital elements and object physical data, computed on request from JPL's DE441 planetary ephemeris and spacecraft and small-body solutions, plus name-to-ID lookup for 1.5 million objects.

Grok Bot can run any of JPL Horizons ephemerides's 5 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Lookup object**: Resolve a name, designation, SPK ID or alias to the objects Horizons knows (planets, moons, spacecraft, asteroids, comets, barycenters) with each one's SPK ID, type, primary designation and aliases. Source: JPL Horizons Lookup API (horizons_lookup.api). Up to 50 results. Costs 5 Firecrawl credits per call.
- **Object data**: Horizons' object summary for one target: physical data for planets and moons (radius, mass, density, GM, rotation, gravity, albedo, escape speed), mission timeline and trajectory notes for spacecraft, and orbit solution, osculating elements and physical parameters (H, diameter, albedo, rotation) for asteroids and comets. Returns the summary text and best-effort label/value fields parsed from it. Costs 5 Firecrawl credits per call.
- **Observer ephemeris**: Where a body appears in the sky: RA/Dec (ICRF, degrees), apparent ecliptic longitude and latitude of date (the tropical zodiac frame), azimuth and elevation for a site on Earth, magnitude, illumination, distance from the observer and the Sun with range rates, solar elongation, morning/evening sky, constellation, and day/twilight/night at the site. Geocentric by default, or from latitude/longitude, or from any center body. Source: JPL Horizons observer table (EPHEM_TYPE=OBSERVER), one row per step, at most 500. Costs 5 Firecrawl credits per call.
- **Osculating elements**: Osculating Keplerian orbital elements of a body about a center (Sun by default) at each epoch: eccentricity, periapsis distance, inclination, longitude of ascending node, argument of periapsis, time of periapsis, mean motion, mean and true anomaly, semi-major axis, apoapsis and period. Source: JPL Horizons element table (EPHEM_TYPE=ELEMENTS), at most 500 epochs. Costs 5 Firecrawl credits per call.
- **State vectors**: Cartesian position and velocity of a body relative to a center (Sun by default), with light time, range and range rate: the geometric state from JPL ephemerides (DE441, spacecraft and small-body solutions). Source: JPL Horizons vector table (EPHEM_TYPE=VECTORS, table 3), one row per step, at most 500. Costs 5 Firecrawl credits per call.

## What should I ask Grok Bot?

Name JPL Horizons ephemerides or Firecrawl Alexandria in the prompt so Grok Bot reaches for it.

- Use Firecrawl to answer this: Where is Mars in the sky tonight from Los Angeles and is it above the horizon at 10pm?
- Use Firecrawl to answer this: How far is Voyager 1 from the Sun right now, in km and light hours?
- Use Firecrawl to give me the Keplerian orbital elements of asteroid Apophis today.
- Use Firecrawl to answer this: What are the mass and radius of Mars?

### For agents

Start with the `ssd-jpl-nasa-gov` 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 JPL Horizons ephemerides?

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

- [JPL Horizons ephemerides in ChatGPT](https://alexandria.firecrawl.dev/providers/ssd-jpl-nasa-gov/connect/chatgpt)
- [JPL Horizons ephemerides in Claude](https://alexandria.firecrawl.dev/providers/ssd-jpl-nasa-gov/connect/claude)
- [JPL Horizons ephemerides in Cursor](https://alexandria.firecrawl.dev/providers/ssd-jpl-nasa-gov/connect/cursor)
- [JPL Horizons ephemerides in Muse](https://alexandria.firecrawl.dev/providers/ssd-jpl-nasa-gov/connect/muse)

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

- [How to connect Research Index to Grok Bot](https://alexandria.firecrawl.dev/providers/firecrawl-research-index/connect/grok-bot)
- [How to connect NIH Guide for Grants and Contracts to Grok Bot](https://alexandria.firecrawl.dev/providers/grants-nih-gov/connect/grok-bot)
- [How to connect Australian Food Composition Database (AFCD, FSANZ) to Grok Bot](https://alexandria.firecrawl.dev/providers/afcd-foodstandards-gov-au/connect/grok-bot)
- [How to connect Environment and Climate Change Canada weather and climate (api.weather.gc.ca) to Grok Bot](https://alexandria.firecrawl.dev/providers/api-weather-gc-ca/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, JPL Horizons ephemerides 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 JPL Horizons ephemerides MCP server for Grok Bot?

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

### What does connecting JPL Horizons ephemerides to Grok Bot unlock?

Grok Bot can run all 5 of JPL Horizons ephemerides's capabilities, including Lookup object, Object data and Observer ephemeris, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: Where is Mars in the sky tonight from Los Angeles and is it above the horizon at 10pm?" In the same conversation, Grok Bot can combine JPL Horizons ephemerides with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

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

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

### How much does it cost to use JPL Horizons ephemerides in Grok Bot?

Each JPL Horizons ephemerides 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 JPL Horizons ephemerides?

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