How to Use Mobility Database feed status in Codex
Returns feed metadata and information about its latest mirrored dataset. Use it to check the available publication before collecting schedule records or refreshing a transit analysis.
Prompts to try with Mobility Database feed status in Codex
Copy an example into Codex, or ask in your own words.
Use Mobility Database feed status for the selected TriMet feed in Portland. Compare the returned latest dataset information with the publication recorded by our importer.
Use Mobility Database feed status to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Mobility Database feed status and tell me what changed since last week.
Check Mobility Database feed status and summarize what you find in three bullet points.
Pull the newest data from Mobility Database feed status and give me the result as a table.
How to set up Mobility Database feed status in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Mobility Database feed status
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/source_status", "input": { "feed_id": "<feed_id>" } }'
Then paste one of the prompts above: Codex finds Mobility Database feed status on Spiral, shows the price and runs it.
Mobility Database feed status providers and prices
Spiral runs Mobility Database feed status through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
What can you do with Mobility Database feed status in Codex?
Build a transit map or schedule importer around an agency's published GTFS data. Use Mobility Database to find the feed, inspect its publications, and investigate the records behind import problems.
Refresh a trip planner's schedule data
Find the agency's feed, check the latest mirrored publication, review its version history, and collect the schedule records needed for the next import.
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.
Maintain an agency feed directory
Find catalog entries for the agencies you cover, check their latest mirrored datasets, and review publication histories when updating the directory.
More on Mobility Database feed status and Codex
Overview
Mobility Database feed status in other agents
Questions about Mobility Database feed status in Codex
Can Codex use Mobility Database feed status?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Mobility Database feed status like any built-in tool.
How much does Mobility Database feed status cost in Codex?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need an Alexandria account to use Mobility Database feed status in Codex?
No. Spiral runs Mobility Database feed status 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 feed status in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Mobility Database feed status runs?
Mobility Database feed status runs in the background. Codex 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.
Start using Mobility Database feed status in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


