How to Use Mobility Database transit feed search in Claude Code
Finds transit feeds by agency or location and returns matching catalog entries. Use it to identify the feed for an area before inspecting its schedule records or publication history.
Prompts to try with Mobility Database transit feed search in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Mobility Database transit feed search to find TriMet feeds for Portland, Oregon. Add the returned catalog identifiers and agency names to this project's transit-source configuration.
Use Mobility Database transit feed search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Mobility Database transit feed search and tell me what changed since last week.
Check Mobility Database transit feed search and summarize what you find in three bullet points.
Pull the newest data from Mobility Database transit feed search and give me the result as a table.
How to set up Mobility Database transit feed search in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code 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 transit feed search
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/feeds_search", "input": { "q": "<q>" } }'
Then paste one of the prompts above: Claude Code finds Mobility Database transit feed search on Spiral, shows the price and runs it.
Mobility Database transit feed search providers and prices
Spiral runs Mobility Database transit feed search through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 100 | Page size; default 20. | |
| Offset | a number from 0 | Items to skip; default 0. | |
| Is official | on or off | Only feeds the catalog marks as official (published by the agency itself). | |
| Bounding filter method | completely_enclosed, partially_enclosed, or disjoint | How a feed's bounding box must relate to |
Every API field of MobilityData Mobility Database (mobilitydatabase.org) · Feeds search is on its tool page: open its card above.
What can you do with Mobility Database transit feed search in Claude Code?
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.
Build a regional transit inventory
Find feeds serving a region and collect their published stops and routes for a planning inventory.
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 transit feed search and Claude Code
Overview
Mobility Database transit feed search in other agents
Questions about Mobility Database transit feed search in Claude Code
Can Claude Code use Mobility Database transit feed search?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Mobility Database transit feed search like any built-in tool.
How much does Mobility Database transit feed search cost in Claude Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use Mobility Database transit feed search in Claude Code?
No. Spiral runs Mobility Database transit feed search 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 feed search in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Mobility Database transit feed search runs?
Mobility Database transit feed search runs in the background. Claude Code 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 transit feed search in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


