Spiral gives your agent every tool with one account. Browse the tools →

Grok · Maps & Reviews

How to Use Mobility Database transit record in Grok

Returns one stop, route, trip, or calendar record from a selected GTFS schedule feed. Use it to inspect a known record when investigating a map label, location, or service detail.

Prompts to try with Mobility Database transit record in Grok

Copy an example into Grok, or ask in your own words.

Use Mobility Database transit record to inspect the stop ID we found for Pioneer Courthouse Square in TriMet's feed. Explain the returned record in plain English.

Mobility Database transit recordGrok
Try asking
  • Use Mobility Database transit record to look this up and give me the result as a table.

  • Pull the latest numbers from Mobility Database transit record and tell me what changed since last week.

  • Check Mobility Database transit record and summarize what you find in three bullet points.

  • Pull the newest data from Mobility Database transit record and give me the result as a table.

How to set up Mobility Database transit record in Grok

Pick the way that suits you. Each takes about two minutes.

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Mobility Database transit record

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "mobilitydatabase-org/transit-feeds/records_get",
        "input": {
          "key": "<key>",
          "table": "agency",
          "feed_id": "<feed_id>"
        }
      }'

Then paste one of the prompts above: Grok finds Mobility Database transit record on Spiral, shows the price and runs it.

Mobility Database transit record providers and prices

Spiral runs Mobility Database transit record through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews
MobilityData Mobility Database (mobilitydatabase.org) · Records get
mobilitydatabase-org/transit-feeds/records_get

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Tableagency, routes, stops, trips, stop_times, shapes, calendar, calendar_dates and 1 more

table

Every API field of MobilityData Mobility Database (mobilitydatabase.org) · Records get is on its tool page: open its card above.

What can you do with Mobility Database transit record in Grok?

Explain a transit agency's published network using its catalog entries and schedule records. Mobility Database provides the source material for a feed summary, publication review, or investigation of a particular stop.

Check a transit map before publication

Locate the relevant agency feed and publication, collect its stop and route records, and inspect individual records behind questionable map labels or locations.

Investigate an import regression

Identify which publication an import used, review the available versions, and compare collected records with individual examples that failed during processing.

Resolve a station data discrepancy

Check the selected publication, inspect the station record in question, and compare it with the surrounding records in the same feed.

Document the evidence behind a schedule comparison

Choose archived publications, collect the records used in the comparison, and inspect individual examples cited in the findings.

Questions about Mobility Database transit record in Grok

Can Grok use Mobility Database transit record?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Mobility Database transit record like any built-in tool.

How much does Mobility Database transit record cost in Grok?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

Do I need an Alexandria account to use Mobility Database transit record in Grok?

No. Spiral runs Mobility Database transit record on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Mobility Database transit record in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while Mobility Database transit record runs?

Mobility Database transit record runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

Which countries and transit formats does Mobility Database cover?

The full catalog advertises more than 6,000 feeds across more than 100 countries, covering GTFS Schedule, GTFS Realtime, and GBFS. The schedule records described here come from GTFS Schedule feeds.

How often does Mobility Database check for new publications?

It checks producer feed URLs every day at midnight UTC and automatically adds a new version when it detects a change. A dataset's download timestamp indicates when Mobility Database collected that publication.

Does Mobility Database include older TransitFeeds data?

Yes. Mobility Database says all historical TransitFeeds data was migrated in December 2025; the dataset list for a feed identifies its available archived publications.

Can I reuse the catalog metadata and feed contents under the same license?

MobilityData-generated metadata uses CC0 1.0. The contents of each transit feed remain subject to that data owner's license, which you must check before reuse.

What quality checks does Mobility Database provide?

It integrates the Canonical GTFS Schedule and GBFS Validators and publishes feed quality reports. Those reports help identify data problems before you use a feed in a map or schedule analysis.

Get started

Start using Mobility Database transit record in Grok

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok:

Set up Grok

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options