Ryde MCP Server
This server provides read-only access to a Ryde account plus local summary and dashboard-job tools.
Read account profile and current ride status without changing anything.
List completed rides by inclusive date range; fetch ride details and linked order/charge details.
Fetch stored GPS routes only when
include_sensitive_location=trueis explicitly set.Browse city RidePass products, owned passes, recharge/pass history, Vipps payment history, monthly amounts, and city fare rules.
Compute local ride totals, distances, durations, discounts, averages, monthly trends, and RidePass cost recommendations using stated assumptions.
Start resumable background stats exports, optionally including sensitive GPS, and poll job status.
Open a local stats dashboard from cached or refreshed data, with optional browser opening and TTL, and stop it via its exact URL.
Does not start/end rides, alter account data, make payments, or change passes; stats/dashboard tools manage only local jobs and servers.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ryde MCP Server show me my last 10 completed rides with their GPS routes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Ryde CLI is currently broken. The Ryde server now requires app attestation,
which blocks CLI login (APP_ATTEST_REQUIRED). I have not yet figured out
how to bypass it. See API compatibility for the findings so far.

Ryde CLI
An unofficial CLI, local map dashboard, and MCP server for your Ryde account. Export ride history, map recorded routes, inspect passes and payments, and compare RidePass costs.
Login uses SMS. Account commands are read only.
Quick start · Dashboard · Commands · MCP · Agent setup · Development
Quick start
Requires uv on macOS or Linux. Python 3.11+ is required; uv can install a compatible interpreter. Windows is not currently supported because local secrets use Unix file permissions.
Run directly from PyPI, without cloning:
uvx --from ryde-cli ryde --help
uvx --from ryde-cli ryde login
uvx --from ryde-cli ryde statsOr clone it for local use and development:
git clone https://github.com/HelgeSverre/ryde-cli.git
cd ryde-cli
uv sync --locked
uv run ryde --help
uv run ryde login
uv run ryde statsThe examples below use uv run from a checkout. To run them anywhere, replace
uv run with uvx --from ryde-cli.
For a persistent installation, see distribution.
Related MCP server: h1-hacker-mcp
Login
Ryde currently requires Android reCAPTCHA and device verification for SMS login. The CLI detects the reCAPTCHA requirement and stops before requesting an SMS. A browser CAPTCHA cannot use the Android app's key; support for this login flow is still in progress. See API compatibility.
# Prompts for your phone number, asks before sending an SMS, then asks for the code.
uv run ryde login
# Supply your number and optional location explicitly.
uv run ryde login --phone '<your E.164 phone number>' --latitude 60.39 --longitude 5.32
# Non-interactive login: request one SMS, then complete that request separately.
uv run ryde login --phone '<your E.164 phone number>' --send-sms
uv run ryde login --phone '<your E.164 phone number>' --sms-code '<code>'Local numbers default to country code +47; set --country-code for another
country. For an international number, supply the matching country code too.
A second SMS request is refused for 60 seconds unless --force is supplied.
Image challenges are also unsupported. Logging into the official app does not
sign the CLI in.
The token, stable device ID, and client profile are saved to
~/.config/ryde-cli/config.json with owner-only permissions (0600). Login
does not print the token. Use RYDE_CONFIG or --config FILE to select a
different config file. Never commit that file.
Map your rides
After authentication, one command fetches completed rides and opens the bundled dashboard:
uv run ryde stats
# Include precise stored GPS route traces; default uses ride start/end points.
uv run ryde stats --include-location
# Agent / headless use: fetch, start the local server, and return its URL.
uv run ryde stats --include-location --no-open
# Reopen cached data without API calls, or fetch without starting a server.
uv run ryde stats --no-fetch
uv run ryde stats --include-location --fetch-only
# Stop a running dashboard; it also expires after one hour by default.
uv run ryde stats --stop '<dashboard-url>'No Node installation or separate webapp is needed. The dashboard links an interactive map with filters, charts, raw ride details, and pass-independent ride metrics. It centres on your rides rather than a fixed city. Failed or missing traces fall back to start/end arcs; completed route requests are cached so an interrupted export can resume.
Data is saved outside the repo in a private, login-scoped directory under
~/.local/share/ryde-cli/stats/ (or XDG_DATA_HOME). Standard ride records include
endpoint coordinates; --include-location also fetches the full recorded route.
The server uses a random 127.0.0.1 URL and serves only its dataset and bundled
UI. Treat the URL as private. OpenFreeMap supplies public map tiles; no Ryde
token or ride records are sent to it, but tile requests reveal the viewed area.
Remote agents cannot expose their loopback URL on a user's laptop automatically.
See dashboard storage and automation.
Dashboard preview

