Developers
Build on Rally
Two ways to integrate: a read-only REST API for scripts and apps, and an MCP server so AI agents can act as a signed-in user.
REST API
Read-only endpoints authenticated with a personal Bearer token. Results respect what the key owner can see (connections, group membership).
GET /api/public/v1/locationsGET /api/public/v1/eventsGET /api/public/v1/groups
MCP server
Connect Claude, ChatGPT, Cursor, or any MCP client. Users sign in with Rally over OAuth 2.1; tools run as that user with full RLS.
https://alltogethr.lovable.app/mcp
Tools: get_my_profile, list_sports, search_locations, browse_groups, list_upcoming_events, get_event_details.
Authentication
Generate a key on the API Keys page. Keys start with rally_ and are shown once.
curl -H "Authorization: Bearer rally_..." \ https://alltogethr.lovable.app/api/public/v1/locations?sport=tennis
Endpoint reference
GET
/api/public/v1/locations| sport | Sport slug or name (e.g. tennis) |
| city | City name (partial match) |
| facility_type | public | private | park | health_club | retailer |
| limit | 1–200, default 50 |
| offset | Pagination offset |
GET
/api/public/v1/events| sport | Sport slug or name |
| from | ISO date (default: now) |
| to | ISO date |
| limit | 1–200, default 50 |
| offset | Pagination offset |
GET
/api/public/v1/groups| sport | Sport slug or name |
| city | City name (partial match) |
| limit | 1–200, default 50 |
| offset | Pagination offset |
MCP client setup
Add Rally as a remote MCP server. Your client will open a Rally sign-in and consent screen.
{
"mcpServers": {
"rally": {
"url": "https://alltogethr.lovable.app/mcp"
}
}
}