180 generated demo rides, including 135 route traces.
All commands
Every row below is prefixed with uv run ryde. The
full command reference includes every flag and help screen.
Command | Purpose / command-specific arguments |
| Show help; also available for every command and group |
| Show package version |
| SMS login; |
| Your account/profile record |
| Current ride status |
| Look up city names and IDs; optional case-insensitive name filter |
| Completed rides; |
| A completed ride |
| A ride's linked charge/order |
| Recorded GPS route; requires location acknowledgement |
| Current RidePass products and prices |
| Currently owned/active passes |
| Pass/recharge history; |
| Vipps order history; |
| One recharge/pass receipt |
| Monthly account amount data |
| Monthly recharge data |
| City fare rules |
| Totals and monthly trends; |
| Current-price pass comparison; |
| Fetch and open the map; |
| Install the workflow skill; |
| Save a resource; |
export supports ten resources: cities, rides, profile, catalogue,
owned-passes, recharges, vipps, fee-rule, summary, and recommendation.
City-specific exports require --city-id. Look it up with uv run ryde cities.
Page numbering starts at 0. Date ranges are inclusive and default to
2018-01-01 through today. Ride fetching starts with the requested start year's
archive and includes the current partition when applicable. Future-year
partitions are skipped. Available history depends on what Ryde retains.
Global options are --config FILE, --base-url URL, and --mobile-type TEXT.
All commands support --format json|csv|tsv|table; all data commands also
support --output FILE. Common options can appear before or after nested
subcommands when supplied as separate arguments (--format csv).
Output and exports
JSON is the default. CSV/TSV flatten nested objects into dot-separated fields and encode nested arrays as JSON. Table output is a compact preview limited to eight columns and 48 characters per cell; use JSON for complete records.
uv run ryde account profile --format table
uv run ryde cities --format table
uv run ryde cities Bergen
uv run ryde rides list --start 2026-01-01 --end 2026-12-31 --format csv --output ryde-rides.csv
uv run ryde rides detail '<use-id>'
uv run ryde rides order '<order-id>'
uv run ryde rides route '<use-id>' --include-location --output ryde-route.json
uv run ryde passes catalogue --city-id '<city-id>' --format table
uv run ryde passes history --all --output ryde-passes.json
uv run ryde payments vipps --all --format tsv --output ryde-vipps.tsv
uv run ryde payments recharge-detail '<recharge-id>'
uv run ryde payments month-amount 2026-08
uv run ryde payments recharge-month 2026-08
uv run ryde fees --city-id '<city-id>'
uv run ryde export rides --format csv --output ryde-rides.csv
uv run ryde export recommendation --city-id '<city-id>' --output ryde-analysis.json--output writes atomically with permissions 0600. export saves to
ryde-RESOURCE.FORMAT if no path is supplied. Redirecting stdout uses your
shell's file permissions instead. Exports can contain addresses, payment
references, and account information; route exports include precise GPS history.
Summaries and RidePass analysis
uv run ryde summary --start 2026-08-01
uv run ryde optimize --city-id '<city-id>' --start 2026-08-01summary reports paid and nominal amounts, distance, duration, averages,
currency grouping, and monthly trends. API amounts are converted from minor
units. Duration comes from a duration field or the ride's timestamps.
optimize compares your history with current city fares and pass prices.
It returns single-product comparisons and a non-overlapping mixed purchase
timeline. Included started minutes are consumed across rides inside each
pass's validity window; a ride crossing the allowance pays metered overflow.
Later rides in an exhausted pass window pay full PAYG.
The model assumes every ride is pass eligible. It does not reconstruct historic prices or unknown parking/geographic exclusions, and cannot guarantee future savings. Each result includes the assumptions used.
MCP server
The package also includes a stdio MCP server. Log in first using the same config path as your MCP client. Launch it through uv:
uvx --from ryde-cli ryde-mcp
# Or, from a local checkout:
uv run ryde-mcpRegister it with your agent (choose one):
# Claude Code
claude mcp add --transport stdio --scope user ryde -- uvx --from ryde-cli ryde-mcp
# Codex
codex mcp add ryde -- uvx --from ryde-cli ryde-mcp
# Gemini CLI
gemini mcp add --scope user ryde uvx -- --from ryde-cli ryde-mcp
# GitHub Copilot CLI
copilot mcp add ryde -- uvx --from ryde-cli ryde-mcp
# Amp
amp mcp add ryde -- uvx --from ryde-cli ryde-mcpSee agent setup for verification, removal, and Cursor, VS Code, Zed, and OpenCode configuration.
For clients that accept an mcpServers JSON configuration:
{
"mcpServers": {
"ryde": {
"command": "uvx",
"args": ["--from", "ryde-cli", "ryde-mcp"]
}
}
}Use an absolute path to uvx if a desktop app cannot find it on PATH. For
reproducible deployments, pin the package version (ryde-cli==0.1.1).
The server uses stdout for MCP messages and stderr for diagnostics.
The default CLI login is shared automatically. Set RYDE_CONFIG in the server's
environment only if you used a custom config path.
Tools | Purpose |
| Account and current status |
| Find city names and IDs before requesting passes, fares, or recommendations |
| Completed rides and charges |
| GPS route; requires |
| Current products and owned passes |
| Purchase/payment history |
| Monthly data and city fares |
| Local summaries and cost comparisons |
| Start background export / fetch-and-open jobs |
| Poll a job / stop a dashboard |
There are 21 tools. open_stats and prepare_stats return a job_id immediately;
poll stats_job_status for completion. open_stats(refresh=false) opens an existing
dataset immediately. This lets large exports complete without one long tool call.
Resources: ryde://account/summary and ryde://city/{city_id}/passes.
For MCP registration commands and the bundled workflow skill, see agent setup. From a checkout, explicit skill installation is:
uv run ryde skill --agent codex --scope user
uv run ryde skill --agent claude --scope userSkill setup and MCP registration are separate steps.
Configuration
config.example.json documents non-secret config fields. Login creates the real config; copying the example does not authenticate you.
Setting | CLI / environment | Notes |
Config path |
| Default: |
Token |
| Overrides saved token |
API URL |
| Overrides saved/default URL |
Android descriptor |
| Overrides saved/default descriptor |
Device ID | Login | Generated if absent |
Phone info | Login | Android phone string |
Country code | Login | Default: |
Login location |
| Defaults to |
Use only an account you own or are authorized to access. Keep configs and exports out of version control. Data may contain private identifiers beyond GPS, so review output before sharing it with another person or an AI agent. See API compatibility for request signing and endpoint mapping.
Shell completion
For Bash in a local checkout, install the project environment and register completion:
uv sync --locked
eval "$(uv run register-python-argcomplete ryde)"For Zsh, enable Bash-compatible completion first:
autoload -U bashcompinit
bashcompinit
eval "$(uv run register-python-argcomplete ryde)"Troubleshooting
Authentication missing / 401: run
uv run ryde loginagain. Check whetherRYDE_TOKENis overriding a newer saved token.403 / version or network error: the private API or compatible request profile may have changed. Check for updates; retry with the default profile.
Image challenge: complete login in the official app; this tool cannot bypass the challenge.
Duplicate SMS refused: wait one minute. Use
--forceonly when you know the previous request did not reach Ryde.Missing history: try
--allfor payment/pass history. For rides, set--startto include the years you want; the default starts in 2018.Insecure config permissions: on macOS/Linux, run
chmod 600 /path/to/config.json.MCP authentication fails: check that login and the server use the same
RYDE_CONFIG, then restart the MCP client.
Development and distribution
See CONTRIBUTING.md for uv setup, tests, linting, and packaging. CI tests Python 3.11–3.14 on Linux and Python 3.14 on macOS, checks generated docs, builds and smoke-tests distributions, and runs dependency audits and CodeQL.
See distribution and releases for installation options and the PyPI release workflow. Licensed under MIT.
Available Tools
20 toolsaccount_month_amountCRead-onlyIdempotent
Return account amount data for YYYY-MM. Read-only.
Inputs: month (required). Returns: object
account_profileARead-onlyIdempotent
Return the signed-in owner's profile/account record. Read-only.
Inputs: no named parameters. Returns: object
city_fee_ruleCRead-onlyIdempotent
Return fee/fare rules for a city. Read-only.
Inputs: city_id (required). Returns: object
close_statsA
Stop a local dashboard using its exact returned URL; never sends account credentials.
Inputs: url (required). Returns: object
current_rideARead-onlyIdempotent
Return current ride status only; this never starts, ends, or alters a ride.
Inputs: no named parameters. Returns: object
list_ridesARead-onlyIdempotent
List completed rides. Dates are inclusive YYYY-MM-DD; omit for all available history.
Inputs: end, start. Returns: result
open_statsA
Start a background fetch-and-open job; poll stats_job_status for its URL. refresh=false opens cached data immediately. Browser opens on the MCP host only.
Inputs: end, ttl, start, refresh, +2 more. Returns: object
owned_passesARead-onlyIdempotent
Return active/current passes owned by the signed-in account.
Inputs: no named parameters. Returns: object
pass_catalogueBRead-onlyIdempotent
Return current RidePass products, prices, allowances and validity for a city.
Inputs: city_id (required). Returns: object
prepare_statsA
Start a resumable background export; poll stats_job_status with the returned job_id. Route GPS requires explicit consent.
Inputs: end, start, include_sensitive_location. Returns: object
recharge_detailBRead-onlyIdempotent
Return one recharge/pass receipt by its recharge ID. Read-only.
Inputs: recharge_id (required). Returns: object
recharge_historyBRead-onlyIdempotent
Return pass/recharge purchase history. all_pages may make multiple read-only requests.
Inputs: page, all_pages.
recharge_monthCRead-onlyIdempotent
Return recharge data for YYYY-MM. Read-only.
Inputs: month (required). Returns: object
recommend_ridepassCRead-onlyIdempotent
Compare current city RidePasses against observed rides with stated conservative assumptions.
Inputs: city_id (required), end, start. Returns: object
ride_detailARead-onlyIdempotent
Fetch detail for one completed ride ID. Read-only.
Inputs: use_id (required). Returns: object
ride_orderBRead-onlyIdempotent
Fetch linked order/charge detail for a completed ride. Read-only.
Inputs: order_id (required). Returns: object
ride_routeCRead-onlyIdempotent
Fetch stored route GPS only after explicit sensitive-location acknowledgement.
Inputs: use_id (required), include_sensitive_location. Returns: object
ride_summaryCRead-onlyIdempotent
Compute local ride totals, distance, duration, discounts, monthly trend and averages.
Inputs: end, start. Returns: object
stats_job_statusARead-onlyIdempotent
Poll a background stats job. completed results contain counts and, for open_stats, a local dashboard URL.
Inputs: job_id (required). Returns: object
vipps_payment_historyCRead-onlyIdempotent
Return read-only Vipps payment-order history for the signed-in account.
Inputs: page, all_pages.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools have clearly distinct resource+action targets (list_rides vs ride_detail vs ride_order vs ride_route). The main overlap is among aggregate/period tools: ride_summary, account_month_amount, and recharge_month all return computed monetary/statistical data and could be confused, as could recharge_history vs recharge_month. Descriptions mitigate this reasonably well.
All names use snake_case, which is consistent, but the convention mixes verb-first (list_rides, prepare_stats, recommend_ridepass, open_stats) with noun-phrase forms (account_profile, current_ride, ride_summary, pass_catalogue). Readable, but no single predictable pattern.
20 tools is at the high end but justified by the breadth of the domain (account, rides, routes, passes, recharges, payments, stats jobs, city rules). Slightly heavy, with a small cluster of stats-job tools, but each earns its place.
Broad read coverage: list/detail/summary across rides, recharges, passes, payments, account, plus analytics and city rules. The surface is essentially read-only, so action operations (booking a ride, buying a pass, topping up) are absent, but this appears to be an intentional analytics/read scope.
Maintenance
Related MCP Connectors
Read-only access to your DayRoute routes, orders, drivers and reports, with your own sign-in.
- Afi PlannerDeprecatedio.afi
Read-only access to your Afi Planner routes, orders, drivers and reports, with your own sign-in.
Read-only access to your Drivara fleet — jobs, drivers, vehicles, fuel, profit & analytics.
Read-only access to a Zoopit account: orders, routes, fleet and live vehicle positions.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides safe, read-only CRM access for AI assistants with per-key scopes, field masking, rate limits, and a full audit log of allowed and blocked actions.MIT
- AlicenseAqualityCmaintenanceA read-only MCP server that lets an agent browse the HackerOne Hacker API using an authenticated hacker account, exposing programs, policies, scope, reports, and payments. It cannot create, update, or submit reports.15MIT

mailfact-mcpofficial
AlicenseAqualityCmaintenanceProvides read-only access to a Mailfact tenant, letting users list domains, sending sources, and aggregate reports, and query DMARC alignment, reporter coverage, and record-level data through MCP tools. It returns counts and rows only, without recommending policies or scoring domains.9MIT- AlicenseNot gradedqualityBmaintenanceEnables authenticated, read-only access to stored account, options, and monitoring data for bounded research. It also permits pausing/resuming monitoring, with no brokerage write or proxy capabilities.MIT